How to send an array of byte via SOAPUI
- 7 years ago
Finally,, with the help of someone in my IT who knows SOAPUI i changed my request and now it works succesfully :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wf="http://wf.soap.bdocinteractive.bdoc.com" xmlns:x-="http://xml.apache.org/xml-soap" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<wf:executeWorkflowAction>
<wf:username>franck</wf:username>
<wf:password>franck</wf:password>
<wf:buiId>384</wf:buiId>
<wf:actionId>9600</wf:actionId>
<wf:comment>Ajout automatique pièce jointe par SOAP</wf:comment>
<wf:params>
<!--Zero or more repetitions:-->
<x-:item>
<x-:key>fileContentType</x-:key>
<x-:value>application/pdf</x-:value>
</x-:item>
<x-:item>
<x-:key>fileFileName</x-:key>
<x-:value>Constat.pdf</x-:value>
</x-:item>
<x-:item>
<x-:key>content</x-:key>
<x-:value xsi:type="xsd:base64Binary">cid:1234567890</x-:value>
</x-:item>
</wf:params>
</wf:executeWorkflowAction>
</soapenv:Body>
</soapenv:Envelope>