Package org.apache.cxf.xmlbeans.wsdltest

Examples of org.apache.cxf.xmlbeans.wsdltest.GreeterMine


        BusFactory.setDefaultBus(bus);
        URL wsdlURL = XmlBeansTest.class.getResource("/wsdl/xmlbeanstest.wsdl");
        SOAPMineService ss =
            new SOAPMineService(wsdlURL,
                                new QName("http://cxf.apache.org/xmlbeans/wsdltest", "SOAPMineService"));
        GreeterMine port = ss.getSoapPort();
       
        SayHi2MessageDocument document = SayHi2MessageDocument.Factory.newInstance();
        StringListType stringListType = document.addNewSayHi2Message();
        stringListType.setMyname("sean");
        stringListType.setMyaddress("home");
        port.sayHi2(document);
    }
View Full Code Here


        BusFactory.setDefaultBus(bus);
        URL wsdlURL = XmlBeansTest.class.getResource("/wsdl/xmlbeanstest.wsdl");
        SOAPMineService ss =
            new SOAPMineService(wsdlURL,
                                new QName("http://cxf.apache.org/xmlbeans/wsdltest", "SOAPMineService"));
        GreeterMine port = ss.getSoapPort();
        ((BindingProvider)port).getRequestContext()
            .put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
                 "http://localhost:" + PORT + "/SoapContext/SoapPort");
      
       
        SayHi2MessageDocument document = SayHi2MessageDocument.Factory.newInstance();
        StringListType stringListType = document.addNewSayHi2Message();
        stringListType.setMyname("sean");
        stringListType.setMyaddress("home");
        port.sayHi2(document);
    }
View Full Code Here

        BusFactory.setDefaultBus(bus);
        URL wsdlURL = XmlBeansTest.class.getResource("xmlbeanstest.wsdl");
        SOAPMineService ss =
            new SOAPMineService(wsdlURL,
                                new QName("http://cxf.apache.org/xmlbeans", "SOAPMineService"));
        GreeterMine port = ss.getSoapPort();

        StringListType stringListType = StringListType.Factory.newInstance();
        stringListType.setMyname("sean");
        stringListType.setMyaddress("home");
        port.sayHi2(stringListType);
    }
View Full Code Here

TOP

Related Classes of org.apache.cxf.xmlbeans.wsdltest.GreeterMine

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.