View Javadoc
1   /*
2    * Copyright 2017 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.hpd.iti58;
17  
18  import org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.BatchRequest;
19  import org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.BatchResponse;
20  import org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.ObjectFactory;
21  
22  import javax.jws.WebMethod;
23  import javax.jws.WebParam;
24  import javax.jws.WebResult;
25  import javax.jws.WebService;
26  import javax.jws.soap.SOAPBinding;
27  import javax.xml.bind.annotation.XmlSeeAlso;
28  import javax.xml.ws.Action;
29  
30  @WebService(targetNamespace = "urn:ihe:iti:hpd:2010", name = "ProviderInformationDirectory_PortType", portName = "ProviderInformationDirectory_Port_Soap12")
31  @XmlSeeAlso({ObjectFactory.class})
32  @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
33  public interface Iti58PortType {
34  
35      @WebMethod(operationName = "ProviderInformationQueryRequest")
36      @Action(input = "urn:ihe:iti:2010:ProviderInformationQuery", output = "urn:ihe:iti:2010:ProviderInformationQueryResponse")
37      @WebResult(name = "batchResponse", targetNamespace = "urn:oasis:names:tc:DSML:2:0:core", partName = "body")
38      BatchResponse providerInformationQueryRequest(
39              @WebParam(partName = "body", name = "batchRequest", targetNamespace = "urn:oasis:names:tc:DSML:2:0:core")
40                      BatchRequest body
41      );
42  }