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.asyncresponse;
17  
18  import javax.jws.Oneway;
19  import javax.jws.WebMethod;
20  import javax.jws.WebParam;
21  import javax.jws.WebService;
22  import javax.jws.soap.SOAPBinding;
23  import javax.jws.soap.SOAPBinding.ParameterStyle;
24  import javax.jws.soap.SOAPBinding.Style;
25  import javax.xml.ws.Action;
26  
27  /**
28   * SEI for the ITI-56 XCPD Initiating Gateway actor: receiver of WSA asynchronous responses.
29   * @author Dmytro Rud
30   */
31  @WebService(targetNamespace = "urn:ihe:iti:xcpd:2009", name = "InitiatingGateway_PortType", portName = "InitiatingGateway_Port")
32  @SOAPBinding(style = Style.DOCUMENT, parameterStyle = ParameterStyle.BARE)
33  public interface Iti56AsyncResponsePortType {
34  
35      @Oneway
36      @Action(input = "urn:ihe:iti:2009:PatientLocationQueryResponse")
37      @WebMethod(operationName = "InitiatingGateway_Async_PatientLocationQueryResponse")
38      void receiveAsyncResponse(
39              @WebParam(partName = "Body", targetNamespace = "urn:ihe:iti:xcpd:2009")
40              String response
41      );
42  }