Default output of createSoapData

The default object created from pub.soap.utils.createSoapData is as follows:

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV=“” xmlns:SOAP-ENC=“” xmlns:xsd=“” xmlns:xsi=“”>

I need to have the soap object look more like the following. Is it possible to add additional namespace?

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:s1="" xmlns:http="" xmlns:soap="" xmlns:s="" xmlns:s0="" xmlns:s2="" xmlns:envb="" xmlns:soapenc="" xmlns:tm="" xmlns:mime="" xmlns:xsi="" xmlns:xsd="">
- <SOAP-ENV:Body>
- <s0:SubmitNumericDataBatchByTag xmlns:s0="">
<s0:batch />





Create an xml string containing the envelope you want to use, the pass it into the pub.soap.utils:stringToSoapData built-in service.

However, if you are not going to use those namespaces in soap header or body elements, they are unecessary and do not need to be declared on the envelope element (no matter what your favorite Microsoft developers may say :wink:)