Hello all,
I´m a newbie to all this, and i´d like to explain a problem I have yet to
find a solution for.
We´ve set up a demo application with web services using a Spring context
taking advantage of CXF features.
<bean id="cliente" class="indra.cm.demo.spring.ServicioSaldo"
factory-bean="clientFactory" factory-method="create"/>
<bean id="clientFactory"
class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass"
value="indra.cm.demo.spring.ServicioSaldo"/>
<property name="address"
value="http://localhost:8080/Cxf_Spring_1/
ServicioSaldo"/>
</bean>
This is our standalone client:
ClassPathXmlApplicationContext context
= new ClassPathXmlApplicationContext(new String[]
{"indra/
cm/demo/spring/client/cliente-beans.xml"});
ServicioSaldo client =
(ServicioSaldo)context.getBean("cliente");
String response1 = client.getOficina("22222");
String response2 = client.getSaldo("33333", "Luis M.
Fdez");
System.out.println("Response1: " + response1);
System.out.println("Response2: " + response2);
Is there any way of building a non standalone client? is that possible?
Thx.
--
View this message in context:
http://www.nabble.com/Spring---CXF-integration-non-standalone-client-tf4724955.html#a13508868
Sent from the cxf-dev mailing list archive at Nabble.com.