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

cz.abclinuxu.datoveschranky.ws.ServiceBuilder Maven / Gradle / Ivy

The newest version!
package cz.abclinuxu.datoveschranky.ws;

import cz.abclinuxu.datoveschranky.ws.db.DataBoxManipulation;
import cz.abclinuxu.datoveschranky.ws.dm.DmInfoWebService;
import cz.abclinuxu.datoveschranky.ws.dm.DmOperationsWebService;
import java.net.URL;
import javax.xml.namespace.QName;

/**
 *
 * @author xrosecky
 */
public class ServiceBuilder {

    public static DmOperationsWebService createDmOperationsWebService() {
        QName qName = new QName("http://isds.czechpoint.cz/v20", "dmOperationsWebService");
        URL url = ServiceBuilder.class.getResource("/wsdl/dm_operations.wsdl");
        return new DmOperationsWebService(url, qName);
    }
    
    public static DmInfoWebService createDmInfoWebService() {
        QName qName = new QName("http://isds.czechpoint.cz/v20", "dmInfoWebService");
        URL url = ServiceBuilder.class.getResource("/wsdl/dm_info.wsdl");
        return new DmInfoWebService(url, qName);
    }
    
    public static DataBoxManipulation createDataBoxManipulation() {
        QName qName = new QName("http://isds.czechpoint.cz/v20", "DataBoxManipulation");
        URL url = ServiceBuilder.class.getResource("/wsdl/db_manipulations.wsdl");
        return new DataBoxManipulation(url, qName);
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy