开发者

JBoss web service client host url configuration

开发者 https://www.devze.com 2022-12-15 07:52 出处:网络
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 config

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

精彩评论

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