Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Problems with XML PUT and dynamic URL parameters

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Problems with XML PUT and dynamic URL parameters

Please post your service setup, Settings tab and Request tab

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Problems with XML PUT and dynamic URL parameters

Can you also post a screen shot when you test the service?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Problems with XML PUT and dynamic URL parameters

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.

Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Problems with XML PUT and dynamic URL parameters

Thank you for the advise, i mapped the service without testing and it works!!!

Return to “Issues”