Hi Rob,

>I want to send a Document.

If you want to send a docuemnt to the web service, it implies that you
want to axis to step back and let you do the XML parsing
(deserialization). Therefore you should use message style service. You can
read more about this in axis user guide.

Regards,
Dimuthu.
-- 
Lanka Software Foundation  http://www.opensource.lk

> I've put together a document-style service, but I'm having some trouble
> testing it.  The examples/docs I've seen only explain how to send an
> array of SOAPBodyElement objects as arguments to the service.  I want to
>  send a Document.  I've declared my service as accepting a Document as
> it's sole argument and as returning a Document.  How do I go about
> invoking this service with a Call object and sending it a Document?
>
> I'm currently using the invoke(String methodName, Object[] parameters)
> method to call the service, which results in the Document (which is the
> only member of the array 'parameters') getting wrapped in an 'arg0'
> element, which causes my parsing routine on the server to fail.
>
> Any help would be appreciated.
>
> -rob



Reply via email to