Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to get node using xpath in soapUI
    primarykey
    data
    text
    <p>How can i access "AccountId" node from following response file using Xpath in soapUI 4.0.0?</p> <p>Thanks in advance.</p> <p>Response file is as follow,</p> <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;s:Body&gt; &lt;GetResponse xmlns="http://www.xyz.com/cmw/tcm/account"&gt; &lt;GetResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;Account&gt; &lt;AccountId&gt;14338049839&lt;/AccountId&gt; &lt;AccountLabel&gt;Spara Femman&lt;/AccountLabel&gt; &lt;AccountRoleDTOList&gt; &lt;AccountRole&gt; &lt;AddressTypeId&gt;REC&lt;/AddressTypeId&gt; &lt;EndDay i:nil="true"/&gt; &lt;ExtPosReference i:nil="true"/&gt; &lt;HolderId&gt;10533&lt;/HolderId&gt; &lt;HolderName&gt;TÄRNHOLMS HOTELL AB&lt;/HolderName&gt; &lt;HolderTypeId&gt;COR&lt;/HolderTypeId&gt; &lt;IdentificationId&gt;005164006917&lt;/IdentificationId&gt; &lt;ReportProfileId&gt;3&lt;/ReportProfileId&gt; &lt;ReportProfileName&gt;Standard&lt;/ReportProfileName&gt; &lt;RoleDocumentPath i:nil="true"/&gt; &lt;RoleId&gt;HOL&lt;/RoleId&gt; &lt;RoleName&gt;Holder&lt;/RoleName&gt; &lt;ShareOfAccount&gt;100.00000&lt;/ShareOfAccount&gt; &lt;/AccountRole&gt; &lt;/AccountRoleDTOList&gt; &lt;AccountTypeId&gt;AGG&lt;/AccountTypeId&gt; &lt;CloseDay i:nil="true"/&gt; &lt;CurrencyId&gt;SEK&lt;/CurrencyId&gt; &lt;CustodianAccountId i:nil="true"/&gt; </code></pre> <p>I have tried it by using following code... but it's not working </p> <pre><code>declare namespace i='http://www.w3.org/2001/XMLSchema-instance'; //i:GetResult[1]/Account[1] </code></pre> <p>But i am getting error like, Missing content for xpath declare namespace i='<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>'; //i:GetResult[1]/Account[1] in response</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload