Hello. I am having a problem with the SoapHttpClientP rotocol recognizing a class hierarchy defined in my WSDL and schema. I am using VC#2008Express to import a WSDL from my SOAP server and build a basic client app. I have a base class A and a subclass B extending A. The WSDL defines an action that can be invoked that returns an instance of A. When queried, the server responds with an instance of the subclass B. However, the VC# client returns null, instead of the returned instance. I verified the server is returning the correct object with Wireshark, and with another soap package (soapUI reads it correctly). Can anyone suggest something that may be wrong here?
BTW, I saw an older post (12/2005) that seems to be related, where the solution seemed to be that the schema was defined without the elementFormDefa ult="qualified" attribute. Adding that fixed the problem for the poster. In my case, my schema does in fact have this attribute already.
Any help is greatly appreciated!
BTW, I saw an older post (12/2005) that seems to be related, where the solution seemed to be that the schema was defined without the elementFormDefa ult="qualified" attribute. Adding that fixed the problem for the poster. In my case, my schema does in fact have this attribute already.
Any help is greatly appreciated!
Comment