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 first published in March 2003

Dig deeper on Simple Object Access Protocol (SOAP)

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close