且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用JAX-WS更改运行时生成的WSDL中的schemaLocation和soap:address位置

更新时间:2023-09-11 23:25:04

如果您在请求中保留原始主机名(例如,如果您使用 ProxyPreserveHost On c $ c> mod_proxy )如果你使用相同的协议,这应该修复你的URL。如果您的代理在 https http 之间切换,您可能仍会遇到问题。

If you keep the original hostname in your request (e.g use ProxyPreserveHost On if you use mod_proxy) this should fix your URLs, if you use the same protocol. You may still have problems if your proxy switches between https and http.