Le 25 juin 2016 19:12, "Rourke" <[email protected]> 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. > 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. Side note: in tomee examples you have some webservices running and tested on tomee without proprietary code. > > > -- > 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.
