sekken 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.travis.yml +11 -0
  4. data/.yardopts +6 -0
  5. data/CONTRIBUTING.md +46 -0
  6. data/Gemfile +27 -0
  7. data/MIT-LICENSE +20 -0
  8. data/README.md +28 -0
  9. data/Rakefile +21 -0
  10. data/donate.png +0 -0
  11. data/lib/sekken.rb +75 -0
  12. data/lib/sekken/envelope.rb +92 -0
  13. data/lib/sekken/errors.rb +9 -0
  14. data/lib/sekken/example_message.rb +41 -0
  15. data/lib/sekken/httpclient.rb +35 -0
  16. data/lib/sekken/importer.rb +77 -0
  17. data/lib/sekken/message.rb +135 -0
  18. data/lib/sekken/operation.rb +100 -0
  19. data/lib/sekken/resolver.rb +20 -0
  20. data/lib/sekken/response.rb +50 -0
  21. data/lib/sekken/version.rb +5 -0
  22. data/lib/sekken/wsdl.rb +86 -0
  23. data/lib/sekken/wsdl/binding.rb +64 -0
  24. data/lib/sekken/wsdl/binding_operation.rb +85 -0
  25. data/lib/sekken/wsdl/document.rb +83 -0
  26. data/lib/sekken/wsdl/document_collection.rb +61 -0
  27. data/lib/sekken/wsdl/input_output.rb +84 -0
  28. data/lib/sekken/wsdl/message.rb +38 -0
  29. data/lib/sekken/wsdl/operation.rb +47 -0
  30. data/lib/sekken/wsdl/port.rb +29 -0
  31. data/lib/sekken/wsdl/port_type.rb +38 -0
  32. data/lib/sekken/wsdl/port_type_operation.rb +42 -0
  33. data/lib/sekken/wsdl/service.rb +55 -0
  34. data/lib/sekken/xml/attribute.rb +13 -0
  35. data/lib/sekken/xml/element.rb +82 -0
  36. data/lib/sekken/xml/element_builder.rb +220 -0
  37. data/lib/sekken/xs/schema.rb +57 -0
  38. data/lib/sekken/xs/schema_collection.rb +49 -0
  39. data/lib/sekken/xs/types.rb +272 -0
  40. data/sekken.gemspec +42 -0
  41. data/spec/fixtures/response/another_soap_fault.xml +14 -0
  42. data/spec/fixtures/response/authentication.xml +14 -0
  43. data/spec/fixtures/response/header.xml +13 -0
  44. data/spec/fixtures/response/list.xml +18 -0
  45. data/spec/fixtures/response/multi_ref.xml +39 -0
  46. data/spec/fixtures/response/soap_fault.xml +8 -0
  47. data/spec/fixtures/response/soap_fault12.xml +18 -0
  48. data/spec/fixtures/response/taxcloud.xml +1 -0
  49. data/spec/fixtures/wsdl/amazon.wsdl +1920 -0
  50. data/spec/fixtures/wsdl/arrays_with_attributes.wsdl +117 -0
  51. data/spec/fixtures/wsdl/authentication.wsdl +63 -0
  52. data/spec/fixtures/wsdl/awse.wsdl +1510 -0
  53. data/spec/fixtures/wsdl/betfair.wsdl +2981 -0
  54. data/spec/fixtures/wsdl/blz_service.wsdl +88 -0
  55. data/spec/fixtures/wsdl/bookt/bookt.wsdl +11 -0
  56. data/spec/fixtures/wsdl/bookt/bookt0.xsd +433 -0
  57. data/spec/fixtures/wsdl/bookt/bookt1.xsd +42 -0
  58. data/spec/fixtures/wsdl/bookt/bookt10.xsd +38 -0
  59. data/spec/fixtures/wsdl/bookt/bookt11.xsd +17 -0
  60. data/spec/fixtures/wsdl/bookt/bookt12.xsd +18 -0
  61. data/spec/fixtures/wsdl/bookt/bookt13.xsd +22 -0
  62. data/spec/fixtures/wsdl/bookt/bookt14.xsd +27 -0
  63. data/spec/fixtures/wsdl/bookt/bookt15.xsd +28 -0
  64. data/spec/fixtures/wsdl/bookt/bookt2.wsdl +243 -0
  65. data/spec/fixtures/wsdl/bookt/bookt2.xsd +81 -0
  66. data/spec/fixtures/wsdl/bookt/bookt3.wsdl +286 -0
  67. data/spec/fixtures/wsdl/bookt/bookt3.xsd +61 -0
  68. data/spec/fixtures/wsdl/bookt/bookt4.xsd +35 -0
  69. data/spec/fixtures/wsdl/bookt/bookt5.xsd +22 -0
  70. data/spec/fixtures/wsdl/bookt/bookt6.xsd +26 -0
  71. data/spec/fixtures/wsdl/bookt/bookt7.xsd +18 -0
  72. data/spec/fixtures/wsdl/bookt/bookt8.xsd +22 -0
  73. data/spec/fixtures/wsdl/bookt/bookt9.xsd +29 -0
  74. data/spec/fixtures/wsdl/bronto.wsdl +3285 -0
  75. data/spec/fixtures/wsdl/bydexchange/bydexchange.wsdl +104 -0
  76. data/spec/fixtures/wsdl/bydexchange/bydexchange0.xsd +1 -0
  77. data/spec/fixtures/wsdl/bydexchange/bydexchange1.xsd +1 -0
  78. data/spec/fixtures/wsdl/bydexchange/bydexchange2.wsdl +119 -0
  79. data/spec/fixtures/wsdl/bydexchange/bydexchange2.xsd +1 -0
  80. data/spec/fixtures/wsdl/bydexchange/bydexchange3.xsd +1 -0
  81. data/spec/fixtures/wsdl/bydexchange/bydexchange4.xsd +1 -0
  82. data/spec/fixtures/wsdl/bydexchange/bydexchange5.xsd +1 -0
  83. data/spec/fixtures/wsdl/bydexchange/bydexchange6.xsd +1 -0
  84. data/spec/fixtures/wsdl/bydexchange/bydexchange7.xsd +1 -0
  85. data/spec/fixtures/wsdl/bydexchange/bydexchange8.xsd +1 -0
  86. data/spec/fixtures/wsdl/crowd.wsdl +2437 -0
  87. data/spec/fixtures/wsdl/data_exchange.wsdl +98 -0
  88. data/spec/fixtures/wsdl/document_literal_wrapped.wsdl +153 -0
  89. data/spec/fixtures/wsdl/economic.wsdl +65660 -0
  90. data/spec/fixtures/wsdl/edialog.wsdl +13148 -0
  91. data/spec/fixtures/wsdl/email_verification.wsdl +394 -0
  92. data/spec/fixtures/wsdl/equifax.wsdl +794 -0
  93. data/spec/fixtures/wsdl/geotrust.wsdl +156 -0
  94. data/spec/fixtures/wsdl/interhome.wsdl +2137 -0
  95. data/spec/fixtures/wsdl/iws.wsdl +695 -0
  96. data/spec/fixtures/wsdl/jetairways.wsdl +156 -0
  97. data/spec/fixtures/wsdl/jira.wsdl +3890 -0
  98. data/spec/fixtures/wsdl/juniper.wsdl +215 -0
  99. data/spec/fixtures/wsdl/namespaced_actions.wsdl +307 -0
  100. data/spec/fixtures/wsdl/oracle.wsdl +3629 -0
  101. data/spec/fixtures/wsdl/ratp.wsdl +955 -0
  102. data/spec/fixtures/wsdl/rio2/rio2.wsdl +74 -0
  103. data/spec/fixtures/wsdl/rio2/rio2_0.wsdl +55 -0
  104. data/spec/fixtures/wsdl/rio2/rio2_0.xsd +58 -0
  105. data/spec/fixtures/wsdl/rio2/rio2_1.xsd +41 -0
  106. data/spec/fixtures/wsdl/rio2/rio2_2.xsd +222 -0
  107. data/spec/fixtures/wsdl/rio2/rio2_3.xsd +10 -0
  108. data/spec/fixtures/wsdl/rpc_literal.wsdl +105 -0
  109. data/spec/fixtures/wsdl/spyne.wsdl +70 -0
  110. data/spec/fixtures/wsdl/stockquote.wsdl +124 -0
  111. data/spec/fixtures/wsdl/taxcloud.wsdl +934 -0
  112. data/spec/fixtures/wsdl/team_software/team_software.wsdl +542 -0
  113. data/spec/fixtures/wsdl/team_software/team_software0.xsd +448 -0
  114. data/spec/fixtures/wsdl/team_software/team_software1.xsd +41 -0
  115. data/spec/fixtures/wsdl/team_software/team_software2.xsd +258 -0
  116. data/spec/fixtures/wsdl/team_software/team_software3.xsd +14 -0
  117. data/spec/fixtures/wsdl/telefonkatalogen.wsdl +45 -0
  118. data/spec/fixtures/wsdl/temperature.wsdl +136 -0
  119. data/spec/fixtures/wsdl/wasmuth/wasmuth.wsdl +157 -0
  120. data/spec/fixtures/wsdl/wasmuth/wasmuth1.xsd +210 -0
  121. data/spec/fixtures/wsdl/wasmuth/wasmuth2.xsd +549 -0
  122. data/spec/fixtures/wsdl/xignite.wsdl +3470 -0
  123. data/spec/fixtures/wsdl/yahoo.wsdl +2425 -0
  124. data/spec/fixtures/wsdl/zanox_export_service.xml +520 -0
  125. data/spec/integration/amazon_spec.rb +51 -0
  126. data/spec/integration/authentication_spec.rb +38 -0
  127. data/spec/integration/awse_spec.rb +95 -0
  128. data/spec/integration/betfair_spec.rb +179 -0
  129. data/spec/integration/blz_service_spec.rb +46 -0
  130. data/spec/integration/bookt_spec.rb +59 -0
  131. data/spec/integration/bronto_spec.rb +178 -0
  132. data/spec/integration/bydexchange_spec.rb +40 -0
  133. data/spec/integration/crowd_spec.rb +44 -0
  134. data/spec/integration/data_exchange_spec.rb +27 -0
  135. data/spec/integration/document_literal_spec.rb +104 -0
  136. data/spec/integration/economic_spec.rb +64 -0
  137. data/spec/integration/email_verification_spec.rb +82 -0
  138. data/spec/integration/equifax_spec.rb +216 -0
  139. data/spec/integration/geotrust_spec.rb +17 -0
  140. data/spec/integration/interhome_spec.rb +156 -0
  141. data/spec/integration/iws_spec.rb +27 -0
  142. data/spec/integration/jetairways_spec.rb +142 -0
  143. data/spec/integration/jira_spec.rb +27 -0
  144. data/spec/integration/juniper_spec.rb +20 -0
  145. data/spec/integration/namespaced_actions_spec.rb +37 -0
  146. data/spec/integration/oracle_spec.rb +61 -0
  147. data/spec/integration/ratp_spec.rb +178 -0
  148. data/spec/integration/rio2_spec.rb +56 -0
  149. data/spec/integration/rpc_literal_spec.rb +101 -0
  150. data/spec/integration/spyne_spec.rb +60 -0
  151. data/spec/integration/stockquote_spec.rb +46 -0
  152. data/spec/integration/taxcloud_spec.rb +45 -0
  153. data/spec/integration/team_software_spec.rb +51 -0
  154. data/spec/integration/telefonkatalogen_spec.rb +42 -0
  155. data/spec/integration/temperature_spec.rb +71 -0
  156. data/spec/integration/wasmuth_spec.rb +47 -0
  157. data/spec/integration/xignite_spec.rb +112 -0
  158. data/spec/integration/yahoo_spec.rb +116 -0
  159. data/spec/sekken/httpclient_spec.rb +41 -0
  160. data/spec/sekken/operation/build_spec.rb +308 -0
  161. data/spec/sekken/operation/document_literal_spec.rb +53 -0
  162. data/spec/sekken/operation/example_body_spec.rb +95 -0
  163. data/spec/sekken/operation/rpc_literal_spec.rb +50 -0
  164. data/spec/sekken/operation_spec.rb +169 -0
  165. data/spec/sekken/resolver_spec.rb +38 -0
  166. data/spec/sekken/response_spec.rb +17 -0
  167. data/spec/sekken/wsdl/document_spec.rb +191 -0
  168. data/spec/sekken/wsdl_spec.rb +46 -0
  169. data/spec/sekken/xs/complex_type_spec.rb +197 -0
  170. data/spec/sekken/xs/element_spec.rb +82 -0
  171. data/spec/sekken/xs/simple_type_spec.rb +39 -0
  172. data/spec/sekken_spec.rb +128 -0
  173. data/spec/spec_helper.rb +37 -0
  174. data/spec/support/fixture.rb +19 -0
  175. data/spec/support/http_mock.rb +43 -0
  176. metadata +344 -0
@@ -0,0 +1,88 @@
1
+ <?xml version="1.0"?>
2
+ <!-- http://www.thomas-bayer.com/axis2/services/BLZService?wsdl -->
3
+ <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://thomas-bayer.com/blz/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://thomas-bayer.com/blz/">
4
+ <wsdl:documentation>BLZService</wsdl:documentation>
5
+ <wsdl:types>
6
+ <xsd:schema targetNamespace="http://thomas-bayer.com/blz/" attributeFormDefault="unqualified" elementFormDefault="qualified">
7
+ <xsd:element name="getBank" type="tns:getBankType"></xsd:element>
8
+ <xsd:element name="getBankResponse" type="tns:getBankResponseType"></xsd:element>
9
+ <xsd:complexType name="getBankType">
10
+ <xsd:sequence>
11
+ <xsd:element name="blz" type="xsd:string"></xsd:element>
12
+ </xsd:sequence>
13
+ </xsd:complexType>
14
+ <xsd:complexType name="getBankResponseType">
15
+ <xsd:sequence>
16
+ <xsd:element name="details" type="tns:detailsType"></xsd:element>
17
+ </xsd:sequence>
18
+ </xsd:complexType>
19
+ <xsd:complexType name="detailsType">
20
+ <xsd:sequence>
21
+ <xsd:element name="bezeichnung" type="xsd:string" minOccurs="0"></xsd:element>
22
+ <xsd:element name="bic" type="xsd:string" minOccurs="0"></xsd:element>
23
+ <xsd:element name="ort" type="xsd:string" minOccurs="0"></xsd:element>
24
+ <xsd:element name="plz" type="xsd:string" minOccurs="0"></xsd:element>
25
+ </xsd:sequence>
26
+ </xsd:complexType>
27
+ </xsd:schema>
28
+ </wsdl:types>
29
+ <wsdl:message name="getBank">
30
+ <wsdl:part element="tns:getBank" name="parameters"></wsdl:part>
31
+ </wsdl:message>
32
+ <wsdl:message name="getBankResponse">
33
+ <wsdl:part element="tns:getBankResponse" name="parameters"></wsdl:part>
34
+ </wsdl:message>
35
+ <wsdl:portType name="BLZServicePortType">
36
+ <wsdl:operation name="getBank">
37
+ <wsdl:input message="tns:getBank"></wsdl:input>
38
+ <wsdl:output message="tns:getBankResponse" wsaw:Action="http://thomas-bayer.com/blz/BLZService/getBankResponse"></wsdl:output>
39
+ </wsdl:operation>
40
+ </wsdl:portType>
41
+ <wsdl:binding name="BLZServiceSOAP11Binding" type="tns:BLZServicePortType">
42
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
43
+ <wsdl:operation name="getBank">
44
+ <soap:operation style="document" soapAction=""></soap:operation>
45
+ <wsdl:input>
46
+ <soap:body use="literal"></soap:body>
47
+ </wsdl:input>
48
+ <wsdl:output>
49
+ <soap:body use="literal"></soap:body>
50
+ </wsdl:output>
51
+ </wsdl:operation>
52
+ </wsdl:binding>
53
+ <wsdl:binding name="BLZServiceSOAP12Binding" type="tns:BLZServicePortType">
54
+ <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap12:binding>
55
+ <wsdl:operation name="getBank">
56
+ <soap12:operation style="document" soapAction=""></soap12:operation>
57
+ <wsdl:input>
58
+ <soap12:body use="literal"></soap12:body>
59
+ </wsdl:input>
60
+ <wsdl:output>
61
+ <soap12:body use="literal"></soap12:body>
62
+ </wsdl:output>
63
+ </wsdl:operation>
64
+ </wsdl:binding>
65
+ <wsdl:binding name="BLZServiceHttpBinding" type="tns:BLZServicePortType">
66
+ <http:binding verb="POST"></http:binding>
67
+ <wsdl:operation name="getBank">
68
+ <http:operation location="BLZService/getBank"></http:operation>
69
+ <wsdl:input>
70
+ <mime:content part="getBank" type="text/xml"></mime:content>
71
+ </wsdl:input>
72
+ <wsdl:output>
73
+ <mime:content part="getBank" type="text/xml"></mime:content>
74
+ </wsdl:output>
75
+ </wsdl:operation>
76
+ </wsdl:binding>
77
+ <wsdl:service name="BLZService">
78
+ <wsdl:port name="BLZServiceSOAP11port_http" binding="tns:BLZServiceSOAP11Binding">
79
+ <soap:address location="http://www.thomas-bayer.com:80/axis2/services/BLZService"></soap:address>
80
+ </wsdl:port>
81
+ <wsdl:port name="BLZServiceSOAP12port_http" binding="tns:BLZServiceSOAP12Binding">
82
+ <soap12:address location="http://www.thomas-bayer.com:80/axis2/services/BLZService"></soap12:address>
83
+ </wsdl:port>
84
+ <wsdl:port name="BLZServiceHttpport" binding="tns:BLZServiceHttpBinding">
85
+ <http:address location="http://www.thomas-bayer.com:80/axis2/services/BLZService"></http:address>
86
+ </wsdl:port>
87
+ </wsdl:service>
88
+ </wsdl:definitions>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- http://connect.bookt.com/svc/connect.svc?wsdl -->
3
+ <wsdl:definitions name="Connect" targetNamespace="https://connect.bookt.com/svc" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:i0="http://tempuri.org/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://connect.bookt.com/svc" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
4
+ <wsdl:import namespace="http://tempuri.org/" location="http://connect.bookt.com/svc/connect.svc?wsdl=wsdl1"/>
5
+ <wsdl:types/>
6
+ <wsdl:service name="Connect">
7
+ <wsdl:port name="IConnect" binding="i0:IConnect">
8
+ <soap:address location="http://connect.bookt.com/svc/connect.svc"/>
9
+ </wsdl:port>
10
+ </wsdl:service>
11
+ </wsdl:definitions>
@@ -0,0 +1,433 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="https://connect.bookt.com/connect" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://connect.bookt.com/connect">
3
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
4
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd3" namespace="http://connect.bookt.com/Schemas/Property.xsd"/>
5
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd8" namespace="http://connect.bookt.com/Schemas/Rate.xsd"/>
6
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd9" namespace="http://connect.bookt.com/Schemas/Booking.xsd"/>
7
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd10" namespace="http://connect.bookt.com/Schemas/Person.xsd"/>
8
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd14" namespace="http://connect.bookt.com/Schemas/Event.xsd"/>
9
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd15" namespace="http://connect.bookt.com/Schemas/Review.xsd"/>
10
+ <xs:element name="GetPropertyCategories">
11
+ <xs:complexType>
12
+ <xs:sequence>
13
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
14
+ </xs:sequence>
15
+ </xs:complexType>
16
+ </xs:element>
17
+ <xs:element name="GetPropertyCategoriesResponse">
18
+ <xs:complexType>
19
+ <xs:sequence>
20
+ <xs:element minOccurs="0" name="GetPropertyCategoriesResult" nillable="true" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
21
+ </xs:sequence>
22
+ </xs:complexType>
23
+ </xs:element>
24
+ <xs:element name="GetPropertyIDs">
25
+ <xs:complexType>
26
+ <xs:sequence>
27
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
28
+ <xs:element minOccurs="0" name="lastMod" type="xs:dateTime"/>
29
+ </xs:sequence>
30
+ </xs:complexType>
31
+ </xs:element>
32
+ <xs:element name="GetPropertyIDsResponse">
33
+ <xs:complexType>
34
+ <xs:sequence>
35
+ <xs:element minOccurs="0" name="GetPropertyIDsResult" nillable="true" type="q2:ArrayOfint" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
36
+ </xs:sequence>
37
+ </xs:complexType>
38
+ </xs:element>
39
+ <xs:element name="GetProperty">
40
+ <xs:complexType>
41
+ <xs:sequence>
42
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
43
+ <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
44
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
45
+ </xs:sequence>
46
+ </xs:complexType>
47
+ </xs:element>
48
+ <xs:element name="GetPropertyResponse">
49
+ <xs:complexType>
50
+ <xs:sequence>
51
+ <xs:element minOccurs="0" name="GetPropertyResult" nillable="true" type="q3:Property" xmlns:q3="http://connect.bookt.com/Schemas/Property.xsd"/>
52
+ </xs:sequence>
53
+ </xs:complexType>
54
+ </xs:element>
55
+ <xs:element name="GetPropertyIDsByCategory">
56
+ <xs:complexType>
57
+ <xs:sequence>
58
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
59
+ <xs:element minOccurs="0" name="propertyCategory" nillable="true" type="xs:string"/>
60
+ </xs:sequence>
61
+ </xs:complexType>
62
+ </xs:element>
63
+ <xs:element name="GetPropertyIDsByCategoryResponse">
64
+ <xs:complexType>
65
+ <xs:sequence>
66
+ <xs:element minOccurs="0" name="GetPropertyIDsByCategoryResult" nillable="true" type="q4:ArrayOfint" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
67
+ </xs:sequence>
68
+ </xs:complexType>
69
+ </xs:element>
70
+ <xs:element name="GetRates">
71
+ <xs:complexType>
72
+ <xs:sequence>
73
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
74
+ <xs:element minOccurs="0" name="propertyID" type="xs:int"/>
75
+ <xs:element minOccurs="0" name="rateType" nillable="true" type="xs:string"/>
76
+ <xs:element minOccurs="0" name="los" type="xs:int"/>
77
+ <xs:element minOccurs="0" name="startDate" type="xs:dateTime"/>
78
+ <xs:element minOccurs="0" name="endDate" type="xs:dateTime"/>
79
+ <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string"/>
80
+ </xs:sequence>
81
+ </xs:complexType>
82
+ </xs:element>
83
+ <xs:element name="GetRatesResponse">
84
+ <xs:complexType>
85
+ <xs:sequence>
86
+ <xs:element minOccurs="0" name="GetRatesResult" nillable="true" type="q5:ArrayOfKeyValueOfdateTimedecimal" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
87
+ </xs:sequence>
88
+ </xs:complexType>
89
+ </xs:element>
90
+ <xs:element name="GetPerRoomRates">
91
+ <xs:complexType>
92
+ <xs:sequence>
93
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
94
+ <xs:element minOccurs="0" name="propertyID" type="xs:int"/>
95
+ <xs:element minOccurs="0" name="rateType" nillable="true" type="xs:string"/>
96
+ <xs:element minOccurs="0" name="los" type="xs:int"/>
97
+ <xs:element minOccurs="0" name="startDate" type="xs:dateTime"/>
98
+ <xs:element minOccurs="0" name="endDate" type="xs:dateTime"/>
99
+ <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string"/>
100
+ <xs:element minOccurs="0" name="nRooms" type="xs:int"/>
101
+ </xs:sequence>
102
+ </xs:complexType>
103
+ </xs:element>
104
+ <xs:element name="GetPerRoomRatesResponse">
105
+ <xs:complexType>
106
+ <xs:sequence>
107
+ <xs:element minOccurs="0" name="GetPerRoomRatesResult" nillable="true" type="q6:ArrayOfKeyValueOfdateTimedecimal" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
108
+ </xs:sequence>
109
+ </xs:complexType>
110
+ </xs:element>
111
+ <xs:element name="GetAvailability">
112
+ <xs:complexType>
113
+ <xs:sequence>
114
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
115
+ <xs:element minOccurs="0" name="propertyID" type="xs:int"/>
116
+ <xs:element minOccurs="0" name="rateType" nillable="true" type="xs:string"/>
117
+ <xs:element minOccurs="0" name="startDate" type="xs:dateTime"/>
118
+ <xs:element minOccurs="0" name="endDate" type="xs:dateTime"/>
119
+ </xs:sequence>
120
+ </xs:complexType>
121
+ </xs:element>
122
+ <xs:element name="GetAvailabilityResponse">
123
+ <xs:complexType>
124
+ <xs:sequence>
125
+ <xs:element minOccurs="0" name="GetAvailabilityResult" nillable="true" type="q7:ArrayOfKeyValueOfdateTimeint" xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
126
+ </xs:sequence>
127
+ </xs:complexType>
128
+ </xs:element>
129
+ <xs:element name="SetRates">
130
+ <xs:complexType>
131
+ <xs:sequence>
132
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
133
+ <xs:element minOccurs="0" name="propertyID" type="xs:int"/>
134
+ <xs:element minOccurs="0" name="rateType" nillable="true" type="xs:string"/>
135
+ <xs:element minOccurs="0" name="los" type="xs:int"/>
136
+ <xs:element minOccurs="0" name="effDates" nillable="true" type="q8:ArrayOfdateTime" xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
137
+ <xs:element minOccurs="0" name="rates" nillable="true" type="q9:ArrayOfdecimal" xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
138
+ <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string"/>
139
+ </xs:sequence>
140
+ </xs:complexType>
141
+ </xs:element>
142
+ <xs:element name="SetRatesResponse">
143
+ <xs:complexType>
144
+ <xs:sequence/>
145
+ </xs:complexType>
146
+ </xs:element>
147
+ <xs:element name="SetPerRoomRates">
148
+ <xs:complexType>
149
+ <xs:sequence>
150
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
151
+ <xs:element minOccurs="0" name="rates" nillable="true" type="q10:ArrayOfRate" xmlns:q10="http://connect.bookt.com/Schemas/Rate.xsd"/>
152
+ </xs:sequence>
153
+ </xs:complexType>
154
+ </xs:element>
155
+ <xs:element name="SetPerRoomRatesResponse">
156
+ <xs:complexType>
157
+ <xs:sequence/>
158
+ </xs:complexType>
159
+ </xs:element>
160
+ <xs:element name="SetAvailability">
161
+ <xs:complexType>
162
+ <xs:sequence>
163
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
164
+ <xs:element minOccurs="0" name="propertyID" type="xs:int"/>
165
+ <xs:element minOccurs="0" name="effDates" nillable="true" type="q11:ArrayOfdateTime" xmlns:q11="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
166
+ <xs:element minOccurs="0" name="numAvailabile" nillable="true" type="q12:ArrayOfint" xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
167
+ </xs:sequence>
168
+ </xs:complexType>
169
+ </xs:element>
170
+ <xs:element name="SetAvailabilityResponse">
171
+ <xs:complexType>
172
+ <xs:sequence/>
173
+ </xs:complexType>
174
+ </xs:element>
175
+ <xs:element name="SetRatesAndAvailability">
176
+ <xs:complexType>
177
+ <xs:sequence>
178
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
179
+ <xs:element minOccurs="0" name="propertyID" type="xs:int"/>
180
+ <xs:element minOccurs="0" name="rateType" nillable="true" type="xs:string"/>
181
+ <xs:element minOccurs="0" name="los" type="xs:int"/>
182
+ <xs:element minOccurs="0" name="effDates" nillable="true" type="q13:ArrayOfdateTime" xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
183
+ <xs:element minOccurs="0" name="rates" nillable="true" type="q14:ArrayOfdecimal" xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
184
+ <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string"/>
185
+ <xs:element minOccurs="0" name="numAvailabile" nillable="true" type="q15:ArrayOfint" xmlns:q15="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
186
+ </xs:sequence>
187
+ </xs:complexType>
188
+ </xs:element>
189
+ <xs:element name="SetRatesAndAvailabilityResponse">
190
+ <xs:complexType>
191
+ <xs:sequence/>
192
+ </xs:complexType>
193
+ </xs:element>
194
+ <xs:element name="GetBooking">
195
+ <xs:complexType>
196
+ <xs:sequence>
197
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
198
+ <xs:element minOccurs="0" name="bookingID" nillable="true" type="xs:string"/>
199
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
200
+ </xs:sequence>
201
+ </xs:complexType>
202
+ </xs:element>
203
+ <xs:element name="GetBookingResponse">
204
+ <xs:complexType>
205
+ <xs:sequence>
206
+ <xs:element minOccurs="0" name="GetBookingResult" nillable="true" type="q16:Booking" xmlns:q16="http://connect.bookt.com/Schemas/Booking.xsd"/>
207
+ </xs:sequence>
208
+ </xs:complexType>
209
+ </xs:element>
210
+ <xs:element name="MakeBooking">
211
+ <xs:complexType>
212
+ <xs:sequence>
213
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
214
+ <xs:element minOccurs="0" name="booking" nillable="true" type="q17:Booking" xmlns:q17="http://connect.bookt.com/Schemas/Booking.xsd"/>
215
+ <xs:element minOccurs="0" name="infoOnly" type="xs:boolean"/>
216
+ </xs:sequence>
217
+ </xs:complexType>
218
+ </xs:element>
219
+ <xs:element name="MakeBookingResponse">
220
+ <xs:complexType>
221
+ <xs:sequence>
222
+ <xs:element minOccurs="0" name="MakeBookingResult" nillable="true" type="q18:Booking" xmlns:q18="http://connect.bookt.com/Schemas/Booking.xsd"/>
223
+ </xs:sequence>
224
+ </xs:complexType>
225
+ </xs:element>
226
+ <xs:element name="CancelBooking">
227
+ <xs:complexType>
228
+ <xs:sequence>
229
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
230
+ <xs:element minOccurs="0" name="bookingID" nillable="true" type="xs:string"/>
231
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
232
+ <xs:element minOccurs="0" name="refundAmount" type="xs:decimal"/>
233
+ <xs:element minOccurs="0" name="options" type="xs:int"/>
234
+ </xs:sequence>
235
+ </xs:complexType>
236
+ </xs:element>
237
+ <xs:element name="CancelBookingResponse">
238
+ <xs:complexType>
239
+ <xs:sequence>
240
+ <xs:element minOccurs="0" name="CancelBookingResult" nillable="true" type="q19:Booking" xmlns:q19="http://connect.bookt.com/Schemas/Booking.xsd"/>
241
+ </xs:sequence>
242
+ </xs:complexType>
243
+ </xs:element>
244
+ <xs:element name="ModifyBooking">
245
+ <xs:complexType>
246
+ <xs:sequence>
247
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
248
+ <xs:element minOccurs="0" name="booking" nillable="true" type="q20:Booking" xmlns:q20="http://connect.bookt.com/Schemas/Booking.xsd"/>
249
+ <xs:element minOccurs="0" name="infoOnly" type="xs:boolean"/>
250
+ </xs:sequence>
251
+ </xs:complexType>
252
+ </xs:element>
253
+ <xs:element name="ModifyBookingResponse">
254
+ <xs:complexType>
255
+ <xs:sequence>
256
+ <xs:element minOccurs="0" name="ModifyBookingResult" nillable="true" type="q21:Booking" xmlns:q21="http://connect.bookt.com/Schemas/Booking.xsd"/>
257
+ </xs:sequence>
258
+ </xs:complexType>
259
+ </xs:element>
260
+ <xs:element name="CreateLead">
261
+ <xs:complexType>
262
+ <xs:sequence>
263
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
264
+ <xs:element minOccurs="0" name="lead" nillable="true" type="q22:Person" xmlns:q22="http://connect.bookt.com/Schemas/Person.xsd"/>
265
+ <xs:element minOccurs="0" name="mode" type="xs:int"/>
266
+ </xs:sequence>
267
+ </xs:complexType>
268
+ </xs:element>
269
+ <xs:element name="CreateLeadResponse">
270
+ <xs:complexType>
271
+ <xs:sequence>
272
+ <xs:element minOccurs="0" name="CreateLeadResult" nillable="true" type="q23:Person" xmlns:q23="http://connect.bookt.com/Schemas/Person.xsd"/>
273
+ </xs:sequence>
274
+ </xs:complexType>
275
+ </xs:element>
276
+ <xs:element name="CreateEvent">
277
+ <xs:complexType>
278
+ <xs:sequence>
279
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
280
+ <xs:element minOccurs="0" name="eventInfo" nillable="true" type="q24:Event" xmlns:q24="http://connect.bookt.com/Schemas/Event.xsd"/>
281
+ <xs:element minOccurs="0" name="mode" type="xs:int"/>
282
+ </xs:sequence>
283
+ </xs:complexType>
284
+ </xs:element>
285
+ <xs:element name="CreateEventResponse">
286
+ <xs:complexType>
287
+ <xs:sequence>
288
+ <xs:element minOccurs="0" name="CreateEventResult" nillable="true" type="q25:Event" xmlns:q25="http://connect.bookt.com/Schemas/Event.xsd"/>
289
+ </xs:sequence>
290
+ </xs:complexType>
291
+ </xs:element>
292
+ <xs:element name="GetEventCategories">
293
+ <xs:complexType>
294
+ <xs:sequence>
295
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
296
+ </xs:sequence>
297
+ </xs:complexType>
298
+ </xs:element>
299
+ <xs:element name="GetEventCategoriesResponse">
300
+ <xs:complexType>
301
+ <xs:sequence>
302
+ <xs:element minOccurs="0" name="GetEventCategoriesResult" nillable="true" type="q26:ArrayOfstring" xmlns:q26="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
303
+ </xs:sequence>
304
+ </xs:complexType>
305
+ </xs:element>
306
+ <xs:element name="GetLead">
307
+ <xs:complexType>
308
+ <xs:sequence>
309
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
310
+ <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
311
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
312
+ </xs:sequence>
313
+ </xs:complexType>
314
+ </xs:element>
315
+ <xs:element name="GetLeadResponse">
316
+ <xs:complexType>
317
+ <xs:sequence>
318
+ <xs:element minOccurs="0" name="GetLeadResult" nillable="true" type="q27:Person" xmlns:q27="http://connect.bookt.com/Schemas/Person.xsd"/>
319
+ </xs:sequence>
320
+ </xs:complexType>
321
+ </xs:element>
322
+ <xs:element name="GetEvent">
323
+ <xs:complexType>
324
+ <xs:sequence>
325
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
326
+ <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
327
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
328
+ </xs:sequence>
329
+ </xs:complexType>
330
+ </xs:element>
331
+ <xs:element name="GetEventResponse">
332
+ <xs:complexType>
333
+ <xs:sequence>
334
+ <xs:element minOccurs="0" name="GetEventResult" nillable="true" type="q28:Event" xmlns:q28="http://connect.bookt.com/Schemas/Event.xsd"/>
335
+ </xs:sequence>
336
+ </xs:complexType>
337
+ </xs:element>
338
+ <xs:element name="GetReviewIDs">
339
+ <xs:complexType>
340
+ <xs:sequence>
341
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
342
+ <xs:element minOccurs="0" name="reviewType" nillable="true" type="xs:string"/>
343
+ <xs:element minOccurs="0" name="lastMod" type="xs:dateTime"/>
344
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
345
+ </xs:sequence>
346
+ </xs:complexType>
347
+ </xs:element>
348
+ <xs:element name="GetReviewIDsResponse">
349
+ <xs:complexType>
350
+ <xs:sequence>
351
+ <xs:element minOccurs="0" name="GetReviewIDsResult" nillable="true" type="q29:ArrayOfstring" xmlns:q29="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
352
+ </xs:sequence>
353
+ </xs:complexType>
354
+ </xs:element>
355
+ <xs:element name="GetReview">
356
+ <xs:complexType>
357
+ <xs:sequence>
358
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
359
+ <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
360
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
361
+ </xs:sequence>
362
+ </xs:complexType>
363
+ </xs:element>
364
+ <xs:element name="GetReviewResponse">
365
+ <xs:complexType>
366
+ <xs:sequence>
367
+ <xs:element minOccurs="0" name="GetReviewResult" nillable="true" type="q30:Review" xmlns:q30="http://connect.bookt.com/Schemas/Review.xsd"/>
368
+ </xs:sequence>
369
+ </xs:complexType>
370
+ </xs:element>
371
+ <xs:element name="GetReviews">
372
+ <xs:complexType>
373
+ <xs:sequence>
374
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
375
+ <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
376
+ <xs:element minOccurs="0" name="reviewType" nillable="true" type="xs:string"/>
377
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
378
+ </xs:sequence>
379
+ </xs:complexType>
380
+ </xs:element>
381
+ <xs:element name="GetReviewsResponse">
382
+ <xs:complexType>
383
+ <xs:sequence>
384
+ <xs:element minOccurs="0" name="GetReviewsResult" nillable="true" type="q31:ArrayOfReview" xmlns:q31="http://connect.bookt.com/Schemas/Review.xsd"/>
385
+ </xs:sequence>
386
+ </xs:complexType>
387
+ </xs:element>
388
+ <xs:element name="CreateReview">
389
+ <xs:complexType>
390
+ <xs:sequence>
391
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
392
+ <xs:element minOccurs="0" name="review" nillable="true" type="q32:Review" xmlns:q32="http://connect.bookt.com/Schemas/Review.xsd"/>
393
+ </xs:sequence>
394
+ </xs:complexType>
395
+ </xs:element>
396
+ <xs:element name="CreateReviewResponse">
397
+ <xs:complexType>
398
+ <xs:sequence>
399
+ <xs:element minOccurs="0" name="CreateReviewResult" nillable="true" type="q33:Review" xmlns:q33="http://connect.bookt.com/Schemas/Review.xsd"/>
400
+ </xs:sequence>
401
+ </xs:complexType>
402
+ </xs:element>
403
+ <xs:element name="DeleteReview">
404
+ <xs:complexType>
405
+ <xs:sequence>
406
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
407
+ <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
408
+ <xs:element minOccurs="0" name="useInternalID" type="xs:boolean"/>
409
+ </xs:sequence>
410
+ </xs:complexType>
411
+ </xs:element>
412
+ <xs:element name="DeleteReviewResponse">
413
+ <xs:complexType>
414
+ <xs:sequence>
415
+ <xs:element minOccurs="0" name="DeleteReviewResult" nillable="true" type="xs:string"/>
416
+ </xs:sequence>
417
+ </xs:complexType>
418
+ </xs:element>
419
+ <xs:element name="GetBusinessRules">
420
+ <xs:complexType>
421
+ <xs:sequence>
422
+ <xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string"/>
423
+ </xs:sequence>
424
+ </xs:complexType>
425
+ </xs:element>
426
+ <xs:element name="GetBusinessRulesResponse">
427
+ <xs:complexType>
428
+ <xs:sequence>
429
+ <xs:element minOccurs="0" name="GetBusinessRulesResult" nillable="true" type="q34:ArrayOfKeyValueOfstringstring" xmlns:q34="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
430
+ </xs:sequence>
431
+ </xs:complexType>
432
+ </xs:element>
433
+ </xs:schema>