Hi,

I'm using the REST support in Axis2C 0.93 to invoke SCA services in Apache Tuscany, and it has been working pretty well so far. I now would like to customize a little how requests get dispatched to a particular service.

I am currently using the following URL: http://localhost:9090/axis2/services/customer?id=1234 to invoke my customer info Web service and pass to it customer id 1234, so far so good.

Now I would like to change this a little and invoke the customer info service using a slightly different URL: http://localhost:9090/axis2/services/customer/1234. Customer id 1234 is now specified as part of the path instead of a parameter. I still need a single service for all customers, and the ability to get the customer id in the Axis2 service skeleton.

Is this possible? What do I need to put in my services.xml to enable this? and how will I get the part of the URL after customer/ in my Axis2 service skeleton?

Thanks...

--
Jean-Sebastien


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

Reply via email to