How to start cxf service on localhost but return external address in wsdl?

后端 未结 2 1659
隐瞒了意图╮
隐瞒了意图╮ 2021-01-14 00:25

I\'m using cxf and jetty behind apache to expose a webservice via soap. The goal is to start jetty on http://localhost:9000 in all cases and have apache proxy to it, but ha

2条回答
  •  醉话见心
    2021-01-14 01:18

    The jaxws:endpoint configuration thing has a "publishedEndpointURL" which is used instead of the address if it's specified. In know the servlet uses that properly, not 100% sure on the jetty. They share a lot of code so it MAY work.

提交回复
热议问题