0 Replies Latest reply on Mar 1, 2012 6:52 AM by 796911

    Provider<T> webservice, JWSC task error

      I am trying to create a RESTFul webservice using Provider<T> interface. When I run Ant task, it gives following error

      Caused by: com.sun.xml.ws.model.RuntimeModelerException: A WebService annotation is not present on class: examples.webservices.restws.NearByCity

      I am providing @WebServiceProvider annotation for the class. As per specs only one annotation WebService or WebServiceProvider is required.

      Can someone let me know if I am doing right?