You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by DonatasCiuksys <do...@mitsoft.lt> on 2013/08/01 10:30:15 UTC
WebService client with external configuration?
I know it is possible to configure webservice client programatically, but is
it possible to configure client in some external file? For example:
<jaxws:client
id="ClassifierWS"
serviceClass="classifierws.ClassifierWS"
address="${ClassifierWS.endpoint.address}">
<jaxws:outInterceptors>
<ref bean="WSS4JOutInterceptor" />
</jaxws:outInterceptors>
<jaxws:properties>
<entry key="password" value="${webservices.security.password}"
/>
</jaxws:properties>
</jaxws:client>
In
http://rmannibucau.wordpress.com/2012/10/04/jax-rsjax-ws-configuration-for-tomee-1-5-0/
<http://rmannibucau.wordpress.com/2012/10/04/jax-rsjax-ws-configuration-for-tomee-1-5-0/>
there is an example, how to configure web service in openejb-jar.xml, but:
1. how to configure the client?
2. how to get the configured client? via @Inject ?
--
View this message in context: http://openejb.979440.n4.nabble.com/WebService-client-with-external-configuration-tp4664445.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.