Hi
I am calling a web service using a proxy class generated using wsdl.exe
Does anyone know what the error I get means?
Is the namespace mentioned below part of the response I get from the web
service?
Exception:System.InvalidOperationException: Namespace prefix 'AWE' not
defined
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadFaultCode(XmlReader
reader)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadSoapException(XmlRe
ader reader)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
...
Thanks
Greg
R.Balaji - 15 Jul 2004 12:57 GMT
Hi,
Can you send the code snippet?
Couldn't guess anything from your error message. :-(
Regards,
R.Balaji
> Hi
> I am calling a web service using a proxy class generated using wsdl.exe
[quoted text clipped - 5 lines]
> defined
> at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadFaultCode(XmlReader
> reader)
> at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadSoapException(XmlRe
> ader reader)
> at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
> Message message, WebResponse response, Stream responseStream, Boolean
> asyncCall)
[quoted text clipped - 5 lines]
>
> Greg
Elena Kharitidi - 02 Sep 2004 07:50 GMT
Looks like the non .net web service returns a fault, but the response is
not a well-formed xml: the "AWE" alias is not defined in the
<soap:Envelope> scope.
Just to make sure that tat is the case we need to look at the SOAP trace of
the response received by the client.
Thanks,
Elena