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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Sent: Friday, October 06, 2006 1:44 PM > To: [email protected] > 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] > > > ___________________________________________________________________________ > > 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ 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]
