Package org.jboss.soa.bpel.tests.harness

Source Code of org.jboss.soa.bpel.tests.harness.SecureServiceTestHarness_SecureServiceTestHarnessPort_Client

package org.jboss.soa.bpel.tests.harness;

/**
* Please modify this class to meet your needs
* This class is not complete
*/

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
* This class was generated by Apache CXF 2.2.6
* Mon Jun 14 11:12:40 BST 2010
* Generated source version: 2.2.6
*
*/

public final class SecureServiceTestHarness_SecureServiceTestHarnessPort_Client {

    private static final QName SERVICE_NAME = new QName("http://harness.tests.bpel.soa.jboss.org/", "SecureServiceTestHarnessService");

    private SecureServiceTestHarness_SecureServiceTestHarnessPort_Client() {
    }

    public static void main(String args[]) throws Exception {
        URL wsdlURL = SecureServiceTestHarnessService.WSDL_LOCATION;
        if (args.length > 0) {
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
     
        SecureServiceTestHarnessService ss = new SecureServiceTestHarnessService(wsdlURL, SERVICE_NAME);
        SecureServiceTestHarness port = ss.getSecureServiceTestHarnessPort()
       
        {
        System.out.println("Invoking runTest...");
        int _runTest_arg0 = 0;
        boolean _runTest__return = port.runTest(_runTest_arg0);
        System.out.println("runTest.result=" + _runTest__return);


        }

        System.exit(0);
    }

}
TOP

Related Classes of org.jboss.soa.bpel.tests.harness.SecureServiceTestHarness_SecureServiceTestHarnessPort_Client

TOP
Copyright © 2015 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.