Forum Discussion

naga123's avatar
16 years ago

soapui Property Transfer Exception: Missing match for Source xpath

Hi,

I am new to using SOAP ui for writing webservice test cases. As part our test case we are trying to populate the properties using Preprty transfer from one response to a property. Here is my Reponse i am trying to use to get a value and try to populate it to another property.

Response:


 
     
        9FAD867369EA06534805651E05911870
     

 


Source of Property transfer:

declare namespace soap='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace ns1='urn:services.abc.com';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';

//logInReturn/text()

Target:

source value assigning it to a property called "sessionId"

In the process of property transfer i am getting the following error:

soapui Property Transfer Exception: Missing match for Source xpath

can any one have any idea why i am getting this error, I am desparate to  solve this thing,please help on this.

thanks,
-Naga123

2 Replies

  • Hi,

    please try it like this


    declare namespace ns1='urn:services.abc.com';
    //ns1:logInResponse[1]/ns1:logInReturn[1]


    Let us know if this helps

    Regards Nebojsa
  • dinobear's avatar
    dinobear
    New Contributor
    I had a similar issue and have been trying to make it work for a while. Ran into your solution and works perfectly! Thank you! Didn't think of it at first because the session id tag doesn't have the namespace included.