I recreated the service removing anotation:
@WebMethod(operationName="PullFromHat")
Then rebuilt the client classes using the new WSDL. I still get the same error.
If I just do signing and not encryption everything works great. I use the same file
contents for both the jboss-wsse-server.xml and jboss-wsse-client.xml which is:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <jboss-ws-security
xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
| <key-store-file>META-INF/wsse.keystore</key-store-file>
| <key-store-password>jbossws</key-store-password>
| <trust-store-file>META-INF/wsse.truststore</trust-store-file>
| <trust-store-password>jbossws</trust-store-password>
| <config>
| <sign type="x509v3" alias="wsse"/>
| <encrypt type="x509v3" alias="wsse" />
| <requires>
| <signature/>
| <encryption/>
| </requires>
| </config>
| </jboss-ws-security>
|
If I change them to:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <jboss-ws-security
xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
| <key-store-file>META-INF/wsse.keystore</key-store-file>
| <key-store-password>jbossws</key-store-password>
| <trust-store-file>META-INF/wsse.truststore</trust-store-file>
| <trust-store-password>jbossws</trust-store-password>
| <config>
| <sign type="x509v3" alias="wsse"/>
| <requires>
| <signature/>
| </requires>
| </config>
| </jboss-ws-security>
|
The above works. I also tried it without the signature and just encryption which gives me
the same error.
Thanks,
Richard k
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034211#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...