[
https://issues.apache.org/jira/browse/OFBIZ-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102570#comment-13102570
]
Adrian Crum edited comment on OFBIZ-4274 at 9/19/11 10:19 AM:
--------------------------------------------------------------
A nice feature to have would be the ability to support dynamic XML stylesheets
so that REST XML clients can validate request/response bodies. The body XML
would contain the stylesheet reference URL, and the servlet would create a
stylesheet based on the REST configuration file/service definition.
Example XML request payload:
{code}
<post xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://localhost/webtools/entities/orderheaders/post.xsd">
...
</post>
{code}
was (Author: [email protected]):
A nice feature to have would be the ability to support dynamic XML
stylesheets so that REST XML clients can validate request/response payloads.
The payload XML would contain the stylesheet reference URL, and the servlet
would create a stylesheet based on the REST configuration file/service
definition.
Example XML request payload:
{code}
<post xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://localhost/webtools/entities/orderheaders/post.xsd">
...
</post>
{code}
> Implement a REST Servlet
> ------------------------
>
> Key: OFBIZ-4274
> URL: https://issues.apache.org/jira/browse/OFBIZ-4274
> Project: OFBiz
> Issue Type: New Feature
> Components: framework
> Reporter: Adrian Crum
> Priority: Minor
> Attachments: RestExampleSchema.xsd, RestXmlRepresentation.xml,
> rest-conf.xml
>
>
> Implement a REST servlet that will map REST requests to OFBiz services.
> Details are in the comments.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira