jkgupta0003
10 years agoOccasional Contributor
Error in loading wsdl file
Hi, I am facing the problem while loading the wsdl in soapui 5.1.3 version. As soon as I am loading it, it asks for NT authentications and I provide it credentials but it fails to load the wsdl. ...
- 9 years ago
Hi Aksingia,
You can use inline property expansion:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gdox="http://www.GDOXBA0.GDOXBA0I.Request.com"> <soapenv:Header/> <soapenv:Body> <gdox:GDOXBA0Operation> <gdox:data_appli> <gdox:imports> <gdox:import_id_doc_stk>${Previous Step Name#Response#(//*:export_id_doc_stk)[1]}</gdox:import_id_doc_stk> </gdox:imports> </gdox:data_appli> </gdox:GDOXBA0Operation> </soapenv:Body> </soapenv:Envelope>
or the Property Transfer step with this config:
Source: the source step
Property: Response or ResponseAsXml
Path language: XPath
Expression:(//*:export_id_doc_stk)[1]
(meaning: find all "export_id_doc_stk" nodes and take the first match)
Target: the target step
Property: Request
Path language: XPath
Expression://*:import_id_doc_stk
In XPath, "//" means "find the element on any level" and "*" matches any namespace prefix, allowing for shorter and simpler notation.