xmlns in soap envelope

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”>

soapenv:Body

 <urn:PurchaseOrderMessage version="2.5">
378a83a2-9828-4e6d-8603-0145d6de714c 2014-05-07T09:27:53.422-04:00 client export_test .....

How is your connector related doc types defined with out xmlns: in the structure?

Also you can create xmlns normally in the documentToXMLString as well in the nsDecls param for the xmlstring generation.

HTH,.
RMG

Yes… as RMG suggested please have a look at BIS guide and look for xml services.

good point about the original doc type not definning the xmlns, I’ll follow up with the partner.