soapHTTP error - namespace prefix issue

I am invoking soapHTTP service and getting error as:
"org.xml.sax.SAXParseException: The namespace prefix “XMLNS” was not declared. Message being parsed: "

what should be set in nsDecls of documentToXMLString service prior to soapHTTP to resolve this. Please let me know.

Maybe you are using XMLNS in upper case while it should be in lower case “xmlns” ?

You need to compose a valid soapData object with createSoapData service and adding headers with pub.soap.utils:addHeaderEntry and add body with pub.soap.utils:addBodyEntry.

What XML did you compose?