Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

service mapping

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?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

service mapping

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

service mapping

Hi Michael,

We'll take a look and update.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

service mapping

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).

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

service mapping

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

service mapping

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

thanks alot!

Return to “Issues”