Error: Unbalanced Element Tag

I'm using the SOAP component to call a web service. When

I call the SendRequest method, it throws an exception:

"Unbalanced Element Tag."

Date Entered: 1/4/2005    Last Updated: 1/4/2005

This error occurs because the response from the server was invalid XML, which probably means you got back an HTML response containing an error from the server. You can see exactly what you got back from the server by looking at the SoapPacket property after the error occurs.

The real error (described in the HTML response) could be caused by invalid input parameters, invalid URL, or the like. Examine the server response for details.


We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.