Reputation: 31
I created a Soap client using Spring tutorial: https://spring.io/guides/gs/consuming-web-service/
It works fine using the Java objects.
I wonder if there's a way I could obtain response (the payload, preferably without SOAP wrapper) as it is send by the service?
Thanks
Upvotes: 2
Views: 825
Reputation: 2297
You can see the request you send to the SOAP service and the response the service returns in your log application adding this property to your application.properties
logging.level.org.springframework.ws=TRACE
or this one if you are using application.yaml
logging:
level:
org:
springframework:
ws: TRACE
Upvotes: 1