View Javadoc
1   /*
2    * Copyright 2009 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.openehealth.ipf.commons.ihe.xds.iti41;
17  
18  import javax.jws.WebMethod;
19  import javax.jws.WebParam;
20  import javax.jws.WebResult;
21  import javax.jws.WebService;
22  import javax.jws.soap.SOAPBinding;
23  import javax.xml.bind.annotation.XmlSeeAlso;
24  import javax.xml.ws.Action;
25  
26  import org.apache.cxf.annotations.DataBinding;
27  import org.openehealth.ipf.commons.ihe.xds.core.XdsJaxbDataBinding;
28  import org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.ProvideAndRegisterDocumentSetRequestType;
29  import org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rs.RegistryResponseType;
30  
31  /**
32   * Provides the ITI-41 web-service interface.
33   */
34  @WebService(targetNamespace = "urn:ihe:iti:xds-b:2007", name = "DocumentRepository_PortType", portName = "DocumentRepository_Port_Soap12")
35  @XmlSeeAlso({
36      org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim.ObjectFactory.class,
37      org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.lcm.ObjectFactory.class,
38      org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rs.ObjectFactory.class,
39      org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.query.ObjectFactory.class})
40  @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
41  @DataBinding(XdsJaxbDataBinding.class)
42  public interface Iti41PortType {
43  
44      /**
45       * Provides and registers a set of documents according to the ITI-41 specification.
46       * @param body
47       *          the request.
48       * @return the response.
49       */
50      @WebResult(name = "RegistryResponse", targetNamespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0", partName = "body")
51      @Action(input = "urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b", output = "urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-bResponse")
52      @WebMethod(operationName = "DocumentRepository_ProvideAndRegisterDocumentSet-b")
53      RegistryResponseType documentRepositoryProvideAndRegisterDocumentSetB(
54              @WebParam(partName = "body", name = "ProvideAndRegisterDocumentSetRequest", targetNamespace = "urn:ihe:iti:xds-b:2007")
55                      ProvideAndRegisterDocumentSetRequestType body
56      );
57  }