I'm guessing that Axis is replacing any characters that might be confused with XML markup, hence "<" is being replaced with "&lt;" and so on. I'm not sure why this wouldn't get changed back again at the server side. Perhaps you can try defining the parameter as a CDATA section, in your XML schema.

Tony

Conrad <[EMAIL PROTECTED]> wrote on 04/12/2004 03:38:18:

> I am having problems with the following.
> I have used WSDL2Java to generate client code. I am not able to send a
> xml document without
> the following problem.
> I am sending <help></help> but the code sends
>
> &lt;help&gt;&lt;/help&gt;
>
> here is the code
>
> Object part = (Object) "<help></help";
> javax.xml.rpc.Service service = new Service();
> URL endpointURL  = new
> URL("http://192.168.7.100:8080/retsclientapp/services/RETSWS");
> RETSWSSoapBindingStub callme = new
> RETSWSSoapBindingStub(endpointURL,service);
> callme.handleMessage(part);
>
> Of couse the other end is not seeing the  " &lt;help&gt;&lt;/help&gt; "
> as a xml element
>
> The web service is a document style web service.
>
> How do I prepare the xml document so the generated axis code sends the
> document with <> tags not &lt or & gt;
>
> Conrad
>

Reply via email to