This repository was archived by the owner on Oct 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
how to do body transforming for soap request with multiple tags with same name #39
Comments
Hi @Bhavana23, |
Hi @KRoLer Yeah, I did the change, but I need the values in the below content
|
Hey @Bhavana23, It looks like the code didn't handle such kind of situation. for (String field : fieldNames) {
if (tempObject instanceof Map) {
tempObject = ((Map) tempObject).get(field);
}
} There are two ways to fix it:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am new to wiremock and wiremock-body-transformer i have a soap request(namespaced) for which i am using wiremock. my response should be dynamic . Response has to be changed based on the request data. i am providing the sample request.
When Iam accessing $(Body.ProcessMessage.payload.content.Process.apparea.sender.Component), then iam getting null value.
I observed that the $(Body.ProcessMessage.payload.content) is returning the values of second content tag.
I need to access the data in the first content tag.
Could you please help me on it.
The text was updated successfully, but these errors were encountered: