
package at.vvo.omds.types.omds3Types.r1_1_1.service;

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

import at.vvo.omds.types.omds3Types.r1_1_1.servicetypes.*;

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;

/**
 * This class was generated by Apache CXF 3.2.0
 * 2019-06-12T15:25:02.540+02:00
 * Generated source version: 3.2.0
 * 
 */
public final class OmdsServicePortType_OmdsServicePort_Client {

    private static final QName SERVICE_NAME = new QName("urn:omds3Services-1-1-0", "omdsService");

    private OmdsServicePortType_OmdsServicePort_Client() {
    }

    public static void main(String args[]) throws Exception {
        URL wsdlURL = OmdsService.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();
            }
        }
      
        OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
        OmdsServicePortType port = ss.getOmdsServicePort();  
        
        {
        System.out.println("Invoking initiateClaim...");
        InitiateClaimRequestType _initiateClaim_parameters = null;
        try {
            InitiateClaimResponseType _initiateClaim__return = port.initiateClaim(_initiateClaim_parameters);
            System.out.println("initiateClaim.result=" + _initiateClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getUserData...");
        UserDataRequest _getUserData_parameters = null;
        try {
            UserDataResponse _getUserData__return = port.getUserData(_getUserData_parameters);
            System.out.println("getUserData.result=" + _getUserData__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getChangedClaimsList...");
        ChangedClaimsListRequestType _getChangedClaimsList_parameters = null;
        try {
            ChangedClaimsListResponseType _getChangedClaimsList__return = port.getChangedClaimsList(_getChangedClaimsList_parameters);
            System.out.println("getChangedClaimsList.result=" + _getChangedClaimsList__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking searchClaim...");
        SearchClaimRequestType _searchClaim_parameters = null;
        try {
            SearchClaimResponseType _searchClaim__return = port.searchClaim(_searchClaim_parameters);
            System.out.println("searchClaim.result=" + _searchClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking deepLinkPolicy...");
        DeepLinkPolicyRequest _deepLinkPolicy_parameters = null;
        try {
            DeepLinkBusinessObjectResponse _deepLinkPolicy__return = port.deepLinkPolicy(_deepLinkPolicy_parameters);
            System.out.println("deepLinkPolicy.result=" + _deepLinkPolicy__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getDocumentInfos...");
        GetDocumentInfosRequestType _getDocumentInfos_parameters = null;
        try {
            GetDocumentInfosResponseType _getDocumentInfos__return = port.getDocumentInfos(_getDocumentInfos_parameters);
            System.out.println("getDocumentInfos.result=" + _getDocumentInfos__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking deepLinkPartner...");
        DeepLinkPartnerRequest _deepLinkPartner_parameters = null;
        try {
            DeepLinkBusinessObjectResponse _deepLinkPartner__return = port.deepLinkPartner(_deepLinkPartner_parameters);
            System.out.println("deepLinkPartner.result=" + _deepLinkPartner__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking addDocToClaim...");
        AddDocToClaimRequestType _addDocToClaim_parameters = null;
        try {
            AddDocToClaimResponseType _addDocToClaim__return = port.addDocToClaim(_addDocToClaim_parameters);
            System.out.println("addDocToClaim.result=" + _addDocToClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getClaimLight...");
        SpezifikationSchadenType _getClaimLight_parameters = null;
        try {
            GetClaimResponseLightType _getClaimLight__return = port.getClaimLight(_getClaimLight_parameters);
            System.out.println("getClaimLight.result=" + _getClaimLight__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getOMDSPackageList...");
        OMDSPackageListRequest _getOMDSPackageList_parameters = null;
        try {
            OMDSPackageListResponse _getOMDSPackageList__return = port.getOMDSPackageList(_getOMDSPackageList_parameters);
            System.out.println("getOMDSPackageList.result=" + _getOMDSPackageList__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getArcImageInfos...");
        ArcImageInfosRequest _getArcImageInfos_parameters = null;
        try {
            ArcImageInfosResponse _getArcImageInfos__return = port.getArcImageInfos(_getArcImageInfos_parameters);
            System.out.println("getArcImageInfos.result=" + _getArcImageInfos__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getLossEventList...");
        LossEventListRequestType _getLossEventList_parameters = null;
        try {
            LossEventListResponseType _getLossEventList__return = port.getLossEventList(_getLossEventList_parameters);
            System.out.println("getLossEventList.result=" + _getLossEventList__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking declareEndpoint...");
        DeclareEndpointRequestType _declareEndpoint_parameters = null;
        try {
            DeclareEndpointResponseType _declareEndpoint__return = port.declareEndpoint(_declareEndpoint_parameters);
            System.out.println("declareEndpoint.result=" + _declareEndpoint__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking login...");
        LoginRequestType _login_parameters = null;
        try {
            DeepLinkBusinessObjectResponse _login__return = port.login(_login_parameters);
            System.out.println("login.result=" + _login__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking deepLinkOffer...");
        DeepLinkOfferRequest _deepLinkOffer_parameters = null;
        try {
            DeepLinkBusinessObjectResponse _deepLinkOffer__return = port.deepLinkOffer(_deepLinkOffer_parameters);
            System.out.println("deepLinkOffer.result=" + _deepLinkOffer__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getOMDSPackage...");
        OMDSPackageRequest _getOMDSPackage_parameters = null;
        try {
            OMDSPackageResponse _getOMDSPackage__return = port.getOMDSPackage(_getOMDSPackage_parameters);
            System.out.println("getOMDSPackage.result=" + _getOMDSPackage__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getNumberOfDocuments...");
        GetNumberOfDocumentsRequestType _getNumberOfDocuments_parameters = null;
        try {
            GetNumberOfDocumentsResponseType _getNumberOfDocuments__return = port.getNumberOfDocuments(_getNumberOfDocuments_parameters);
            System.out.println("getNumberOfDocuments.result=" + _getNumberOfDocuments__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking createClaim...");
        CreateClaimRequestType _createClaim_parameters = null;
        try {
            CreateClaimResponseType _createClaim__return = port.createClaim(_createClaim_parameters);
            System.out.println("createClaim.result=" + _createClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getArcImage...");
        ArcImageRequest _getArcImage_parameters = null;
        try {
            ArcImageResponse _getArcImage__return = port.getArcImage(_getArcImage_parameters);
            System.out.println("getArcImage.result=" + _getArcImage__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking deepLinkClaim...");
        DeepLinkClaimRequest _deepLinkClaim_parameters = null;
        try {
            DeepLinkBusinessObjectResponse _deepLinkClaim__return = port.deepLinkClaim(_deepLinkClaim_parameters);
            System.out.println("deepLinkClaim.result=" + _deepLinkClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getClaim...");
        SpezifikationSchadenType _getClaim_parameters = null;
        try {
            GetClaimResponseType _getClaim__return = port.getClaim(_getClaim_parameters);
            System.out.println("getClaim.result=" + _getClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }

        System.exit(0);
    }

}
