Hi,
I have a server wsdl that is developed on BEA server. I am using .NET 2.0 to consume the webservice but my .NET client is infact a Notify webservice that has to be invoked (hope I am making sense) and then respond back to the server. I used wsdl.exe to create a server stub and after building .NET WS (client). my WSDL almost matches the server WSDL except for the "exception" , i.e. Notify Request and Response is created by the webservice but not the custom error response [WSException]. I am attaching snippet of the SOAP str
I have even tried to create this class in my code but to no success.
Thanks,
Sam
I have a server wsdl that is developed on BEA server. I am using .NET 2.0 to consume the webservice but my .NET client is infact a Notify webservice that has to be invoked (hope I am making sense) and then respond back to the server. I used wsdl.exe to create a server stub and after building .NET WS (client). my WSDL almost matches the server WSDL except for the "exception" , i.e. Notify Request and Response is created by the webservice but not the custom error response [WSException]. I am attaching snippet of the SOAP str
Code:
<message name="NotifyRequest"> <part name="NotifyRequest" element="tns:NotifyRequest"/> </message> <message name="NotifyResponse"> <part name="NotifyResponse" element="tns:NotifyResponse"/> </message> <message name="WSException"> <part name="WSException" element="ex:WSException"/> </message> .... <element name="WSException"> <complexType> <sequence> <element name="Message" type="string"/> <element name="ErrorCode" type="int"/> </sequence> </complexType> </element>
Thanks,
Sam