Hi all,
I am new to ES just i want to know how we will take the responce from webservices in to variable fo rthe flow it is bit easier in workflow 7X but i am facing problem here
INPUT:
webservices option(literal value) i am entering the WSDL url and calling the funtion over there and in request i am taking the value from the flow through var
and passing to webservice
<tem:EmployeeLogin>{$ /process_data/@company_code $}</tem:EmployeeLogin>
and iam testing it there i can see the out put in xml
how will i get the out put in to variable where i need to pass to form again
Please help me out .....
Solved! Go to Solution.
Views
Replies
Total Likes
Assign the web service result to a XML variable (say myResult).
Now you can access your name as /process_data/myResult/Envelope/Body/ALL_GetEmpNamefrmIDResponse/ALL_GetEmpNamefrmIDResult
Looks clear?
Nith
Views
Replies
Total Likes
In the Web Service Response section, you can map an XML variable to the Response property.
The xml variable will contain the entire SOAP response. You'll have to parse it to extract your XML from it. It'll be in a CDATA section.
Jasmin
Views
Replies
Total Likes
thanks for reply..
Please help me out with the entire setp by step procedure that i have to follow in getting the output in variable
i am using to get the emp name from webservices and i am passing empno from form.
INPUT STRING
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:ALL_GetEmpNamefrmID>
<!--Optional:-->
tem:EmployeeLogin>{$ /process_data/@emp_no $}</tem:EmployeeLogin>
</tem:ALL_GetEmpNamefrmID>
</soapenv:Body>
</soapenv:Envelope>
when i hard coded emp no for testing EG: 1234 the out put i am getting the folloeing XML when i click tes
OUTPUT:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ALL_GetEmpNamefrmIDResponse xmlns="http://tempuri.org/">
<ALL_GetEmpNamefrmIDResult>SUBBA</ALL_GetEmpNamefrmIDResult>
</ALL_GetEmpNamefrmIDResponse>
</soap:Body>
</soap:Envelope>
Please help me out what are the steps i have to follow for getting out put SUBBA to my variable
Views
Replies
Total Likes
Assign the web service result to a XML variable (say myResult).
Now you can access your name as /process_data/myResult/Envelope/Body/ALL_GetEmpNamefrmIDResponse/ALL_GetEmpNamefrmIDResult
Looks clear?
Nith
Views
Replies
Total Likes
hi nith
As you mentioned i have created xml variable myResult
and in the webservices reponce CDLIST i have given this myResult
and in set value i have passed this result to form
Location
/process_data/formvar/object/data/xdp/datasets/data/FSFIELDS_/TextField1
expression
/process_data/myResult/Envelope/Body/ALL_GetEmpNamefrmIDResponse/ALL_GetEmpNamefrmIDResult
but i am not getting the result in the form
please let me know any wrong i have done......
Views
Replies
Total Likes
Enable process recording and check the data of your xml variable after the web service call.
Also look at the server log file for any errors.
Nith
DISCLAIMER:
========================================================================
"This communication is intended only for the named recipient and others authorized to receive it.
It contains confidential or legally privileged information. If you are not the intended recipient, please notify us immediately, and note that any disclosure, copying, distribution or action you may take in reliance on this communication is strictly prohibited and may be unlawful. Unless indicated otherwise, this communication is not intended, nor should it be taken to create any legal and/or contractual relation or otherwise. Ministry of Finance (MOF) is neither liable for the proper and complete transmission of the communication, nor for any delay in its receipt.
Whilst MOF undertakes all reasonable efforts to screen outgoing e-mails for viruses, it cannot be held liable for any viruses transmitted by this e-mail."
Views
Replies
Total Likes
And when you check the xml, see if the structure matches what the form is expecting. You might need to manipulate the xml so that it will correctly merge with the form.
http://livedocs.adobe.com/livecycle/8.2/wb_help/001018.html
Scott
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies