users@jax-ws.java.net

Re: How do I send XML in SOAP message with jax-ws?

From: Robert Dale <robdale_at_gmail.com>
Date: Fri, 2 Mar 2007 13:26:10 -0500

To answer my own question...

I created a JAXB representation of the XML I wanted and simply changed
the local, generated interface String parameter to the class of my
JAXB root element.

On 3/2/07, Robert Dale <robdale_at_gmail.com> wrote:
> I have an XML string "<?xml ...> <foo/>" that I pass to the operation
> However, when I look at the actual SOAP message, it's encoded to
> "&lt;xml ...&gt; &lt;foo/&gt;"
>
> The server apparently doesn't do any decoding of the string and sends
> back a nil response.
>
> How do prevent this encoding or how do I properly send XML in jax-ws
> when the operation expects a string literal that's actually XML?
>
> Thanks,
>
> --
> Robert Dale
>


-- 
Robert Dale