J
Jeff
Greetings
I am new to both web services and , for the most part, .NET.
I am trying to create a .NET (C#) web application that consumes a
php-NuSoap web service.
I create my .NET app and add a web reference by pointing it to the
nusoap web service. The program attempts to instantiate an instance of
the web service, which I think is an object of type :
System.Web.Services.Protocols.SoapHttpClientProtocol, using auto
generated code in the referecne.cs file.
When this happens I get the "data at the root level is invalid. Line
1, position 1" error. If someone can explain this, that would be
wonderful.
However, more importatnly (I think) is that first I need to know how
to access and view the XML document that is triggering this error.
I am catching the error and tried displaying the
Request.InputStream.ToString() but all it gives me is
"System.Web.HttpInputStream" as output.
1. How can I get access to the soap document that is being returned to
my application so that I can view it to try to find the problem AND
2. Does anyone have any suggestions on where to find good, clear
information about creatingusing web services/SOAP in C# ?
Thanks much
Jeff
I am new to both web services and , for the most part, .NET.
I am trying to create a .NET (C#) web application that consumes a
php-NuSoap web service.
I create my .NET app and add a web reference by pointing it to the
nusoap web service. The program attempts to instantiate an instance of
the web service, which I think is an object of type :
System.Web.Services.Protocols.SoapHttpClientProtocol, using auto
generated code in the referecne.cs file.
When this happens I get the "data at the root level is invalid. Line
1, position 1" error. If someone can explain this, that would be
wonderful.
However, more importatnly (I think) is that first I need to know how
to access and view the XML document that is triggering this error.
I am catching the error and tried displaying the
Request.InputStream.ToString() but all it gives me is
"System.Web.HttpInputStream" as output.
1. How can I get access to the soap document that is being returned to
my application so that I can view it to try to find the problem AND
2. Does anyone have any suggestions on where to find good, clear
information about creatingusing web services/SOAP in C# ?
Thanks much
Jeff