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:
- 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
- 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
- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/soap/htm/soap_sam_adv_customtypemapper_9egj.asp (and IXMLDOMNodeList)
Dig deeper on Simple Object Access Protocol (SOAP)
Related Q&A from Anne Thomas Manes
Anne Thomas Manes explains the differences between open source clients and open source implementations.continue reading
Anne Thomas Manes discusses the best way to go about creating an enterprise data dictionary and why the systems works well.continue reading
Anne Thomas Manes explains the difference between 'hard' real time and 'live' real time systems.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.