[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

xinhua do-not-reply at jboss.com
Fri May 2 05:56:00 EDT 2008

i tried it in JBoss4.2.2GA+Jbossws-3.0.1-native-2.0.4.GA, Server works fine but still the client error: <wsse:Security>, which is missing.

I use all the jar under /deploy/jbossws.sar/ as my runtime lib for my client program. And i also have copied standard-jaxws-client-config.xml from /deploy/jbossws.sar/META-INF into my own META-INF, and putted a new created jboss-wsse-client.xml in META-INF.

i also putted 
 bp.getRequestContext().put(StubExt.PROPERTY_AUTH_TYPE, StubExt.PROPERTY_AUTH_TYPE_WSSE)
to prevent basic auth.

but everytime i run my client, exception "<wsse:Security>, which is missing" start to fly. I checked the request , found that there is no <S:head> at all....

Please help me....

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148297#4148297

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148297

More information about the jboss-user mailing list