Author Message
cooki
Joined: May 18, 2015
Messages: 16
Offline
Hi,

I am trying to call REST service from my WF with XML payload. Everything works as expected using the debugger but when I deploy the .svar, the variable names inside payload are not replaced by variable values.

Here is my payload:


<GetCardStatusRequest xmlns="http://xx.cti/WSService">

<callID>1231</callID>
<callStart>2015-08-14T12:34:00</callStart>
<endPoint>1000</endPoint>
<numberCard>{test22}</numberCard>
</GetCardStatusRequest>


The variable "test22" is defined in input mapping and when using debug mode this variable is replaced by correct value.
But in deployment, the request is sent as is - so there is ... <numberCard>{test22}</numberCard>

Does anyone faced similar issue? Does anyone know how to fix this or somehow override it ? :)

Thanks.

c.
Vishal-Avaya
Joined: Jul 24, 2014
Messages: 45
Offline
Hi Cooki
The support is currently for JSON payload only. This is true for all events in the platform.
cooki
Joined: May 18, 2015
Messages: 16
Offline
Hi Vishal,

I tried JSON ofcourse too. The result is the same...

cooki.
Vishal-Avaya
Joined: Jul 24, 2014
Messages: 45
Offline
Cooki - could you post your WFD? And the version number of the product you have deployed?
Also if you are a customer, we can activate the support channel.
cooki
Joined: May 18, 2015
Messages: 16
Offline
Hi,

I attached my test WF that shows the issue. Its XML but if you convert it to JSON and use, the problem is the same.

BR,

c.
Filename export_wf.xml [Disk] Download
Go to:   
Mobile view