SOAP error: Unable to verify element text (Root cause: org.xml.sax.SAXParseException

Hi,

I am testing the SOAP service created by our company’s development team (We are a large enterprise and they have been using those services for downstream systems so it would be a difficult task to ask them to change things). In any case, I was trying to create a test for that simple SOAP and got this error:

Unable to verify element text (Root cause: org.xml.sax.SAXParseException: The prefix “S” for element “S:Fault” is not bound")

The snippet of the SOAP request is as per below:

<soapenv:Header/>
<soapenv:Body>
<get:R2GetArrangement>
<WebRequestCommon>
<company>?</company>
<password>?</password>
<userName>?</userName>

Hi,
You need to define the namespace “s:” on a schema.
Example :
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/xmlns:s=“http://mycompany.com/hr/schemas>

Source : https://stackoverflow.com/questions/17585702/couldnt-create-soap-message-due-to-exception-xml-reader-error-com-ctc-wstx-ex

Gabriel said:

Hi,
You need to define the namespace “s:” on a schema.
Example :
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/xmlns:s=“http://mycompany.com/hr/schemas>

Source : https://stackoverflow.com/questions/17585702/couldnt-create-soap-message-due-to-exception-xml-reader-error-com-ctc-wstx-ex

Does this mean that I need to ask developers to update the codes to include these schemas?

what’s the correct way? do i need to get developer to update code?