Hi folks, I am trying to post a message to a client via SOAP.
They need a namespace in the envelope as seen below and I cannot see how to get it there.
I am using createSoapData
Then addHeaderEntery
then addBodyEntry
then soapHTTP to send the data.
The client said the data is arriving correctly but is missing the xmlns that they need.
I can’t see in any of the SOAP flows how to add the xmlns.
below is a snippet of the data they expect to see.
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:us.client.com:partner:PurchaseOrderData”>
soapenv:Header
<wsse:Security xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>
…
<urn:PurchaseOrderMessage version="2.5">
378a83a2-9828-4e6d-8603-0145d6de714c
2014-05-07T09:27:53.422-04:00
client
export_test
.....