I have a wadl with the following method.
<resource path="/activity/stop/">
<method name="PUT">
<request>
<param name="reason" style="query" type="xs:string" />
<param name="startdate" style="query" type="xs:string" />
<param name="enddate" style="query" type="xs:string" />
</request>
<response>
<representation mediaType="*/*" />
</response>
</method>
</resource>
and I am struggling to suss out how to make a valid request. For GET methods I can enter the url and parameters in the browser and successfully receive the correct data. But for any of the PUT methods this does not seem to be possible - I don't get a validation error just an xml parse error which seems to imply that the resource is unnavailable or I have not specified the correct url.
I have also tried via some java code generated using wadl2java. but can't seem to make this work either. Can anyone explain to me how I can test these methods or point me to an example of how to produce the client side code to make the correct request.
not sure if it is relevant but I am using https (and in my java code I have the authentication working correctly - I have verified this on one of the GET requests)
Thanks