开发者

where do I set the web-service host name for an EJB3 client

开发者 https://www.devze.com 2022-12-15 15:39 出处:网络
Where do I set the web-service host name for an EJB3 c开发者_开发知识库lient, when the web-service client is injected.You didn\'t specify any information. Please do. Before that, I\'ll assume you have

Where do I set the web-service host name for an EJB3 c开发者_开发知识库lient, when the web-service client is injected.


You didn't specify any information. Please do. Before that, I'll assume you have @WebServiceClient annotation. It has a wsdlLocation property which can be set to a full URL, including the host name of the provider.


If it's anything like how JMS clients work, then you would need to provide the client with a JNDI that refers to the address of the service provider.

0

精彩评论

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