AnsweredAssumed Answered

Wily Transaction Generator with a SOAP call

Question asked by nysubway on Jan 31, 2014
Latest reply on Dec 29, 2015 by Hiko_Davis

Hi All,

In the Wily Transaction Generator, I want to submit a SOAP request with a file attachment(text/plain) type, the file name test.txt and the collowing code frament is the way I am using now.

If anyone had or has experience with the similar request, can you please share that information ? Any help will be greatly appreciated.

<request>BatchSubmitTransaction
    <soap>action="BatchSubmitTransaction",type=text/xml</soap>
    <url>***.***.***</url>

    <post>   
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:cor="http://www.***.***/aaa.xsd">
   <soap:Header>
      <wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken>
            <wsse:Username>***</wsse:Username>
            <wsse:Password>***</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soap:Header>
   <soap:Body>
      <cor:COREEnvelopeBatchSubmission>
         <cor:PayloadType>***</cor:PayloadType>
         <cor:ProcessingMode>***</cor:ProcessingMode>
         <cor:PayloadID>***</cor:PayloadID>
         <cor:PayloadLength>***</cor:PayloadLength>
         <cor:TimeStamp>***</cor:TimeStamp>
         <cor:SenderID>***</cor:SenderID>
         <cor:ReceiverID>***</cor:ReceiverID>
         <cor:CORERuleVersion>***</cor:CORERuleVersion>
         <cor:CheckSum>***</cor:CheckSum>        
         <cor:Payload>cid:test.txt</cor:Payload>
      </cor:COREEnvelopeBatchSubmission>
   </soap:Body>
</soap:Envelope>   

    </post>
 

Outcomes