Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WSDL in HTML

Status
Not open for further replies.

veratsilva

Technical User
Mar 15, 2020
1
PT
Hello everyone,´

I am having the following error when i fill up a contact form and press send:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<soap:Envelope xmlns:soap="<SOAP-ENV:Header xmlns:SOAP-ENV="<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Error reading XMLStreamReader.</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>

I will attach some prints to see the error and the code itself, do any of you have an idea of what is going on?

Many Thanks,
Vera Silva
 
Vera Silva,

Welcome to Tek-Tips.

Most web services will respond with a SOAP fault when the XML being sent to the web service is formatted incorrectly (normally, not a well-formed XML document).

The next step for you is to investigate the XML document that is being sent to the web service. A very common error made by the client side is to use URL encoding (% escaping) rather than send a valid XML document as the payload of the HTTP PUT. The web service WSDL specifies an XML document.

Tom Morrison
Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top