|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Re: How to get started developing WSIT enabled web service clientThe four scenarios I've done are at the bottom of [1], point #5, for both CXF and Metro.
I haven't seen username tokens used with signatures--that might be a nonstandard use case outside what NetBeans provides by default. Two suggestions: 1.) Look at the client-side configuration files I have for UsernameToken and X.509 at the link above for Metro. You technically don't need NetBeans to create these--if you place the proper client-side config data (username passwords, signature stuff) in the *client* side config, that should be sufficient to get the client to send that security info--that fact that the web service provider does not have policy statements AFAIK will not matter. However, the policy statements that would otherwise be in the WSDL will need to be placed into the client-side config files. 2.) Apache CXF has not yet implemented WS-Security policy (it ignores those policy statements)--their security config is manually configured via Apache WSS4J, again shown at the links by [1]. If you want to avoid trying to create the correct policy statements in order to get a Metro client to send security info, you might want to try to configure CXF to send what you want, and, if you need help, ask either the CXF mailing list or WSS4J mailing list for assistance. 3.) I recommend working with Wireshark as you're trying to properly configure the SOAP requests--it is good for seeing how your SOAP requests are looking. HTH, Glen [1] http://www.jroller.com/gmazza/entry/creating_a_wsdl_first_web1#WFwhatsnext
|
|
|
Re: How to get started developing WSIT enabled web service clientI haven't done that before. The WS-SecurityPolicy spec may help you here:
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/ws-securitypolicy-1.2-spec-os.html What you're doing is a hybrid of the username token policy and the X.509 policy. I would try to strip down my X.509 example so that it is only doing signatures, not encryption, and then try to merge the resulting policy with the policy from the username token blog entry. Perhaps the spec above will give you clues here on this merging. I'm not sure why the SOAP service is requiring *both* your signature and a username/password token. Unless I'm missing something here, the former normally makes the latter redundant. Glen
|
| Free embeddable forum powered by Nabble | Forum Help |