login button

How does Axis2 determine a service name?

Story :

Project :

Q : How does Axis2 determine service name? A : If the root element of services.xml is <serviceGroup> </serviceGroup>, then the name of the services listed inside will be the name specified by name attribute. Lets consider the example below:

<serviceGroup>
<service name=”abc”>
</service>
<service name=”xyd”>
</service>
</serviceGroup>

In this case there will be two services in the group with name abc and xyd, while the name of the service group is the name of the archive file. If the root element of the services.xml is <service> </service> then the name of the service will be the name of the archive file. Even if you have name attribute it will be ignored.

1
Average: 1 (1 vote)