I plan to create following form request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hp.com/SM/7" xmlns:com="http://schemas.hp.com/SM/7/Common" xmlns:xm="http://www.w3.org/2005/05/xmlmime">
<soapenv:Header/>
<soapenv:Body>
<ns:CreateAvayaIntegrationsRequest attachmentInfo="true" attachmentData="true" ignoreEmptyElements="true" updateconstraint="-1">
<ns:model>
<ns:keys>
<ns:CallID></ns:CallID>
</ns:keys>
<ns:instance>
<ns:attachments>
<!--Zero or more repetitions:-->
<com:attachment xm:contentType="audio/x-wav" href="cid:447513495591" contentId="447513495591" action="add" name="file_4545_1578923352655615737.wav" type="" len="471570" attachmentType="file">cid:447513495591</com:attachment>
</ns:attachments>
</ns:instance>
<!--Optional:-->
<ns:messages>
<!--Zero or more repetitions:-->
<com:message type="String" mandatory="?" readonly="?" severity="?" module="?">?</com:message>
</ns:messages>
</ns:model>
</ns:CreateAvayaIntegrationsRequest>
</soapenv:Body>
</soapenv:Envelope>
Version with sending url - not working, because web service - HPSM :)
I found description of AXis2 - perhaps only this version is able to send binary data (
https://axis.apache.org/axis2/java/core/docs/mtom-guide.html). This is very bad - HPSM not working with Axis2, only with Axis1.
Maybe someone tried to send binary data over Axis1?