Page 1 of 1
Problems with XML PUT and dynamic URL parameters
Posted: Wed Nov 06, 2013 9:35 am
by Pau San Juan
Hi,
I've got a problem with a REST service. I'm sending a PUT with xml with some parameters for the dynamic url + the proper xml parameters.
The problem is that the parameters for the url are not expanding, so in the service url there is nothing were the parameter need to be in the URL and the service fails.
Example:
http://myhost/myservice/{parameter}
and when i test the service, it sends:
http://myhost/myservice/
How can i solve that?
Problems with XML PUT and dynamic URL parameters
Posted: Wed Nov 06, 2013 10:40 am
by maxkatz
Please post your service setup, Settings tab and Request tab
Problems with XML PUT and dynamic URL parameters
Posted: Wed Nov 06, 2013 11:03 am
by Pau San Juan
Problems with XML PUT and dynamic URL parameters
Posted: Wed Nov 06, 2013 12:01 pm
by maxkatz
Can you also post a screen shot when you test the service?
Problems with XML PUT and dynamic URL parameters
Posted: Thu Nov 07, 2013 7:39 am
by Pau San Juan
Problems with XML PUT and dynamic URL parameters
Posted: Thu Nov 07, 2013 12:13 pm
by Maryna Brodina
Hello! Unfortunately there is a bug in editor (on Test tab) when you set Content Type to data/xml. But it works in preview and installed app. So as a workaround you would need to recieve response outside Appery.io until we fix this bug (using some REST client). Sorry for inconvenience.
Problems with XML PUT and dynamic URL parameters
Posted: Thu Nov 07, 2013 12:58 pm
by Pau San Juan
Thank you for the advise, i mapped the service without testing and it works!!!