Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Enterprise & Remote Computing
Java Technologies for Web Services
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Mar 1, 2012 12:52 AM by
Provider<T> webservice, JWSC task error
Mar 1, 2012 12:52 AM
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?
This content has been marked as final.
Show 0 replies