NAVTEQ
14 years agoOccasional Contributor
Support resource_type and resource references
Hi,
please support resource_type and resource references in WADL files. So that following is supported:
instead of
(Example was borrowed from http://cxf.apache.org/docs/jaxrs-services-description.html)
Please note that SoapUI will load a WADL with resource references but the nodes referencing a resource type are empty.
Thanks,
-Josef
please support resource_type and resource references in WADL files. So that following is supported:
<resources base="http://localhost:8080/">
<resource path="/bookstore/{id}" type="#bookResource"/>
<resource path="/books">
<resource path="/bookstore/{id}" type="#bookResource"/>
</resource>
</resources>
<resource_type id="bookResource">
<param name="id" style="template"/>
<method name="GET">
<response>
<representation mediaType="application/xml" element="ns:thebook"/>
</response>
</method>
</resource_type>
instead of
<resources base="http://localhost:8080/">
<resource path="/bookstore/{id}">
<param name="id" style="template"/>
<method name="GET">
<response>
<representation mediaType="application/xml" element="ns:thebook"/>
</response>
</method>
</resource>
<resource path="/books">
<resource path="/bookstore/{id}">
<param name="id" style="template"/>
<method name="GET">
<response>
<representation mediaType="application/xml" element="ns:thebook"/>
</response>
</method>
</resource>
</resource>
</resources>
(Example was borrowed from http://cxf.apache.org/docs/jaxrs-services-description.html)
Please note that SoapUI will load a WADL with resource references but the nodes referencing a resource type are empty.
Thanks,
-Josef