you can either use glassfish descriptor (don't recall exact details but did
it several times before next option was available) or openejb-jar.xml (
http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/change-jaxws-url/src/main/resources/META-INF/openejb-jar.xml
)

for pojo webservices it is the servlet mapping which configures it IIRC


*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/23 James Green <[email protected]>

> Right ok. Last question for now: how should I override the paths exposed?
>
> Right now I'm getting the web app itself in
> http://...:8080/artifactid-classifier/
> and web services in webservices/ underneath. I'm trying to establish if I
> can supply details for both TomEE and Glassfish to make my SOAP and REST
> endpoints consistent. Right now they're definitely not, causing problems
> for my scripts that connect to each...
>
> Thanks again,
>
> James
>
>
>
> On 23 February 2013 22:39, Romain Manni-Bucau <[email protected]>
> wrote:
>
> > No but youll need to declare them in web.xml as a servlet
> > Le 23 févr. 2013 23:35, "James Green" <[email protected]> a
> écrit :
> >
> > > If I deploy my test app into TomEE with a class annotated @WebService
> but
> > > without any EJB annotations, I get a crash from OpenEJB.
> > >
> > > I've seen many examples of web services not needing to be EJBs. Is this
> > > therefore a requirement of TomEE? Glassfish seems happy without needing
> > > @Stateless for instance.
> > >
> > > Thanks,
> > >
> > > James
> > >
> >
>

Reply via email to