Re: Q: Issues when attempting to send . Wind up with gt;

2008-04-16 Thread adam_j_bradley

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-tp16703395p16718470.html
Sent from the cxf-user mailing list archive at Nabble.com.



Q: Issues when attempting to send gt. Wind up with amp;gt;

2008-04-15 Thread adam_j_bradley

I'm currently setting this string (which forms part of the WSSecurityHeader),
however, when I try and use gt; I wind up with amp;gt;.

---snip---
ppSoapHeader25lt;s:ppSoapHeader
xmlns:s=http://url/SoapServices/SoapHeader;
version=1.0lt;s:lcid1033lt;/s:lcids:sitetokent:siteheader
xmlns:t=http://url/SiteToken; id=253988
//s:sitetoken/s:ppSoapHeader/ppSoapHeader25
---snip---

What I want the web service to see is 

---snip---
ppSoapHeader25lt;s:ppSoapHeader xmlns:s=http://url/SoapHeader;
version=1.0gt;lt;s:lcidgt;1033lt;/s:lcidgt;lt;s:sitetokengt;lt;t:siteheader
xmlns:t=http://url/SiteToken; id=253988
/gt;lt;/s:sitetokengt;lt;/s:ppSoapHeadergt;/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.



Re: Q: Issues when attempting to send . Wind up with gt;

2008-04-15 Thread adam_j_bradley

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 ;

Any ideas?
Thanks in advance!
Adam


Benson Margulies-4 wrote:
 
 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.
 
 

-- 
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-tp16703395p16714294.html
Sent from the cxf-user mailing list archive at Nabble.com.



Re: Q: WS-Security X.509 Certificate Token Profile

2008-04-14 Thread adam_j_bradley

Fred,

Thanks for the tip. Forgive me (I'm most likely wrong!) but that looked like
a Username token not an X.509 token request. I've been digging around in
http://xfire.codehaus.org/WS-Security but I can't see any wisdom there.

Anything else?
:)

Sincerely,
Ada



Fred Dushin-3 wrote:
 
 All I can recommend is that you have a look at the WS-Security system  
 test in CXF:
 
 http://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/
 
 It's based loosely off a WS-Security interoperability scenario with  
 WCF, and uses signature with the DirectReference method, which will  
 send the client's X.509 certificate directly in the SOAP header.
 

-- 
View this message in context: 
http://www.nabble.com/Q%3A-WS-Security-X.509-Certificate-Token-Profile-tp16656740p16671272.html
Sent from the cxf-user mailing list archive at Nabble.com.



Q: WS-Security X.509 Certificate Token Profile

2008-04-13 Thread adam_j_bradley

After finally working out the remote web service required the use of the
WS-Security X.509 Certificate Token Profile (duh!) I've been eagerly trying
to find a working example. 

I have found
http://www.nabble.com/client-SSL-question-td15564062.html#a15769013 - thanks
Khaled! - which describes which covers off the use of the USERNAME_TOKEN but
not the use of an X.509 Certificate. I did a bit of digging around in the
test cases for both CXF and WSS4J and I'm sure there's an example there, but
I couldn't find it.

Any help/advice greatly appreciated.

Thanks in advance.
Adam
-- 
View this message in context: 
http://www.nabble.com/Q%3A-WS-Security-X.509-Certificate-Token-Profile-tp16656740p16656740.html
Sent from the cxf-user mailing list archive at Nabble.com.