Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

Manual execution of a service and saving response

Hello.

I manually launch a REST service:
codelistaCrear.execute({lot_of_code})/code

I have mapped a lot of data to the fields of the REST request, and it works.

The REST service has a JSON response of a variable, for example:
code{
"respuesta": "true"
}/code

I have mapped "respuesta" with a localstorage variable wich I have created.

The problem is that the JSON response isn't being saved in the localstorage.

This is not the first time that I do this (map a response with a localstorage), and it has always worked, but not this time.

The only difference that I can see is that I call the service manually (when I press a button). Maybe there is the problem, that I have to put some special code to make it store the response of the REST into the localstorage variable (I have already mapped them, but with no luck as you can see)?

Thanks.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Manual execution of a service and saving response

Hello,

[quote:]
I manually launch a REST service:
codelistaCrear.execute({lot_of_code})/code
[/quote]
can you show us all code ?

Also please try Invoke service automatically using "Invoke service" action.

Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

Manual execution of a service and saving response

Hello Igor.

I have answered privately.

Thanks,
Andrés.

Return to “Issues”