beehive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Johnson" <>
Subject RE: Address Location of WebService
Date Wed, 17 Aug 2005 20:18:34 GMT
> is it possible to specify the address of a webservice?


> 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

--- example source (taken from wsm-blank)
package services;

import javax.jws.WebMethod;
import javax.jws.WebService;

public class SomeService {

    public void doSomething() {


- jeremiah

View raw message