Forum Discussion

vinay11283's avatar
vinay11283
New Member
7 years ago

[ISSUE] SOAP UI Property transfer fails during Maven execution - XQuery to XPath transfer

Hello,

 

Property transfer xquery works in SoapUI application but fails via maven execution.

 

[[net.sf.saxon.trans.XPathException: XPath syntax error at char 1 on line 2 in {\nlet $}:
'let' is not supported in XPath]] from [GetProductResponse] to [validateRegistrationRequest]

 

 

I have a xquery to do the property transfer.

 

I also have these dependencies in pom.xml

<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans-xpath</artifactId>
<version>2.4.0</version>
</dependency>

<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
<version>9</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-xpath</artifactId>
<version>8.7</version>
</dependency>

<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
<version>9</version>
</dependency>

 

1 Reply

  • JHunt's avatar
    JHunt
    Community Hero

    I don't know much lot about Maven, but I know that the JARs SoapUI uses (Apache commons, Xmlbeans, etc) are in

     

    %SOAPUI_HOME%/lib

    Is it possible that your build is picking up the specified dependencies from sources other than that folder, and potentially getting different versions?