A
agent_008_nl
Guest
Hi, OE11.3.0 I'm trying to test a mobile service using the restclient-tool. A normal restservice is working ok, but mobile service not. Do I need servicepack 2? Anyway, http://localhost:8980/CustomerMobile/ in chrome gives a good response, http://localhost:8980/CustomerMobile/rest/CustomerMobile?_wadl gives (and here method name="PUT" for each resource path seems not ok to me) application xmlns=" http://wadl.dev.java.net/2009/02 " xmlns:xs=" http://www.w3.org/2001/XMLSchema " grammars/ resources base=" http://localhost:8980/CustomerMobile/rest/CustomerMobile " resource path="/dsCustomer/UpdatedsCustomer" method name="PUT" response status="204"/ /method /resource resource path="/dsCustomer/CreatedsCustomer" method name="PUT" response status="204"/ /method /resource resource path="/dsCustomer/DeletedsCustomer" method name="PUT" response status="204"/ /method /resource resource path="/dsCustomer/ReaddsCustomer" method name="PUT" response status="204"/ /method /resource /resources /application Anyway, when I GET http://localhost:8980/CustomerMobile/rest/CustomerMobile/dsCustomer/ReaddsCustomer?filter = response is HTTP/1.1 405 Method Not Allowed Server: Apache-Coyote/1.1 Content-Length: 0 Date: Fri, 05 Dec 2014 13:17:48 GMT Allow: PUT,OPTIONS And when I PUT the same uri I get HTTP/1.1 415 Unsupported Media Type Server: Apache-Coyote/1.1 Content-Length: 0 Date: Fri, 05 Dec 2014 13:18:46 GMT The wadl generated seems not ok. How do I get it right? I have not seen a way to configure the methods like for a plain restservice (edit mobile service dialog). -- Kind regards, Stefan Houtzager Houtzager ICT consultancy & development www.linkedin.com/in/stefanhoutzager
Continue reading...
Continue reading...