views:

278

answers:

1

I have an old VB 6 Application. I now want to access a Web service/web method in it, I am using MSSOAPLib30 DLL for the interaction.

Everything is fine with the simple types like int string.

But I am unable to send Complex types like Class and Structs.

Anybody have any suggestions?

+1  A: 

You need to create a Type Mapper.

Microsoft SOAP Toolkit Type Mappers

If you have the opportunity, you can make things much easier by creating the code to call the web service in VB.NET and then using interop to invoke it from VB 6.0.

Calling Web Services from Visual Basic 6, the Easy Way

Rob Windsor