Take a look at http://issues.apache.org/jira/browse/AXIS2-919. It seems like
it might be the same issue.

Derek

> -----Original Message-----
> From: JayG [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 06, 2006 11:18 AM
> To: axis-user@ws.apache.org
> Subject: Re: Exception in returning SOAP Fault.
> 
> 
> 
> I'm having the same problem. I can return values from the 
> generated skeleton code, but trying to throw an excepion 
> causes an OMException. The exception I'm throwing was created 
> by wsdl2java and maps to the fault I declared in the WSDL. It 
> looks like it should be very straighforward (the exception 
> was already created and declared for me, I'm just newing one 
> and throwing it), but it just doesn't work. My stack trace 
> looks slightly different.
> 
> org.apache.axiom.om.OMException
>       at
> org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(O
> MElementImpl.java:265)
>       at
> org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasN
> ext(OMChildrenQNameIterator.java:75)
>       at
> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithN
> ame(OMElementImpl.java:222)
>       at
> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOA
> PEnvelopeImpl.java:76)
>       at
> org.apache.axis2.engine.AxisEngine.createFaultMessageContext(A
> xisEngine.java:183)
>       at
> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisSe
> rvlet.java:168)
>       at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet
> .java:153)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> ...
> -- 
> View this message in context: 
> http://www.nabble.com/Exception-in-returning-SOAP-Fault.-tf162
6630.html#a5205008
Sent from the Axis - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to