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.
精彩评论