Hi Michael ,
I create a POJO and deploy and I got the expected result , so will you
be able to provide me more data to re-generate the issues. FYI I have
attached my POJO.

public class MyWebService {
   public void  getRes() throws Exception{
     throw  new Exception("Something went wrong");
   }
}

And the response I got is as follows,

HTTP/1.1 500 Something went wrong
Date: Mon, 30 Jul 2007 07:19:22 GMT
Server: Simple-Server/1.1
Transfer-Encoding: chunked
Content-Type: application/soap+xml; charset=UTF-8;
action="urn:getResException"
Connection: Close

93f
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
      <soapenv:Body>
         <soapenv:Fault>
            <soapenv:Code>
               <soapenv:Value>soapenv:Receiver</soapenv:Value>
            </soapenv:Code>
            <soapenv:Reason>
               <soapenv:Text xml:lang="en-US">Something went
wrong</soapenv:Text>
            </soapenv:Reason>
            <soapenv:Detail>
               <Exception> ...... </Exception>
            </soapenv:Detail>
         </soapenv:Fault>
      </soapenv:Body>
   </soapenv:Envelope>
0


> Hi,
>
> I have a web service where the operations have only input messages and
> SOAP faults. wsdl2java generates exceptions for this. The problem is
> that Axis2 1.3 RC2 sends an empty http 202 response and catalina.out
> contains the following message:
>
> Jul 27, 2007 5:30:45 PM
> org.apache.axis2.receivers.AbstractMessageReceiver receive
> SEVERE: org.apache.axis2.AxisFault: FaultMsg
>
> FaultMsg is the generated exception class from wsdl2java. Any ideas
> why AxisFault is logged and not send as a SOAP fault? Did I forget
> something?
>
> If you need more infos like WSDL or generated code then I can send
> this too.
>
> Best regards
>
> Michael


-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"


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

Reply via email to