Package org.apache.cxf.testutils.locator

Examples of org.apache.cxf.testutils.locator.LocatorService


    public void testLocatorService() throws Exception {
        URL wsdl = getClass().getResource("/wsdl/locator.wsdl");
        assertNotNull(wsdl);

        LocatorService_Service ss = new LocatorService_Service(wsdl, serviceName);
        LocatorService port = ss.getLocatorServicePort();

       
        port.registerPeerManager(new org.apache.cxf.ws.addressing.EndpointReferenceType(),
                                 new Holder<org.apache.cxf.ws.addressing.EndpointReferenceType>(),
                                 new Holder<java.lang.String>());

        port.deregisterPeerManager(new java.lang.String());

       
        port.registerEndpoint(null, new org.apache.cxf.ws.addressing.EndpointReferenceType());

       
        port.deregisterEndpoint(null, new org.apache.cxf.ws.addressing.EndpointReferenceType());

       
       
        port.lookupEndpoint(new javax.xml.namespace.QName("", ""));
           
        port.listEndpoints();

        port.queryEndpoints(new QuerySelectType());

    }
View Full Code Here

TOP

Related Classes of org.apache.cxf.testutils.locator.LocatorService

Copyright © 2018 www.massapicom. 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.