Stefano Ficcadenti [
http://community.jboss.org/people/Samb1985] created the discussion
"Problem with WS Security encryption"
To view the discussion, visit:
http://community.jboss.org/message/546525#546525
--------------------------------------------------------------
I'm starting to do some test with WS Security Encryption.
I follow this article:
http://www.developer.com/java/other/article.php/10936_3802631_1/Securing-...
http://www.developer.com/java/other/article.php/10936_3802631_1/Securing-...
When I run the client (with Eclipse as Java Application)throw this Exception:
Exception in thread "main"
http://javax.xml.ws/ javax.xml.ws.
soap.SOAPFaultEx ception: This service requires <wsse:Security>, which is missing.
at com.sun.xml. ws.fault. SOAP11Fault. getProtocolExcep tion(SOAP11Fault .java:188)
at com.sun.xml. ws.fault. SOAPFaultBuilder .createException (SOAPFaultBuilde
r.java:108)
at com.sun.xml. ws.client. sei.SyncMethodHa ndler.invoke( SyncMethodHandle
r.java:119)
at com.sun.xml. ws.client. sei.SyncMethodHa ndler.invoke( SyncMethodHandle
r.java:89)
at com.sun.xml. ws.client. sei.SEIStub. invoke(SEIStub. java:118)
at $Proxy22.sayHello( Unknown Source)
at
http://org.jbia.ws/ org.jbia.ws. clientsample. ClientSample. main(ClientSampl
e.java:14)
As the client don't know to use Security. Before run client I must set something on
Eclipse ?
In client META-INF I insert truststore, keystore, jboss-wsse-client and
standard-jaxws-client-config.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/546525#546525]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]