cancel
Showing results for 
Search instead for 
Did you mean: 

Property transfer [Missing match for Xpath]

SOLVED
Occasional Contributor

Property transfer [Missing match for Xpath]

Hi all.

I have promlem with Property transfer

 

My TestCase have 3 steps 

1) Test Reqest (reqest1.txt)

2) Property transfer (reqest1.txt - response1.txt)

3) Test Reqest 2 (reqest1.txt)

 

When I Run Property transfer log message "Missing match for Xpath [//requestID]"

If I check "set null on missing source" - transfer value = null

 

help me find mistake

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Occasional Contributor

Re: Property transfer [Missing match for Xpath]

Bigno!!!

 

it's work!

declare namespace s='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace h='UPRS/Datatypes/Infrastructure';
//s:Envelope[1]/s:Header[1]/h:RequestContext[1]/*[local-name() = 'requestID'][1]/text()

 

 

 

7 REPLIES 7
Community Hero

Re: Property transfer [Missing match for Xpath]

It appears that there is duplicate namespace defined for an element which is under header.


Regards,
Rao.
Occasional Contributor

Re: Property transfer [Missing match for Xpath]

Community Hero

Re: Property transfer [Missing match for Xpath]

I was talking about the response.


Regards,
Rao.
Occasional Contributor

Re: Property transfer [Missing match for Xpath]

response also have one requestID

 

if I parse xml in notepad++, i have true value

 

Community Hero

Re: Property transfer [Missing match for Xpath]

Have you tried something like below?

//RequestContext/requestID/text()


Regards,
Rao.
Occasional Contributor

Re: Property transfer [Missing match for Xpath]

Yes, it's did not help

Occasional Contributor

Re: Property transfer [Missing match for Xpath]

Bigno!!!

 

it's work!

declare namespace s='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace h='UPRS/Datatypes/Infrastructure';
//s:Envelope[1]/s:Header[1]/h:RequestContext[1]/*[local-name() = 'requestID'][1]/text()

 

 

 

New Here?
Join us and watch the welcome video:
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win