Can you share web.xml if one too please?

Also can you confirm there us no lib in web-inf/lib?
Le 24 juin 2016 21:23, "Rourke" <[email protected]> a écrit :

> The Web Service is the simplest auto-generated Web Service with Netbeans 8
> (see below).
> Sorry, I am a newbie and can't find what the problem is. Netbeans is saying
> that the web server is non jsr109 compliant, but I read in the Web that
> Tomcat with some aditional JARs is (I found some similars in Maven) and
> that
> TomEE 7 plumee should be by default.
>
> I have no idea if I have to include some dependencies in my pom.xml, or in
> the lib/ folder of TomEE or make modifications in the code or simply forget
> TomEE and install Glassfish (my last option).
>
>
> package com.example.webservices;
>
> import javax.jws.WebService;
> import javax.jws.WebMethod;
> import javax.jws.WebParam;
>
> @WebService(serviceName = "wstest")
> public class wstest {
>
>     /**
>      * This is a sample web service operation
>      */
>     @WebMethod(operationName = "hello")
>     public String hello(@WebParam(name = "name") String txt) {
>         return "Hello " + txt + " !";
>     }
> }
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-and-Web-Services-tp4679025p4679050.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to