I am developing a Microsoft SOAP 2.0 client to a WebLogic 6.1 SOAP server. I have a basic client working with non-complex types. Unfortunatly, the WebLogic server returns complex data types for several of the functions. I can't find any good examples on how to implement an ISoapTypeMapper on the Internet (other than to say that is what I need to do). Is this the correct approach? And, can you suggest any sample code that would show me what I need to do? My SOAP client is being developed with MS Visual C++ 6. I unfortunatly don't have the option to change to .NET.

    Requires Free Membership to View

From the Microsoft site: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/soap/htm/soap_adv_1icz.asp

MS SOAP gives you two ways to deal with complex types:

  1. Use the high-level API with a custom type mapper that implements the ISoapTypeMapper interface. You need to manually modify your WSDL and WSML files to specify the type information and the mapper. See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/soap/htm/soap_adv_7xpv.asp
  2. Use the low-level API and retrieve the the type using IXMLDOMNodeList. See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/soap/htm/soap_adv_77zm.asp
Here is some VB code (ISoapTypeMapper): Here's some C++ code:

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.