[prev in list] [next in list] [prev in thread] [next in thread]
List: openejb-development
Subject: WebService client with external configuration?
From: DonatasCiuksys <donatas.ciuksys () mitsoft ! lt>
Date: 2013-08-01 8:30:15
Message-ID: 1375345815309-4664445.post () n4 ! nabble ! com
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic