in reply to Re^2: Perl web service consumed by c# client returns null.
in thread Perl web service consumed by c# client returns null.
Hi Haj, when I added print "Content-type : text/xml\n\n" in perl webservice, after this there is no content-type error but I am getting below error
Thank youException: System.InvalidOperationException: Response is not well-form +ed XML. ---> System.Xml.XmlException: Data at the root level is inval +id. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlReader.MoveToContent() at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadRespons +e(SoapClientMessage message, WebResponse response, Stream responseStr +eam, Boolea n asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(Stri +ng methodName, Object[] parameters) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(Stri +ng methodName, Object[] parameters) at Search.MRWebServices__search(String usr, String pw, String extra +Info, String query) at main.Main()
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl web service consumed by c# client returns null.
by afoken (Chancellor) on Dec 13, 2019 at 10:17 UTC | |
|
Re^4: Perl web service consumed by c# client returns null.
by haj (Vicar) on Dec 13, 2019 at 10:36 UTC | |
by Anonymous Monk on Dec 13, 2019 at 11:03 UTC | |
by haj (Vicar) on Dec 13, 2019 at 12:26 UTC |