开发者

apache cxf - specify endpoint url

I have an tomcat instance running at port 8080 and a apache cxf webservice running at /services path. Now i dont want to expose this tomcat server directly so i use nginx as its proxy at 开发者_开发技巧port 80. The problem is the webservice endpoint is relative to the tomcat server so it is still at port 8080.

Is is possible to change this endpoint url so client's request will go to the nginx proxy ?

Thank you.


<jaxws:endpoint id="aWebService"
    implementor="package.class"
    address="adressOfYourServer/nameOfYourService">

</jaxws:endpoint>

It's working for me

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜