Leave feedback
  • Question

    Setting State back to Waiting

Enter a new topic
  • Mijno van der Ploeg Mijno van der Ploeg
    0 likes 382 views

    How can you 'reset' the state of documents in de DB+ repository. I created the following ws request:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.streamserve.com/webservice/interfaces/document/1.0" xmlns:ns1="http://schemas.streamserve.com/public/1.0">
       <soapenv:Header/>
       <soapenv:Body>
          <ns:SetDocumentsAttributesExRequestType>
             <update>
                <attributes>
                   <!--Zero or more repetitions:-->
                  <ns1:attribute>
                    <ns1:id>
                         <!--You have a CHOICE of the next 2 items at this level-->
                         <ns1:enumValue>State</ns1:enumValue>
                      </ns1:id>
                      <!--Optional:-->
                      <ns1:name>State</ns1:name>
                      <ns1:values>
                         <!--1 or more repetitions:-->
                         <ns1:value>Waiting</ns1:value>
                      </ns1:values>
                   </ns1:attribute>                
                   <ns1:attribute>
                      <ns1:id>
                         <!--You have a CHOICE of the next 2 items at this level-->
                         <ns1:value>a8ef4534-87d6-4a69-9184-9b3967bda671</ns1:value>
                      </ns1:id>
                      <!--Optional:-->
                      <ns1:name>md_DBPState</ns1:name>
                      <ns1:values>
                         <!--1 or more repetitions:-->
                         <ns1:value>STORED</ns1:value>
                      </ns1:values>
                   </ns1:attribute>         
        
                </attributes>
             </update>
             <filter>
                <conditions>
                   <!--Zero or more repetitions:-->
                   
                </conditions>
             </filter>
          </ns:SetDocumentsAttributesExRequestType>
       </soapenv:Body>
    </soapenv:Envelope>

     

    The only attributes changed is the md_DBPState. However the State seems to be ignored, it's stil: Releasing.

     

    Kind regard,

    Mijno

    Tuesday 24 November, 2015

 

Latest from the blogs