View Javadoc
1   /*
2    * Copyright 2011 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.iti55.asyncresponse;
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 the ITI-55 XCPD Initiating Gateway actor: receiver of Deferred responses.
28   * @author Dmytro Rud
29   */
30  @WebService(targetNamespace = "urn:ihe:iti:xcpd:2009", name = "InitiatingGatewayDeferredResponse_PortType", portName = "InitiatingGateway_Response_Port_Soap12")
31  @SOAPBinding(style = Style.DOCUMENT, parameterStyle = ParameterStyle.BARE)
32  public interface Iti55DeferredResponsePortType {
33      String DEFERRED_RESPONSE_INPUT_ACTION =
34              "urn:hl7-org:v3:PRPA_IN201306UV02:Deferred:CrossGatewayPatientDiscovery";
35      String DEFERRED_RESPONSE_OUTPUT_ACTION =
36              "urn:hl7-org:v3:MCCI_IN000002UV01";
37  
38      @Action(input = DEFERRED_RESPONSE_INPUT_ACTION, output = DEFERRED_RESPONSE_OUTPUT_ACTION)
39      @WebMethod(operationName = "InitiatingGateway_Deferred_PRPA_IN201306UV02")
40      String receiveDeferredResponse(
41              @WebParam(partName = "Body", targetNamespace = "urn:ihe:iti:xcpd:2009")
42              String response
43      );
44  }