We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The SOAP services we want to mock are using XML attributes. Based on an attribute, we would like to return a different response.
Imagine this part of the request:
<pets:getPetByIdRequest xmlns:pets="urn:com:example:petstore" id="10" />
The XPath for matching would be:
//pets:getPetByIdRequest/@id
We found out that only XML elements are supported in the XPath expression.
I'll provide a PR with XPath attribute expression support.
The text was updated successfully, but these errors were encountered:
feat: support XML attributes in SOAP request body XPath
6c6f037
Function to extract XPath attribute values in addition to other content values (such as XML elements). fixes outofcoffee#555
9653f8f
Successfully merging a pull request may close this issue.
The SOAP services we want to mock are using XML attributes. Based on an attribute, we would like to return a different response.
Imagine this part of the request:
The XPath for matching would be:
We found out that only XML elements are supported in the XPath expression.
I'll provide a PR with XPath attribute expression support.
The text was updated successfully, but these errors were encountered: