[jboss-user] [JBoss Web Services] - Problem with WS Security encryption

Stefano Ficcadenti do-not-reply at jboss.com
Mon Jun 7 12:50:13 EDT 2010


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-Web-Services-in-JBoss-Application-Server-with-WS-Security.htm http://www.developer.com/java/other/article.php/10936_3802631_1/Securing-Web-Services-in-JBoss-Application-Server-with-WS-Security.htm

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&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100607/bef52c7b/attachment-0001.html 


More information about the jboss-user mailing list