Examples of CXFConnectionSpec


Examples of org.apache.cxf.jca.outbound.CXFConnectionSpec

        Context ctx = new InitialContext();
        CXFConnectionFactory factory = (CXFConnectionFactory)ctx.lookup(EIS_JNDI_NAME);

        // create the connection
        //
        CXFConnectionSpec spec = new CXFConnectionSpec();
        spec.setWsdlURL(getClass().getResource("/wsdl/hello_world.wsdl"));
        spec.setBusConfigURL(getClass().getResource("/etc/cxf_client.xml"));
        spec.setServiceName(new QName("http://apache.org/hello_world_soap_http", "SOAPService"));
        spec.setEndpointName(new QName("http://apache.org/hello_world_soap_http", "SoapPort"));
        spec.setServiceClass(Greeter.class);
        return factory.getConnection(spec);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.