Package testClient

Examples of testClient.TestInvocation


    public String invokeTest( String input ) throws Exception {
      //Web service invocation via JAXWS
      QName serviceName = new QName("http://test/", "TestInvocationService");
      URL wsdlLocation = this.getClass().getClassLoader().getResource("TestClient.wsdl");
      javax.xml.ws.Service webService = Service.create( wsdlLocation, serviceName );
      TestInvocation wsProxy = (TestInvocation) webService.getPort(testConfiguration.getServiceInterface());

      String output = wsProxy.invokeTest(input);

      return output;
    } // end method invokeTest
View Full Code Here


    public String invokeTest(String input) throws Exception {
        //Web service invocation via JAXWS
        QName serviceName = new QName("http://test/", "TestInvocationService");
        URL wsdlLocation = this.getClass().getClassLoader().getResource("TestClient.wsdl");
        javax.xml.ws.Service webService = Service.create(wsdlLocation, serviceName);
        TestInvocation wsProxy = (TestInvocation)webService.getPort(testConfiguration.getServiceInterface());

        String output = wsProxy.invokeTest(input);

        return output;
    } // end method invokeTest
View Full Code Here

TOP

Related Classes of testClient.TestInvocation

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.