Hi Paul,
Thx for your reply.
I m perfectly aware that web services communicate using XML/SOAP and
that a proxy class is generated when I add a web reference.
All what I wanted to do is pass some data in an object as argument to a
WebMethod. An alternative would be to pass a couple of douzen of data
type arguments instead of encapsulating the data in an object.
The problem was that the proxy class generated by the WSDL expected a
type different than the type supplied as argument.
example:
I have a service service1.asmx a webmethod Method1 (ByVal obj as
SharedCode.CustomObject).
The generated proxy would have a method that expects an object of type
Service1.CustomObject as argument (and not SharedCode.CustomObject)
So finally, the only thing that I could find (although it might not be
recommended) is to alter the proxy class so it expect the proper object.
Regards
*** Sent via Developersdex
http://www.developersdex.com ***