axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Galpin <cgal...@lhsw.com>
Subject Change pojo service name at deployment time
Date Tue, 12 Apr 2011 15:42:55 GMT
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


Mime
View raw message