开发者

How to hide interface methods in the web service when using @WebService's `endpointInterface` attribute?

开发者 https://www.devze.com 2022-12-11 12:03 出处:网络
Is there a way to prevent a method from an interface used in @WebService\'s endpointInterface attribute to be exposed in the web service? I\'m using the endpointInterface as that seems to be the only

Is there a way to prevent a method from an interface used in @WebService's endpointInterface attribute to be exposed in the web service? I'm using the endpointInterface as that seems to be the only way to make the service work on JBoss with Metro, 开发者_Python百科not doing so results in a:

javax.xml.ws.WebServiceException: Undefined port type


Tried annotating the methods you don't want to be exposed as @WebMethod(exclude = true)?

0

精彩评论

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