Something happened to your email, there are no &gt expressions in the XML.

Any > inside of an XML element has to be escaped. If you are trying to add
your own XML elements inside of this, then you need a different mechanism.



On Tue, Apr 15, 2008 at 1:23 PM, adam_j_bradley <[EMAIL PROTECTED]>
wrote:

>
> I'm currently setting this string (which forms part of the
> WSSecurityHeader),
> however, when I try and use ">" I wind up with "&gt;".
>
> ---snip---
> <ppSoapHeader25><s:ppSoapHeader
> xmlns:s="http://url/SoapServices/SoapHeader";
> version="1.0"><s:lcid>1033</s:lcid>s:sitetoken>t:siteheader
> xmlns:t="http://url/SiteToken"; id="253988"
> />/s:sitetoken>/s:ppSoapHeader></ppSoapHeader25>
> ---snip---
>
> What I want the web service to see is
>
> ---snip---
> <ppSoapHeader25><s:ppSoapHeader xmlns:s="http://url/SoapHeader";
> version="1.0"><s:lcid>1033</s:lcid><s:sitetoken><t:siteheader
> xmlns:t="http://url/SiteToken"; id="253988"
> /></s:sitetoken></s:ppSoapHeader></ppSoapHeader25>
> ---snip---
>
> Any ideas?
> Thanks in advance!
> Adam
>
>
> --
> View this message in context:
> http://www.nabble.com/Q%3A-Issues-when-attempting-to-send-%22-gt%22.-Wind-up-with-%22-amp-gt-%22-tp16703395p16703395.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to