开发者

Alter response throught proxy

开发者 https://www.devze.com 2023-04-02 20:24 出处:网络
I use SoapUI to test a certain webservice. The wsdl the webservice returns is not opt开发者_JS百科imal for SoapUI, so I want to modify the response. Since the wsdl is still subject to change, i want t

I use SoapUI to test a certain webservice. The wsdl the webservice returns is not opt开发者_JS百科imal for SoapUI, so I want to modify the response. Since the wsdl is still subject to change, i want the connection to go through a custom proxys, which modifies the response if the response is from certain pages. Other pages should be put through untouched.

How would I create such proxy in Java? I want to do as few HTTP specific logic in the proxy, just alter the response of some pages.

0

精彩评论

暂无评论...
验证码 换一张
取 消