This content has been marked as final. Show 2 replies
Oracle Cloud uses Weblogic 10.3.6. Per Weblogic 10.3.6: "JAX-WS implementation, the set of supported HTTP methods is limited to GET and POST. DELETE, PUT, and HEAD are not supported. Any HTTP requests containing these methods will be rejected with a 405 Method Not Allowed error." So you should be able to do GET and POST, but not PUT, DELETE or HEAD.
Java Cloud Service does support RESTful WebServices based on JAX-RS 1.1 specification & Jersey 1.9 implementation.
Please follow the documentation for http://docs.oracle.com/cd/E23943_01/web.1111/e13734/rest.htm#CHDCGFCH (Section Using the Jersey JAX-RS Reference Implementation)
The required Jersey 1.9 shared library is pre-deployed in all the Java Cloud Service instances , you only need to add the reference of this shared lib in your weblogic.xml.
The following example shows how to update the weblogic.xml file to use the Jersey JAX-RS RI Version 1.9.