From: Arne Vajhøj on
On 12-06-2010 19:47, BC K2M wrote:
> hi guys ! i have a problem, and it is making my life really
> disgusting. i'm developing an interoperability project! the Client is
> a .NET WebApp in C# and the Web Service is made with JAVA, and i need
> to pass objects from the client to the WS ! i used the
> Serialization/Deserialization to XML method ! i first created a XSD
> file to respect! and i created for the both Languages a class of
> Objects that will be sent ! in the beginning i wrote the XML Document
> in a XML file ! it did work and i saw my object going from app to an
> other !. but now i need to send the XML Doc to the web service, i had
> the idea to convert it to a String and send it ! but it didn't work
> :S (i'm not sure that it is an Error of coding or it is just
> impossible), and now i'm stick! so my question is : is there a way to
> pass an XML Document from .net client to a JAVA Web Service, if u
> have ideas SOS !

If that Java web service is reasonable well behaving, then you just
use the command line tool (or Visual Studio add web reference) to
generate sub and data classes from the web service's WSDL.

Arne