Unify datatypes of different webservices

A

Achim Domma

Hi,

I have two distinct web services, which use common data structures as
parameters and return types. If I add references to both web services, I
get distinct data types for these structures. Is it possible to specify
some kind of mapping, which says: Map structure SA from web service WA
to my local structure C and do the same for structure SB from web
service WB, so that I could use them interchangeable in my local client.

regards,
Achim
 
J

John Saunders

The .NET 2.0 WSDL.EXE tool can do this. It has a /sharetypes switch that
does what you want.

I don't see a way to do this through "Add Web Reference", though.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top