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

后端 未结 2 1649
隐瞒了意图╮
隐瞒了意图╮ 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:17

    Try @WebService(wsdlLocation="http://yourdesiredlocation"). Not sure if it will work.

提交回复
热议问题