View Javadoc
1   /*
2    * Copyright 2010 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.hl7v3.iti56;
17  
18  import javax.jws.WebMethod;
19  import javax.jws.WebParam;
20  import javax.jws.WebService;
21  import javax.jws.soap.SOAPBinding;
22  import javax.jws.soap.SOAPBinding.ParameterStyle;
23  import javax.jws.soap.SOAPBinding.Style;
24  import javax.xml.ws.Action;
25  
26  /**
27   * SEI for XCPD ITI-56 -- Patient Location Query.
28   * @author Dmytro Rud
29   */
30  @WebService(targetNamespace = "urn:ihe:iti:xcpd:2009", name = "RespondingGateway_PortType", portName = "RespondingGateway_Port_Soap12")
31  @SOAPBinding(style = Style.DOCUMENT, parameterStyle = ParameterStyle.BARE)
32  public interface Iti56PortType {
33  
34      @Action(input = "urn:ihe:iti:2009:PatientLocationQuery", 
35              output = "urn:ihe:iti:2009:PatientLocationQueryResponse")
36      @WebMethod(operationName = "RespondingGateway_PatientLocationQuery")
37      String locatePatients(
38              @WebParam(partName = "Body", targetNamespace = "urn:ihe:iti:xcpd:2009")
39              String request
40      );
41  }