开发者

JBoss web service client host url configuration

I have a ejb3 using a web service and configure the host name of the web service in the ejb-jar.xml file (or @WebServiceRef(wsdlLocation = "http:://myserver/service.wsdl") ). Can I do the same configure outside of the e开发者_Python百科jb-jar.xml file, similar to how a DataSource is configured?


You can use deployment descriptors to override settings made by annotations. Maybe you can inject the values from outside, declaring a class similar to that what is described here:

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/twbs_devwbsjaxwsclient_dyn.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜