-
1. Re: Jboss and wsse
vlada.chroust Apr 10, 2006 9:04 AM (in response to vlada.chroust)During receiving incoming singed SOAP message I obtain following error:
---------------------------
DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand,string=Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security,actor=null,detail=null]
2006-04-10 14:56:00,371 ERROR [org.jboss.ws.jaxrpc.CallImpl] Call invocation failed
javax.xml.rpc.soap.SOAPFaultException: Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security -
2. Re: Jboss and wsse
rmartony Sep 28, 2006 10:15 AM (in response to vlada.chroust)I obtain a similar exception message.
I have deployed jbossws-samples-wssecurity-encrypt.war and jbossws-samples-wssecurity-encrypt-client.jar on JBoss 4.0.4-GA.
Whenever I try to invoke de client through JNDI I get the following exception:
java.rmi.RemoteException: Call invocation failed with code [MustUnderstand] because of: Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:715)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
at $Proxy2.echoUserType(Unknown Source)
Any ideas? I am missing something?
Thanks,
Rafael. -
3. Re: Jboss and wsse
heiko.braun Sep 28, 2006 4:07 PM (in response to vlada.chroust)Looks like the WSSE handler are missing, therefore the 'mustunderstand' error.
where i have to append <config-name>Standard Secure Client</config-name>,
Take a look at the user guide:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/endpoints.html#template-config -
4. Re: Jboss and wsse
rmartony Sep 29, 2006 7:47 AM (in response to vlada.chroust)The jboss-client.xml in jbossws-samples-wssecurity-encrypt-client.jar contains:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE jboss-client PUBLIC
"-//JBoss//DTD Application Client 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
<service-ref>
<service-ref-name>service/HelloService</service-ref-name>
<config-name>Standard Secure Client</config-name>
<wsdl-override>http://gauss:8888/jbossws-samples-wssecurity-encrypt?wsdl</wsdl-override>
</service-ref>
</jboss-client>
Even though I get the mustUnderstand exception.