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

/**
 * 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;
import javax.xml.ws.soap.MTOMFeature;

/**
 * This class was generated by Apache CXF 3.2.0
 * 2020-07-14T11:59:10.603+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-4-0", "omdsService");

    private OmdsServicePortType_OmdsServicePort_Client() {
    }

    public static void main(String args[]) throws java.lang.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(new MTOMFeature(1024));
//        OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
//        OmdsServicePortType port = ss.getOmdsServicePort();
        
        {
        System.out.println("Invoking getOMDSPackageList...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.OMDSPackageListRequest _getOMDSPackageList_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 addDocToBusinessCase...");
        at.vvo.omds.types.omds3Types.r1_5_0.on1basis.AddDocToBusinessCaseRequestType _addDocToBusinessCase_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on1basis.AddDocToBusinessCaseResponseType _addDocToBusinessCase__return = port.addDocToBusinessCase(_addDocToBusinessCase_parameters);
            System.out.println("addDocToBusinessCase.result=" + _addDocToBusinessCase__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking calculateSachPrivat...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.CalculateSachPrivatRequestType _calculateSachPrivat_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.CalculateSachPrivatResponseType _calculateSachPrivat__return = port.calculateSachPrivat(_calculateSachPrivat_parameters);
            System.out.println("calculateSachPrivat.result=" + _calculateSachPrivat__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking createApplicationKfz...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.CreateApplicationKfzRequestType _createApplicationKfz_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.CreateApplicationKfzResponseType _createApplicationKfz__return = port.createApplicationKfz(_createApplicationKfz_parameters);
            System.out.println("createApplicationKfz.result=" + _createApplicationKfz__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking createOfferKfz...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.CreateOfferKfzRequestType _createOfferKfz_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.CreateOfferKfzResponseType _createOfferKfz__return = port.createOfferKfz(_createOfferKfz_parameters);
            System.out.println("createOfferKfz.result=" + _createOfferKfz__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking deepLinkPartner...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.DeepLinkPartnerRequest _deepLinkPartner_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 deepLinkPolicy...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.DeepLinkPolicyRequest _deepLinkPolicy_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 searchClaim...");
        at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.SearchClaimRequestType _searchClaim_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.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 getUserData...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.UserDataRequest _getUserData_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 deepLinkClaim...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.DeepLinkClaimRequest _deepLinkClaim_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 submitClaim...");
        at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.SubmitClaimRequestType _submitClaim_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.SubmitClaimResponseType _submitClaim__return = port.submitClaim(_submitClaim_parameters);
            System.out.println("submitClaim.result=" + _submitClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getOMDSPackage...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.OMDSPackageRequest _getOMDSPackage_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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...");
        at.vvo.omds.types.omds3Types.r1_5_0.on1basis.GetNumberOfDocumentsRequestType _getNumberOfDocuments_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on1basis.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 deepLinkOffer...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.DeepLinkOfferRequest _deepLinkOffer_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 getDocumentsOfPeriod...");
        at.vvo.omds.types.omds3Types.r1_5_0.on1basis.GetDocumentsOfPeriodRequestType _getDocumentsOfPeriod_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on1basis.GetDocumentsOfPeriodResponseType _getDocumentsOfPeriod__return = port.getDocumentsOfPeriod(_getDocumentsOfPeriod_parameters);
            System.out.println("getDocumentsOfPeriod.result=" + _getDocumentsOfPeriod__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getDocumentsOfObject...");
        at.vvo.omds.types.omds3Types.r1_5_0.on1basis.GetDocumentsOfObjectRequestType _getDocumentsOfObject_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on1basis.GetDocumentsOfObjectResponseType _getDocumentsOfObject__return = port.getDocumentsOfObject(_getDocumentsOfObject_parameters);
            System.out.println("getDocumentsOfObject.result=" + _getDocumentsOfObject__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking calculateKfz...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.CalculateKfzRequestType _calculateKfz_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.CalculateKfzResponseType _calculateKfz__return = port.calculateKfz(_calculateKfz_parameters);
            System.out.println("calculateKfz.result=" + _calculateKfz__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking createOfferSachPrivat...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.CreateOfferSachPrivatRequestType _createOfferSachPrivat_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.CreateOfferSachPrivatResponseType _createOfferSachPrivat__return = port.createOfferSachPrivat(_createOfferSachPrivat_parameters);
            System.out.println("createOfferSachPrivat.result=" + _createOfferSachPrivat__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking checkClaim...");
        at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.CheckClaimRequestType _checkClaim_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.CheckClaimResponseType _checkClaim__return = port.checkClaim(_checkClaim_parameters);
            System.out.println("checkClaim.result=" + _checkClaim__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking createApplicationSachPrivat...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.CreateApplicationSachPrivatRequestType _createApplicationSachPrivat_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.CreateApplicationSachPrivatResponseType _createApplicationSachPrivat__return = port.createApplicationSachPrivat(_createApplicationSachPrivat_parameters);
            System.out.println("createApplicationSachPrivat.result=" + _createApplicationSachPrivat__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getArcImage...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.ArcImageRequest _getArcImage_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 getClaim...");
        at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.GetClaimRequestType _getClaim_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on7schaden.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.out.println("Invoking login...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.LoginRequestType _login_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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 submitApplicationKfz...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.SubmitApplicationKfzRequestType _submitApplicationKfz_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.kfz.SubmitApplicationKfzResponseType _submitApplicationKfz__return = port.submitApplicationKfz(_submitApplicationKfz_parameters);
            System.out.println("submitApplicationKfz.result=" + _submitApplicationKfz__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking submitApplicationSachPrivat...");
        at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.SubmitApplicationSachPrivatRequestType _submitApplicationSachPrivat_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.on2antrag.sachPrivat.SubmitApplicationSachPrivatResponseType _submitApplicationSachPrivat__return = port.submitApplicationSachPrivat(_submitApplicationSachPrivat_parameters);
            System.out.println("submitApplicationSachPrivat.result=" + _submitApplicationSachPrivat__return);

        } catch (ServiceFaultMsg e) { 
            System.out.println("Expected exception: ServiceFaultMsg has occurred.");
            System.out.println(e.toString());
        }
            }
        {
        System.out.println("Invoking getArcImageInfos...");
        at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.ArcImageInfosRequest _getArcImageInfos_parameters = null;
        try {
            at.vvo.omds.types.omds3Types.r1_5_0.servicetypes.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.exit(0);
    }

}
