Good Morning Chen-
can we view the Response definition from your wsdl ?
e.g.
   <wsdl:message name="NameOfSoapServiceResponse">
      <wsdl:part name="NameOfSoapServiceReturn" type="soapenc:string"/>
   </wsdl:message>
M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Z Chen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, October 06, 2006 4:44 PM
Subject: help on AxisFault


> Hi,
> 
> I am building Java application that call a remote web
> services built in gSOAP and also provide web services
> for the remote server to invoke. I have generated Stub
> and skeleton class from my wsdl files. All my services
> in wsdl are without SOAPFault defined. In this
> situation, how do I pass the exception between these 2
> different systems. We have a "invoke" operation
> without any return object defined in remote service,
> so the generate stub doesn't have a try catch block to
> catch any AxisFault, so even though the remote system
> returns a response with a SOAPFault, we are not able
> to get it. Even though I manually added the try catch
> block, it still didnt work. Any idea where I did wrong
> ?
> 
> In the generated *Receiver class, I saw there is a
> catch block to convert any Java exception to a
> AxisFault, and throw it to Axis2 engine, would it
> return a response with SOAPFAult in it back to the
> remote system ?
> 
> Thanks
> 
> John
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to