Hi all,
I’m trying to retrieve data from a SOAP web service and print it in the “thank you” bodycopy of a custom form.
I can return and print a single string but cannot return XML.
This is my request:
<?xml version=“1.0”?>
<root>
<node1>string</node1>
<node2>%response_1234_q1%</node2>
<node3>%response_1234_q2%</node3>
<node4>string</node4>
</root>
This is the response:
<?xml version=“1.0”?>
<wsResponse>
<wsResult>??</wsResult>
</wsResponse>
My available keywords are:
%globals_session_soap_wsResult%
In the response, I am expecting to see the following (as this is the format of the response from my web service):
<?xml version=“1.0” encoding=“utf-8” ?>
<root>
<node1>??</node1>
<node2>??</node2>
</root>
And therefore be able to use the following keywords (or similar):
%globals_session_soap_wsResultnode1%
%globals_session_soap_wsResultnode2%
Can anyone tell me if i’m doing anything wrong (which is very likely!)?
Thanks in advance.
Dave