All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.scoopgmbh.customerservice.CustomerService_CustomerServicePort_Client Maven / Gradle / Ivy

Go to download

COPPER is an open-source, powerful, light-weight, and easily configurable workflow engine. The power of COPPER is that it uses Java as a description language for workflows.

There is a newer version: 4.0.0-alpha1
Show newest version

/*
 * Copyright 2002-2013 SCOOP Software GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.scoopgmbh.customerservice;

/**
 * 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.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;

/**
 * This class was generated by Apache CXF 2.6.0
 * 2013-12-19T10:16:59.466+01:00
 * Generated source version: 2.6.0
 * 
 */
public final class CustomerService_CustomerServicePort_Client {

    private static final QName SERVICE_NAME = new QName("http://customerservice.scoopgmbh.de/", "CustomerServiceService");

    private CustomerService_CustomerServicePort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = CustomerServiceService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[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();
            }
        }
      
        CustomerServiceService ss = new CustomerServiceService(wsdlURL, SERVICE_NAME);
        CustomerService port = ss.getCustomerServicePort();  
        
        {
        System.out.println("Invoking getCustomersByMsisdn...");
        de.scoopgmbh.customerservice.GetCustomersByMsisdnRequest _getCustomersByMsisdn_parameters = null;
        de.scoopgmbh.customerservice.GetCustomersByMsisdnResponse _getCustomersByMsisdn__return = port.getCustomersByMsisdn(_getCustomersByMsisdn_parameters);
        System.out.println("getCustomersByMsisdn.result=" + _getCustomersByMsisdn__return);


        }

        System.exit(0);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy