Hello Bob,

how about serializing to string and passing it along that way ? 

tom

-----Original Message-----
From: Robert Evans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 5:05 AM
To: [EMAIL PROTECTED]
Subject: How do you pass XML documents using RPC between Java and .NET?


Hi,

I'm learning how to use Axis, and have gotten stumped on how to pass XML

documents/elements between Axis and .NET.  I wrote a *very* simple echo 
program (attached) that gets an Element as an argument and then returns 
it.  This works fine if I have a Java Client on this Axis webservice.

However, if I try to use it from .NET, .NET doesn't seem to recognize 
the  "public Element sayHello(Element element)" method that is in the 
webservice.

I'm sure that my problem is obvious and very basic, but I don't 
understand what it is.  I thought the Element class was a basic XML type

and that .NET should recognize it (the generated WSDL looks ok).  Any 
help or hints would be appreciated.

tia,

Bob Evans

This correspondence is for the named person's use only.  It may contain confidential 
or legally privileged information, or both. 
No confidentiality or privilege is waived or lost by any mistransmission.  If you 
receive this correspondence in error, please immediately delete it from your system 
and notify the sender.
You must not disclose, copy or rely on any part of this correspondence if you are not 
the intended recipient.
Any views expressed in this message are those of the individual sender, except where 
the sender expressly, and with authority, states them to be the views of Baycorp 
Advantage.

Reply via email to