Le 25 juin 2016 20:55, "Rourke" <[email protected]> a écrit :
>
> Romain Manni-Bucau wrote
> > Le 25 juin 2016 19:12, "Rourke" &lt;
>
> > c4658372@
>
> > &gt; a écrit :
> >>
> >> I have been checking my pom.xml and see my dependencies:
> >>
> >>
> > <dependency>
> >>
> > <groupId>
> > javax
> > </groupId>
> >>
> > <artifactId>
> > javaee-web-api
> > </artifactId>
> >>
> > <version>
> > 7.0
> > </version>
> >>
> > <scope>
> > provided
> > </scope>
> >>
> > </dependency>
> >>
> >>
> > <dependency>
> >>
> > <groupId>
> > org.glassfish
> > </groupId>
> >>
> > <artifactId>
> > javax.faces
> > </artifactId>
> >>
> > <version>
> > 2.2.13
> > </version>
> >>
> > <scope>
> > runtime
> > </scope>
> >>
> > </dependency>
> >>
> >> The last dependency was necessary because otherwise I was not able to
> >> make
> >> TomEE run my JSF code. But with it, everything works fine. Not sure if
> > this
> >> has anything to do with the Web Services, it seems an unrelated issue,
> >> but
> >> just in case.
> >>
> >
> > This is not needed, tomee provides myfaces OOTB.
> >
> > ** You are right. I have removed it and it seems to work. With my
previous
> > TomEE 1.7.4 it complained, but perhaps it is because it was not plumee
> >
> >> Is it possible that Netbeans is creating a simple Metro Web Services
and
> >> TomEE is expecting CXF instead? Although they both should by JSR109
> >> compliant.  Sorry, I'm new and I have no idea what the difference
between
> >> the two is, just think they are different implementations for the same
> >> thing, one by Oracle and the other by Apache.
> >>
> >
> > Netbe1ns generates a web.xml for glassfish - not standard.
> >
> > All sun classes should be removed.
> >
> > *** I see. Can you please send me a link to a proper web.xml and/or
> > sun-javaws.xml? Because every example I see is using sun classes as in
my
> > case:
> >
http://www.mkyong.com/webservices/jax-ws/deploy-jax-ws-web-services-on-tomcat/
> >
https://examples.javacodegeeks.com/enterprise-java/jws/jax-ws-web-services-on-tomcat/
> > https://jaxenter.com/creating-soap-web-services-using-jax-ws-117689.html
> >
> >
> > Side note: in tomee examples you have some webservices running and
tested
> > on tomee without proprietary code.
> >
> > *** I have been checking this but they seem to use Stateless Web
Services
> > and apparently they don't need some xml configuration, as I believe is
my
> > case
> >

https://github.com/apache/tomee/tree/master/examples/pojo-webservice doesnt
use an ejb. Note the mapping in web.xml can be refined since it is /* here.

> >>
> >>
> >> --
> >> View this message in context:
> >
http://tomee-openejb.979440.n4.nabble.com/TomEE-and-Web-Services-tp4679025p4679056.html
> >> Sent from the TomEE Users mailing list archive at Nabble.com.
>
>
>
>
>
> --
> View this message in context:
http://tomee-openejb.979440.n4.nabble.com/TomEE-and-Web-Services-tp4679025p4679058.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to