[jboss-user] [JBossWS] - Message faults not signed
mimra
do-not-reply at jboss.com
Fri Mar 14 08:34:12 EDT 2008
We have a project running on JBoss 4.2.0 (JBossWS 1.2.1.GA) which exposes an EJB3 web service like:
| @Stateless
| @WebService(wsdlLocation="META-INF/wsdl/LovWS.wsdl", targetNamespace = "http://rep.oio.dk/wmdata.dk/as2007/schemas/2006/11/20/")
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
| @HandlerChain(file = "resource://META-INF/ServerHandlers.xml", name = "SecureHandlerChain")
| @WebContext(contextRoot="/as2007/facade")
| public class LovWS extends WSBean {
| .
| .
| .
| @WebMethod()
| @WebResult(name="resultat")
| public LovType hentLov(@WebParam(name="Kode") String kode) throws WSException{
| if ("".equals(kode)){
| throw new WSException(165,"Kode argumentet er tomt");
| }
| .
| .
| .
| }
| }
|
Now if the request to the web service is successful, the response is singed as expected.
However, if any exception is thrown and a SOAP fault is returned, then the SOAP body is not signed.
Is this expected behavior? Is there any way to get JBossWS to also sign the SOAP faults?
Best regards
Michael
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136642#4136642
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136642
More information about the jboss-user
mailing list