1 Reply Latest reply on Oct 5, 2011 2:20 PM by Steve L Walker

    How do you get a byte array from a document?

    sth11235

      I have a document variable and I need to pass its contents as a byte array to a web service.  Currently my SOAP request looks like:

       

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">

         <soapenv:Header/>

         <soapenv:Body>

            <tem:GenerateDDXNoTicket>

               <!--Optional:-->

               <tem:resFileContent>/process_data/@inRES</tem:resFileContent>

               <!--Optional:-->

               <tem:sourceFileLocation>inPDF</tem:sourceFileLocation>

               <!--Optional:-->

               <tem:resultFileLocation>outPDF</tem:resultFileLocation>

            </tem:GenerateDDXNoTicket>

         </soapenv:Body>

      </soapenv:Envelope>