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 Jen-Ya Ku <jk...@tibco.com> on 2005/09/02 22:22:55 UTC

[Axis2]- how to config multiple operations into same class method

Hi, All:
 
I am new with Axis.  I wonder if I can config multiple operations into
same method in Axis2?
Thanks a lot in advance.
 
 
Thanks,
Jen-Ya 

Re: [Axis2]- how to config multiple operations into same class method

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Jen;

This is possible in Axis2 , as you can see in service.xml there should be one to one map into operation in service impl class , but you can have multiple wsa-mapping to same operation.
if you put parameter with name "wsamapping" and the value as what ever valid wsa-action

as an example

<operation name="echoVoid">
  <parameter name="wsamapping" locked="false">myOP1</>
   <parameter name="wsamapping" locked="false">myOP2</>
</operation>



Thanks,
 Deepal
................................................................
~Future is Open~



  ----- Original Message ----- 
  From: Jen-Ya Ku 
  To: axis-user@ws.apache.org 
  Sent: Saturday, September 03, 2005 2:22 AM
  Subject: [Axis2]- how to config multiple operations into same class method


  Hi, All:

  I am new with Axis.  I wonder if I can config multiple operations into same method in Axis2?
  Thanks a lot in advance.


  Thanks,
  Jen-Ya