You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by adam_j_bradley <ad...@yahoo.com> on 2008/04/15 19:23:55 UTC
Q: Issues when attempting to send ">". Wind up with ">"
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-tp16703396p16703396.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Q: Issues when attempting to send ">". Wind up with
">"
Posted by adam_j_bradley <ad...@yahoo.com>.
Interestingly, when I inspect the variable I see
http://www.papernapkin.org/pastebin/view/500/
But the result in the trace to the Console via the LoggingOutInterceptor is
still incorrect.
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-tp16703396p16718471.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Q: Issues when attempting to send ">". Wind up with
">"
Posted by adam_j_bradley <ad...@yahoo.com>.
Tatu,
Heading over that way, thanks for your help.
Sincerely,
Adam
Tatu Saloranta wrote:
>
> --- adam_j_bradley <ad...@yahoo.com> wrote:
>
>>
>> Bugger! I'll try again. What I want to send is
>> http://www.papernapkin.org/pastebin/view/494/
>>
>> But what winds up being send it
>> http://www.papernapkin.org/pastebin/view/496/
>>
>> The ampersand (spaces added to this example) in the
>> "& lt ; " gets further
>> delimated with "& amp ; lt ;"
>>
>> I'm using CXF which I understand uses saaj for SOAP
>> manipulation.
>
> Then you should ask this question on CXF mailing list,
> I think.
>
> Good luck!
>
> -+ Tatu +-
>
>
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
>
--
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-tp16703396p16736926.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Q: Issues when attempting to send ">". Wind up with ">"
Posted by Tatu Saloranta <co...@yahoo.com>.
--- adam_j_bradley <ad...@yahoo.com> wrote:
>
> Bugger! I'll try again. What I want to send is
> http://www.papernapkin.org/pastebin/view/494/
>
> But what winds up being send it
> http://www.papernapkin.org/pastebin/view/496/
>
> The ampersand (spaces added to this example) in the
> "& lt ; " gets further
> delimated with "& amp ; lt ;"
>
> I'm using CXF which I understand uses saaj for SOAP
> manipulation.
Then you should ask this question on CXF mailing list,
I think.
Good luck!
-+ Tatu +-
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Q: Issues when attempting to send ">". Wind up with
">"
Posted by adam_j_bradley <ad...@yahoo.com>.
Bugger! I'll try again. What I want to send is
http://www.papernapkin.org/pastebin/view/494/
But what winds up being send it
http://www.papernapkin.org/pastebin/view/496/
The ampersand (spaces added to this example) in the "& lt ; " gets further
delimated with "& amp ; lt ;"
I'm using CXF which I understand uses saaj for SOAP manipulation.
Any ideas?
Thanks in advance!
Adam
Tatu Saloranta wrote:
>
> There isn't enough detail here to offer much help. You
> need to explain what and how you are sending/receiving
> things, for the question to related to http aspects.
>
> But it does sound like your problem might not even lie
> within httpclient but within your xml-processing
> package (or soap service framework).
>
> -+ Tatu +-
>
>
--
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-tp16703396p16714311.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Q: Issues when attempting to send ">". Wind up with ">"
Posted by Tatu Saloranta <co...@yahoo.com>.
There isn't enough detail here to offer much help. You
need to explain what and how you are sending/receiving
things, for the question to related to http aspects.
But it does sound like your problem might not even lie
within httpclient but within your xml-processing
package (or soap service framework).
-+ Tatu +-
--- adam_j_bradley <ad...@yahoo.com> 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-tp16703396p16703396.html
> Sent from the HttpClient-User mailing list archive
> at Nabble.com.
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail:
> httpclient-users-help@hc.apache.org
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org