User Profile
Collapse
-
Good question. Actually, we have provided the server side, and I have customers that are trying to build their own client side apps to interface with the server side. My client side app is just a simple proof of concept, read and print app. But to answer your question in general, the reason is that a client app would not necessarily know that the reply would be of type B. It is simply saying get this object, which I know is of type A. In fact,... -
Thanks for reply! Please let me know if I'm missing something obvious here.
Yes, that seems to be the situation. My server exposes its WSDL and schema, and I am using VC# to build a SOAP client to make a simple query to my server. When the VC# SOAP client gets an instance of B (which is also an instance of A by inheritance), it does not recognize that it got an instance of A and simply returns null. Unfortunately, I do not believe...Leave a comment:
-
Problem with SoapHttpClientProtocol Invoke()
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...
No activity results to display
Show More
Leave a comment: