Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to intercept xml response and request during web service invocation? [closed]

Tags:

java

jaxb

jax-ws

I wonder if there is some neat way to intercept xml request send during java webservice method invocation and xml given in response? I don't want to print those xmls to standard output but to "catch" them in some string.

like image 521
mgamer Avatar asked Nov 16 '25 13:11

mgamer


1 Answers

Yes, normally you use a soap proxy like soapUI. Simply point your webservice client at the proxy and the proxy at the real service.

like image 151
krosenvold Avatar answered Nov 19 '25 02:11

krosenvold



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!