Page 1 of 1

service mapping

Posted: Mon Sep 30, 2013 10:40 am
by Michael4771079

Hi,
I have 2 collapsible blocks on my screen,

Image

I have a query service running to each.
the mapping is from each service to its own collapsible block

first service mapping
js in mapping return '{"Town": "' + value + '"}';

Image

second service mapping
js in mapping return '{"Login": "' + value + '"}';

Image

First service runs on value change of selectmenu, works no problem.

Second service runs on button click, "favorite taxi"
the service runs, no errors in console but the collapsible does not appear?

I tried mapping both services to the same block but that didn't work either.
Don't know whats wrong.

this is the collection for secoud service

Image

any Ideas of what I've done wrong?


service mapping

Posted: Mon Sep 30, 2013 11:25 am
by Michael4771079

update

I now have second service and collapsible block appearing on button click,
but all the labels are undefined.
as you can see the mapping above is done for this service

here are s/s of screen and console prams and response

Image

Image

Image


service mapping

Posted: Mon Sep 30, 2013 12:28 pm
by Kateryna Grynko

Hi Michael,

We'll take a look and update.


service mapping

Posted: Mon Sep 30, 2013 1:44 pm
by Kateryna Grynko

Hi Michael,

Create Response parameters from "Test" tab automatically. From the screenshots I can see that the Response data and mapping data are different (note the name is case-sensitive).


service mapping

Posted: Mon Sep 30, 2013 1:55 pm
by Michael4771079

Hi Katya,
none of my services run on the test tab, I get this error
Image


service mapping

Posted: Mon Sep 30, 2013 2:04 pm
by Michael4771079

Thanks Katya,
it was the capitals in the service response, all working now.

thanks alot!