You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by SEBBAGH L Ext ROSI/SIFAC <ls...@francetelecom.com> on 2004/12/10 17:12:27 UTC

invokeOneWay doesn't throw AxisFault ?

Hi all,

I'm using Axis 1.1 with some void response operation which could throw Exception.
I see my exception in TcpMon but the caller can't catch it...

The stub code use Call.invokeOneWay in the API doc this just throw a JAXRPCException... 

Could AxisFault be catched with void response ?

Thanks,
Lionel


This is a XSDL extract
 <operation name="majUtilisateur"  parameterOrder="timestamp unUtilisateur typeAction">
  <documentation>Service definition of function rita__majUtilisateur</documentation>
  <input message="tns:majUtilisateurRequest"/>
  <fault name="ErreurApplicativeBase" message="tns:ErreurApplicativeBaseFault"/>
  <fault name="ErreurSystemeBase" message="tns:ErreurSystemeBaseFault"/>
  <fault name="ErreurSystemeServeur" message="tns:ErreurSystemeServeurFault"/>  
 </operation>

This is SOAP message extract
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Server.generalException</faultcode>
   <faultstring></faultstring>
   <detail>
    <ns1:ErreurApplicativeBaseStructPart href="#id0" xmlns:ns1="http://RitaAxis/xsd"/>
    <ns2:exceptionName xmlns:ns2="http://xml.apache.org/axis/">RitaAxis.xsd.ErreurApplicativeBaseStruct</ns2:exceptionName>
   </detail>
  </soapenv:Fault>