[Axsi2] multiple soapactions mapping to a single operation?

2006-09-13 Thread Anamitra . Bhattacharyya

Hi
as per the sample service dd below I can have an actionMapping element for
my operation in the dd. Now can I map multiple actions to one operation.
like multiple actionMapping elements for one operation element in the
service dd.


I guess a schema for the service xml would have been good eneough to figure
that out - but I am not sure if there is one.

thanks
Anamitra

service 
description
This is a sample Web Service with two operations, echo and ping.
/description
parameter name=ServiceClass
locked=falseuserguide.example1.MyService/parameter
operation name=echo
messageReceiver
class=org.apache.axis2.receivers.RawXMLINOutMessageReceiver/
actionMappingurn:echo/actionMapping
/operation
 operation name=ping
messageReceiver
class=org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver/
actionMappingurn:ping/actionMapping
/operation
 /service



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axsi2] multiple soapactions mapping to a single operation?

2006-09-13 Thread Deepal Jayasinghe
Hi Anamitra

Hi
as per the sample service dd below I can have an actionMapping element for
my operation in the dd. Now can I map multiple actions to one operation.
like multiple actionMapping elements for one operation element in the
service dd.
  

Yes you can have any number of actionmapping for an operation.


I guess a schema for the service xml would have been good eneough to figure
that out - but I am not sure if there is one.

thanks
Anamitra

service 
description
This is a sample Web Service with two operations, echo and ping.
/description
parameter name=ServiceClass
locked=falseuserguide.example1.MyService/parameter
operation name=echo
messageReceiver
class=org.apache.axis2.receivers.RawXMLINOutMessageReceiver/
actionMappingurn:echo/actionMapping
/operation
 operation name=ping
messageReceiver
class=org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver/
actionMappingurn:ping/actionMapping
/operation
 /service



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  


-- 
Thanks,
Deepal

~Future is Open~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]