-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
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
Question - SOAP - Error on "No operations found matching body root" #538
Comments
Hi @CedricMtta, thank you for raising this. Are you able to see the HTTP headers for your request? Ideally, either the In the WSDL you shared, this is blank: <soap:operation soapAction="" /> If this is intentional, then Imposter will attempt to fall back to matching the root element in the SOAP request body against the 'input' messages in the WSDL. It's possible that the |
Hi @CedricMtta, support for the Please let us know if this resolves the issue you were seeing. |
Hi @outofcoffee , Thanks a lot for your time ! That sounds great. I gave it a shot with version v3.38.1 and I cannot start Imposter: I face a NullPointerException. I set the log level to TRACE, and here is the result:
I also gave a shot with version 3.37 and Imposter is well able to start with this version. If I can help you by providing more information, don't hesitate to ask. Thanks again for your time and help. Have a nice day, |
Hi @CedricMtta, thank you for the update and for checking back against older versions. I'm guessing that the WSDL has elements defined with anonymous inner types; resolution of these was too sensitive causing the NPE you reported. The behaviour is more tolerant as of v3.38.2 - I hope this helps! |
Hi @outofcoffee , With pleasure. I confirm it is working like a charm with v3.38.2 :) Thanks a lot for your reactivity ! The issue can be closed. I wish you a nice day. |
Hello,
Thanks for this great project.
I successfully used Imposter with Quarkus CXF guide and a "Calculator" SOAP service, cf: https://docs.quarkiverse.io/quarkus-cxf/dev/user-guide/first-soap-client.html
Now, I'm trying to apply it on a real use case for our company.
I cannot share the whole WSDL unfortunately, but the most relevant part is the service and binding:
My imposter config is the following:
I run it through docker.
I generate a Java client using Quarkus CXF, and when I target the imposter docker container I run into the following error message:
I logged the generated SOAP Request from CXF for the working "calculator" CXF SOAP guide, and the one for my "SomeBusinessName" SOAP service and I don't see a relevant difference.
Apologize for not being able to provide complete WSDL and request output.
Do you see something wrong with what I did so far ? Or might it be the WSDL is too complex for Imposter to map it without some help ?
Thanks in advance for your time, I wish you a good day.
The text was updated successfully, but these errors were encountered: