Q
Problem solve Get help with specific problems with your technologies, process and projects.

Follow up: How do I build a WSML file for a MS client in VB6 with a Java server?

I'm looking at your answer to my original question. If I don't need a WSML for the client, then why does it tell me it can't find the mappings for custom data types? (I'm trying to connect a VB6 client to an Axis Service).

I'll reiterate that I'm not an expert on MS SOAP Toolkit, so please take my answer with a grain of salt. Having just scoured around the Web for a bit, it appears that my first answer was incorrect. I gather from this posting that MS SOAP also uses a WSML file on the client side to invoke custom type mappers. (This makes interoperability pretty challenging, since only MS SOAP uses WSML.) As far as I can tell, you have two choices:

  1. You can hand-craft a WSML file
  2. You can create a COM object that exposes the same interface as the Axis service and generate a WSML file from it

I suspect #2 is the easier option. (Does MS SOAP provide a tool that allows you to compile the WSDL document to generate a COM interface?) In either case, you'll need to define a user-defined type (create a structure using the VB keywords "Type...EndType") that looks like the complex type that you're receiving from the Axis service. You also need to create a MS SOAP UDT Mapper to map the Axis complex type to your VB user defined type. You might take a glance at this article about dealing with complex types. And this posting.


Dig Deeper on Topics Archive

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close