Q

Implementing ISoapTypeMapper

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.

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:
This was last published in March 2003

Dig Deeper on Simple Object Access Protocol (SOAP)

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close