Author: reyescar11 | Posted on: 6/30/2010 12:49:39 PM | Views : 289

Hi all 
I have a problem i cannot solve. I searched everywhere the web but nothing.
 
How can i expose a user defined type(class) in the web service definition?. Im not refering as a parameter in a web method, what i want to do is expose the type itself so any client that consumes it have the type definition and can instanciate it.
Please, any example code!
This is what i want to achieve consuming the reference in the client
VB
dim oReference as new WSReference.UserType oReference.name = "Charles" oReference.adress = "Main St." CS
WSReference.type oReference = new WSReference.UserType(); oReference.name = "Charles" oReference.adress = "Main St."  
 Please help i need to solve this as fast as i can!!!


 
Best regards,
Carl ...

Go to the complete details ...