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

ihe.iti.xds_b._2007.DocumentRepositoryService Maven / Gradle / Ivy

There is a newer version: 8.0.0
Show newest version

package ihe.iti.xds_b._2007;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.3-b02-
 * Generated source version: 2.1
 * 
 */
@WebServiceClient(name = "DocumentRepository_Service", targetNamespace = "urn:ihe:iti:xds-b:2007", wsdlLocation = "/XDS.b_DocumentRepositoryWSDLSynchMTOM.wsdl")
public class DocumentRepositoryService
    extends Service
{

    private final static URL DOCUMENTREPOSITORYSERVICE_WSDL_LOCATION;
    private final static Logger logger = Logger.getLogger(ihe.iti.xds_b._2007.DocumentRepositoryService.class.getName());

    static {
        URL url = null;
        try {
            URL baseUrl;
            baseUrl = ihe.iti.xds_b._2007.DocumentRepositoryService.class.getResource(".");
            url = new URL(baseUrl, "/XDS.b_DocumentRepositoryWSDLSynchMTOM.wsdl");
        } catch (MalformedURLException e) {
            logger.warning("Failed to create URL for the wsdl Location: '/XDS.b_DocumentRepositoryWSDLSynchMTOM.wsdl', retrying as a local file");
            logger.warning(e.getMessage());
        }
        DOCUMENTREPOSITORYSERVICE_WSDL_LOCATION = url;
    }

    public DocumentRepositoryService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public DocumentRepositoryService() {
        super(DOCUMENTREPOSITORYSERVICE_WSDL_LOCATION, new QName("urn:ihe:iti:xds-b:2007", "DocumentRepository_Service"));
    }

    /**
     * 
     * @return
     *     returns DocumentRepositoryPortType
     */
    @WebEndpoint(name = "DocumentRepository_Port_Soap12")
    public DocumentRepositoryPortType getDocumentRepositoryPortSoap12() {
        return super.getPort(new QName("urn:ihe:iti:xds-b:2007", "DocumentRepository_Port_Soap12"), DocumentRepositoryPortType.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns DocumentRepositoryPortType
     */
    @WebEndpoint(name = "DocumentRepository_Port_Soap12")
    public DocumentRepositoryPortType getDocumentRepositoryPortSoap12(WebServiceFeature... features) {
        return super.getPort(new QName("urn:ihe:iti:xds-b:2007", "DocumentRepository_Port_Soap12"), DocumentRepositoryPortType.class, features);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy