I wonder if there is some neat way to intercept the xml request request while calling the java webservice and xml method in response? I do not want to print these xmls to standard output, but to "catch" them on some line.
Yes, usually you use a soap proxy, for example soapUI . Just specify your webservice client in the proxy server and the proxy server on the real service.
Fiddler or SoapUI will allow you to see and even EDIT a request / response along a route.
, , .
.
, , - , , .
A tool to track HTTP, TCP, etc. traffic may be helpful.
If you can deploy servlets to a server by providing a web service, you might consider creating and deploying a simple filter. You can use this to register incoming and outgoing traffic.
Source: https://habr.com/ru/post/1702351/More articles:Polygon Filling: Fulfilling the Winding Rule Against the Even Rule - performanceFileNotFoundException error when a file exists - javaASP.NET MVC RC - creating a custom MVC control with codebehind - asp.net-mvcExplicit API methods and generic parameter-based API methods - apiC #: How to add a destructor to a custom class? - c #Using JNDI to get user group name in Windows XP - javaIQueryable setup - .netHow to handle obsolete connections? - javaWhy is my Access database not updating when I read it from another process? - ms-accessWatin в TFS 2008? - .netAll Articles