Forum Discussion

SiKing's avatar
SiKing
Community Expert
11 years ago

[Resolved] REST JAX-RS template parameters

RESTful parameters generated by JAX-RS are not fully supported. Here is the JAX-RS reference: http://jsr311.java.net/nonav/releases/1 ... /Path.html

This is a cut of my WADL:
<resource path="/{gameCode}/issues/{issueId:[0-9]+}">
<param name="gameCode" style="template" type="xs:string"/>
<param name="issueId" style="template" type="xs:int"/>
<method id="getGameIssue" name="GET">
<response>
<representation element="lotteryGameIssueDTO" mediaType="application/json"/>
</response>
</method>
</resource>

However, SoapUI cannot match up the issueId param with {issueId:[0-9]+} in the URL.

14 Replies