beehive-user mailing list archives

> is it possible to specify the address of a webservice?
No.
> until now, i put them under <host>/<context>/<Service>.jws,
> not i want services to be available at
> <host>/<context>/services/<Service>.jws.
>
> is there any way to achive this with beehive?
You can put your services into a package called 'services' and use the
package name in the URL. For example, for the source below, the URL
could have services or not and you advertise the style you like.
--- both work; note that the port location is appropriately adjusted
http://localhost:8080/mg/SomeService.jws
http://localhost:8080/mg/services/SomeService.jws
--- example source (taken from wsm-blank)
package services;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public class SomeService {
@WebMethod
public void doSomething() {
}
}
---
- jeremiah