1 10 11 package org.mule.providers.soap.xfire.wsdl; 12 13 import java.net.URL ; 14 15 import org.codehaus.xfire.XFire; 16 import org.codehaus.xfire.client.Client; 17 import org.codehaus.xfire.service.Service; 18 import org.mule.providers.soap.xfire.XFireClientPoolFactory; 19 import org.mule.umo.endpoint.UMOImmutableEndpoint; 20 21 public class XFireWsdlClientPoolFactory extends XFireClientPoolFactory 22 { 23 24 public XFireWsdlClientPoolFactory(UMOImmutableEndpoint endpoint, Service service, XFire xfire) 25 { 26 super(endpoint, service, xfire); 27 } 28 29 public Object makeObject() throws Exception 30 { 31 Client client = new Client(new URL (uri.getAddress())); 34 client.setXFire(xfire); 35 client.setEndpointUri(uri.toString()); 36 return client; 37 } 38 39 } 40 | Popular Tags |