Greetings,

I have been trying to figure out how to pass an XML document to a web 
service instead of just making RPC calls.  I think I found a way, based 
on the example in the AXIS documentation, but I want to see if I am 
correct, or if there is an easier/better way.

It seems that once you have a Document, you can use XMLUtils to convert 
it to a String, convert the String to a StringBufferInputStream, and 
then use this InputStream to create a Message object, which in turn can 
be used by setRequestMessage(...).  Finally invoke can be called.

Now even though I think this works, it seems to be rather cumbersome. 
 Have I missed something?  I'm working from the AXIS release 
documentation and Building Web Services with Java (out of date based on 
the new Axis release).

I'd appreciate any pointers in the right location.....

Bob Evans
JHU/APL

Reply via email to