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 Charles Galpin <cg...@lhsw.com> on 2011/04/12 17:42:55 UTC

Change pojo service name at deployment time

Hi there

I have a pojo based service defined something like

@WebService(serviceName="MyService" …
public class MyService {…

And in services.xml I have

<serviceGroup>
  <service name='MyService" ..
  <parameter name="ServiceClass">MyService</parameter>

I'd like to deploy this more than once but with different service names (EPR)

http://localhost:8080/axis2/MyService1
http://localhost:8080/axis2/MyService2

But I can't seem to override the service name. Even if I use a different service name in services.xml, like

<serviceGroup>
  <service name='MyService1" ..
  <parameter name="ServiceClass">MyService</parameter>

The end point is 

http://localhost:8080/axis2/MyService

What am I missing?

thanks,
charles


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org