注入Web服务客户端时,应在哪里设置EJB3客户端的Web服务主机名。
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.
如果类似于JMS客户端的工作方式,那么您需要为客户端提供一个JNDI,该JNDI引用服务提供者的地址。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.