Hi All,
I have to develop a web service using Axis2 that have a single endpoint
address, but provide multiple services.
Is it possible to use ServiceName in soap WS-addressing header instead of
URL?

current supported by Axis2:
HTTP: http://example.com/axis2/services/ServiceA
Mail : mailto:[EMAIL PROTECTED]/axis2/services/ServiceA

I want it to be:
HTTP: http://example.com/ep
Mail : mailto:[EMAIL PROTECTED]

But the SOAP header inside messages sent by client must have a
wsa:ServiceName element which will distinguish which service will be used.
I see that there is AddressingConstant.EPR_SERVICE_NAME constant. When
should I use that constant?

Any Idea?

Regards,
Sukma

Reply via email to