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 Binoy K Philip <bi...@renaissance-it.com> on 2007/03/20 08:34:33 UTC

RE: [ Axis2] Please help me



> Dear ...,
> I am facing problems can  help me ? Where do I get a good
> document(totorial)?
> 
> 1)I am trying  to implement axis fault .
> 2)I have two  methods ( one with return type string other with no
> return type (void) )which  throws userException1 and userException2
> respectively .
> 3)I have generated the FaultExcetion1,FaultExcetion2 class and also
> CustomisedMessageReceiverInOut  and
> CustomisedMessageReceiverRobustInOnly using eclipse code gen 
> 4)FaultExcetion1,FaultExcetion2  put  in both  client and server side
> and CustomisedMessageReceiverInOut  and
> CustomisedMessageReceiverRobustInOnly  in server side 
> 5) write service.xml 
> serviceGroup>
> <service name="CustomisedService">
> <messageReceivers>
> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
> class="webservice.CustomisedMessageReceiverInOut"/>
> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/robust-in-only"
> class="webservice.CustomisedMessageReceiverRobustInOnly"/>
> </messageReceivers>
> <parameter name="ServiceClass"
> locked="false">webservice.Service</parameter>
> <operation name="saveInfo"
> mep="http://www.w3.org/2004/08/wsdl/robust-in-only">
> <actionMapping>urn:saveInfo</actionMapping>
> <faultActionMapping
> faultName="saveInfoFault">http://webservice/CustomisedServicePortType/
> saveInfo/Fault/saveInfoFault</faultActionMapping>
> </operation>
> <operation name="getInfo" mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>urn:getInfo</actionMapping>
> <outputActionMapping>http://webservice/CustomisedServicePortType/getIn
> foResponse</outputActionMapping>
> <faultActionMapping
> faultName="getInfoFault">http://webservice/CustomisedServicePortType/g
> etInfo/Fault/getInfoFault</faultActionMapping>
> </operation>
> <operation name="isAlive" mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>urn:isAlive</actionMapping>
> <outputActionMapping>http://webservice/CustomisedServicePortType/isAli
> veResponse</outputActionMapping>
> </operation>
> </service>
> </serviceGroup>
> 
> Tahnks in advance
> 
> Binoy K Philip 
> 
> E-mail: binoy.philip@renaissance-it.com 

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.