Hi devs, There is a JSR coming up for RESTful services. Its JSR-311 (JAX-RS: JavaTM API for RESTful Web Services).
We do have the infrastructure to do truly REST services vis WSDL 2.0deployment. I think it would be nice to expose the REST support we have to POJOs via some annotations (We could also have properties that can be defined in the services.xml that map to these annotations) that go closely with the above JSR. I did go through with the JSR and here is how we can map then to WSDL 2.0properties. UriTemplate -> whttp:location HttpMethod -> whttp:method ProduceMime -> whttp:outputSerialization ConsumeMime -> whttp:inputSerialization In addition the following annotations will be useful HttpMethodDefault -> whttp:methodDefault QueryParameterSeparatorDefault -> whttp:queryParameterSeparatorDefault ContentEncodingDefault -> whttp:contentEncodingDefault QueryParameterSeparator -> whttp:queryParameterSeparator IgnoreUncited -> whttp:ignoreUncited InputHeader -> whttp:header (on the input msg) OutputHeader -> whttp:header (on the output msg) Thoughts? Thanks, Keith -- Keith Chapman Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
