Skip to content

Commit 018fc79

Browse files
committed
refactor(soap): matches type message parts on operation name.
1 parent 5b0adf7 commit 018fc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mock/soap/src/main/java/io/gatehill/imposter/plugin/soap/SoapResourceMatcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class SoapResourceMatcher(
209209
op.inputRef.elementName.localPart == bodyRootElement.name
210210
}
211211
is TypeOperationMessage -> {
212-
op.inputRef.operationName == bodyRootElement.name
212+
op.name == bodyRootElement.name
213213
// TODO consider matching on body child element names against part names
214214
}
215215
else -> false

0 commit comments

Comments
 (0)