C# (VS 2003) Consuming webservice
i'm consuming a Webservice (created in java) in .Net 2003 (in C#)... whenever i invoke the webmethod, i'm getting below error message
"Additional information: Client found response content type of 'text/html;
charset=ISO-8859-1', but expected 'text/xml'."
but when the same webservice is called from SOAPUI (an open source
application from www.soapui.org) or XMLSpy - it just works fine...
so i'm confused about this, any suggestions??
Cheers
Venu
Re: C# (VS 2003) Consuming webservice
Your WebService is retruning the WRONG content type in the header. The other programs are simply more "forgiving" than .Net. If you want to avoid problems fix the header so it is properly reporting that the response is xml and not reporting that the response is html.