JBoss Community

JBoss AS 7.1.1 - SOAPFaultException constructor argument javax.xml.soap.Detail with Throwable instance

created by syau in JBoss Web Services - View the full discussion

I'm in the process of migrating a web service (JAX-RPC) running in Weblogic to JBoss AS 7.1.1, the web service

throws a exception like this,

 

 

                    throw new javax.xml.rpc.soap.SOAPFaultException(

       new QName("http://schemas.xmlsoap.org/soap/envelope/", "Server"), // QName fault code

       "Errors encountered", // faultString

       "http://example", // faultActor

       weblogic.webservice.util.FaultUtil.newDetail(new Exception("Service Unavailable"))); // javax.xml.soap.Detail

 

 

What's the JBoss equivalent of the 4th argument in the SOAPFaultException constructor, I want to attach the exception

instance to the 'Detail' instance just like in Weblogic. Thanks.

 

PS: I'm using Axis2 to generate WSDL

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community