>From my webservice , i am calling another WebService .
So inside my webservice code , i am writing the code this way
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(MyWebService.class);
String host = "refers to another webservce/address "
factory.setAddress(host);
MyWebService client = (MYWebService) factory.create();
Client clientProxy = ClientProxy.getClient(client);
HTTPConduit conduit = (HTTPConduit) clientProxy.getConduit();
HTTPClientPolicy policy = new HTTPClientPolicy();
policy.setConnectionTimeout(0L);
policy.setReceiveTimeout(0L);
conduit.setClient(policy);
The problem is that , we dont have MyWebService class with us . my question
can we write a client , without dependencies ??
--
View this message in context:
http://cxf.547215.n5.nabble.com/Writing-Webservice-client-without-any-dependencies-tp5015504p5015504.html
Sent from the cxf-user mailing list archive at Nabble.com.