axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Z Chen <zc_...@yahoo.com>
Subject RE: help on AxisFault
Date Fri, 06 Oct 2006 21:06:32 GMT
But in the generated stub code, if the signature of
the operation defined in wsdl does not wsdl:output,
axis generation tool won't generate the try catch
block.

John

--- Sharad Baronia <sbaronia@nexatech.com> wrote:

> Hi John,
> 
>   My understand is that u will get Fault all the way
> in ur client stub.
> 
>    For gsoap, look into SOAP_ENV__Fault structure
> inside ur soapStub.h file.
> 
>    <object instance of ur class>.soap->fault (fault
> is SOAP_ENV__Fault)
> 
>   Hope it helps.
> 
> Thanks,
> 
> /Sharad
>    
> 
> -----Original Message-----
> From: Z Chen [mailto:zc_888@yahoo.com] 
> Sent: Friday, October 06, 2006 1:44 PM
> To: axis-user@ws.apache.org
> 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:
> axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-user-help@ws.apache.org
> 
> 
>
___________________________________________________________________________
> 
> Inbound Email has been scanned by Nexa Technologies
> Email Security Systems.
>
___________________________________________________________________________
> 
> 
> 
>
___________________________________________________________________________
> 
> All outbound Email is scanned by Nexa Technologies
> Email Security Systems.
>
___________________________________________________________________________
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-user-help@ws.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message