Neil
chris wrote:
To be entirely clear, what is the method signature desired for the
service method?
A message style service will pass/return DOM Element objects:
Example: Element[] echoElements(Element [] elems)
Or, you could simply pass a String containing XML which will work as
well....
Example: String echoXMLString(String stXML)
Or pass a URL to an external XML resource as the parameter where the
service method opens the file using java.io.File.
Example: String echoXMLFile(String stURL)
The choice depends upon application specific requirements....
/Chris
-----Original Message-----
From: Hainer Neil [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 05, 2003 4:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Helping send XML files
Chris,
I just want to clarify. I was as clear as maybe I should of been.
My goal is to pass an XML file as a parameter to one of the public
methods of my service without AXIS interferring with it or getting upset
over it.
I will check out the message example.
Thanks,
Neil
chris wrote:
A message service would be the correct approach. See samples/message
which is documented in the users guide:
http://ws.apache.org/axis/java/user-guide.html
If you look under the hood, you will also see that the AdminService is
a
message style service that accepts and returns XML.
/Chris
http://cvs.apache.org/~haddadc
-----Original Message-----
From: Hainer Neil [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 05, 2003 4:30 PM
To: [EMAIL PROTECTED]
Subject: Helping send XML files
Hi,
I want to send XML files to my AXIS service and have it return XML
files
to the client. What is the correct way of going about this?
TIA,
Neil