View Javadoc
1   /*
2    * Copyright 2015 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.platform.camel.ihe.xds.dispatch;
17  
18  import org.openehealth.ipf.commons.ihe.ws.WsTransactionConfiguration;
19  import org.openehealth.ipf.commons.ihe.xds.core.audit.XdsAuditDataset;
20  
21  import javax.xml.namespace.QName;
22  
23  /**
24   * Fake transaction configuration.  Only the "auditRequestPayload" property will be
25   * actually used (the last but one parameter in the constructor).
26   *
27   * @author Dmytro Rud
28   */
29  public class DocumentRegistryTransactionConfiguration extends WsTransactionConfiguration<XdsAuditDataset> {
30  
31      public DocumentRegistryTransactionConfiguration() {
32          super("dummy",
33                  "dummy",
34                  false,
35                  null,
36                  null,
37                  new QName("urn:ihe:iti:xds-b:2007", "DocumentRegistry_Service", "ihe"),
38                  DocumentRegistryPortType.class,
39                  new QName("urn:ihe:iti:xds-b:2007", "DocumentRegistry_Binding_Soap12", "ihe"),
40                  true,
41                  "dispatch/DocumentRegistry.wsdl",
42                  true,
43                  false,
44                  true,
45                  false);
46      }
47  }