Skip to content
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

Support to mock soap faults for different HTTP Status Code #2

Closed
writemevenkat opened this issue Apr 26, 2018 · 1 comment
Closed

Comments

@writemevenkat
Copy link

Hi Thomas, This really helped me a lot to mock the services for unit testing in spring boot/camel, I'm trying to throw a soap fault response with different HTTP status codes and it only works for HTTP 500. When i tired with 401 or 402, I got the following error "org.apache.cxf.interceptor.Fault: Could not send Message" instead of getting the soap fault response. see if you can help here ?

@skjolber
Copy link
Owner

skjolber commented May 2, 2018

Do you have a representative example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants