Contributions
- 846Views0likes0Comments
Re: using XPath assertion in SoapUI free version
In the response i did not see any namespace declaration. In which case the below XPath query should fetch you the totalSize element. Note: You do not need to declare a namespace in your XPath Assertion as per the response you have attached. /searchResponse/totalSize Thanks4.8KViews0likes0CommentsRe: Where are log files stored on SoapUI
SoapUI uses Log4j utility for logging. The default log4j configuration file (soapui-log4j.xml) is located within the bin folder under your parent SoapUI folder. If you have not modified this .xml file, your logs can also be found within the same bin folder. Thanks, Anand31KViews1like0CommentsRe: using XPath assertion in SoapUI free version
Nishi, The XPATH used in SOAP UI is standard XPATH. So learning the basics for e.g. from W3Schools http://www.w3schools.com/xpath/default.asp should suffice for starters. I'm not sure if its only me, but i'm not fully able to understand the issue. Could you please provide the complete XML document you are trying to traverse or provide some screen shots if possible of what you say is the discripency. That should help better understand the problem Thanks4.8KViews0likes0CommentsUnable to access child nodes in SOAP response using XPATH
Below is my SOAP response. I am try to retrieve the text values of the child nodes ns1:busnsOrgLocAddr. However i am not able to traverse using XPATH beyond soapenv:Body Any suggestions on what can be done ? <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <read_DnBEnrichedDataByIDResponse xmlns="http://service.intel.com"> <read_DnBEnrichedDataByIDReturn> <ns1:busnsOrgLocAddr xmlns:ns1="http://res.readdnbenricheddatabyid.com"> <ns1:addrUsgTypeCd>Mailing</ns1:addrUsgTypeCd> <ns1:busnsOrgAddrTypeCd>ORGALTADDR</ns1:busnsOrgAddrTypeCd> </ns1:busnsOrgLocAddr> <ns2:busnsOrgNm xmlns:ns2="http://res.readdnbenricheddatabyid.com"> <ns2:busnsOrgNm>Artus Beteiligungsverwaltungsges. mbH</ns2:busnsOrgNm> <ns2:busnsOrgNmTypeCd>HDQPRNTNM</ns2:busnsOrgNmTypeCd> </ns2:busnsOrgNm> <ns3:busnsOrgNm xsi:nil="true" xmlns:ns3="http://res.readdnbenricheddatabyid.com"/> <ns4:ceoNm xmlns:ns4="http://res.readdnbenricheddatabyid.com">Friedrich Ganz</ns4:ceoNm> <ns5:sic xmlns:ns5="http://res.readdnbenricheddatabyid.com"> <ns5:stdIndusClassCd>6719</ns5:stdIndusClassCd> <ns5:stdIndusClassDsc>Holding companies, nec, nsk</ns5:stdIndusClassDsc> <ns5:sicTypeCd>SIC1</ns5:sicTypeCd> </ns5:sic> <ns6:sic xmlns:ns6="http://res.readdnbenricheddatabyid.com"> <ns6:stdIndusClassCd>6411</ns6:stdIndusClassCd> <ns6:stdIndusClassDsc>Insurance agents, brokers, and service</ns6:stdIndusClassDsc> <ns6:sicTypeCd>SIC2</ns6:sicTypeCd> </ns6:sic> <ns7:orgStrtYr xmlns:ns7="http://res.readdnbenricheddatabyid.com">2009</ns7:orgStrtYr> <ns8:slsVolUsd xmlns:ns8="http://res.readdnbenricheddatabyid.com">0</ns8:slsVolUsd> <ns9:totEmpCnt xmlns:ns9="http://res.readdnbenricheddatabyid.com">4</ns9:totEmpCnt> </read_DnBEnrichedDataByIDReturn> </read_DnBEnrichedDataByIDResponse> </soapenv:Body> </soapenv:Envelope> In Property Transfer Step, the below works declare namespace ns1='http://res.createaccountcoverage.com'; declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; //soapenv:Envelope/soapenv:Body However further traversal does not work (result is null), such as declare namespace ns1='http://res.createaccountcoverage.com'; declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; //soapenv:Envelope/soapenv:Body/read_DnBEnrichedDataByIDResponse1.3KViews0likes2Comments