Hi all,
I'm new with weblogic and EJB v3;
I've published a RestFul webservices using EJB3:
package rest;
import javax.ejb.Stateless;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
@Stateless
@Path(value="/fattura")
public class FatturaServiceBean {
@GET
@Produces(value="text/plain")
public String generaProssimoNumero(){
return "1234";
}
}
As you can see very very easy and it works, but i can call it
http://localhost:7001/soap-web-service-ejb/resources/fattura
Now I'm asking why weblogic has added the word resources in the URI, tomEE dosn't add the word resources in the URI!!!! Is that a feature I can customize?
And also is there a way to tell weblogic to print in the log every web services is installed on it when it startup?
thanks
really much