sekken 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,42 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
3
+ <xs:element name="anyType" nillable="true" type="xs:anyType"/>
4
+ <xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
5
+ <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
6
+ <xs:element name="boolean" nillable="true" type="xs:boolean"/>
7
+ <xs:element name="byte" nillable="true" type="xs:byte"/>
8
+ <xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
9
+ <xs:element name="decimal" nillable="true" type="xs:decimal"/>
10
+ <xs:element name="double" nillable="true" type="xs:double"/>
11
+ <xs:element name="float" nillable="true" type="xs:float"/>
12
+ <xs:element name="int" nillable="true" type="xs:int"/>
13
+ <xs:element name="long" nillable="true" type="xs:long"/>
14
+ <xs:element name="QName" nillable="true" type="xs:QName"/>
15
+ <xs:element name="short" nillable="true" type="xs:short"/>
16
+ <xs:element name="string" nillable="true" type="xs:string"/>
17
+ <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
18
+ <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
19
+ <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
20
+ <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
21
+ <xs:element name="char" nillable="true" type="tns:char"/>
22
+ <xs:simpleType name="char">
23
+ <xs:restriction base="xs:int"/>
24
+ </xs:simpleType>
25
+ <xs:element name="duration" nillable="true" type="tns:duration"/>
26
+ <xs:simpleType name="duration">
27
+ <xs:restriction base="xs:duration">
28
+ <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
29
+ <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
30
+ <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
31
+ </xs:restriction>
32
+ </xs:simpleType>
33
+ <xs:element name="guid" nillable="true" type="tns:guid"/>
34
+ <xs:simpleType name="guid">
35
+ <xs:restriction base="xs:string">
36
+ <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
37
+ </xs:restriction>
38
+ </xs:simpleType>
39
+ <xs:attribute name="FactoryType" type="xs:QName"/>
40
+ <xs:attribute name="Id" type="xs:ID"/>
41
+ <xs:attribute name="Ref" type="xs:IDREF"/>
42
+ </xs:schema>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://connect.bookt.com/Schemas/Person.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://connect.bookt.com/Schemas/Person.xsd">
3
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
4
+ <xs:complexType name="Person">
5
+ <xs:sequence>
6
+ <xs:element minOccurs="0" name="Address1" nillable="true" type="xs:string"/>
7
+ <xs:element minOccurs="0" name="Address2" nillable="true" type="xs:string"/>
8
+ <xs:element minOccurs="0" name="AltID" nillable="true" type="xs:string"/>
9
+ <xs:element minOccurs="0" name="CellPhone" nillable="true" type="xs:string"/>
10
+ <xs:element minOccurs="0" name="City" nillable="true" type="xs:string"/>
11
+ <xs:element minOccurs="0" name="Company" nillable="true" type="xs:string"/>
12
+ <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string"/>
13
+ <xs:element minOccurs="0" name="FaxNumber" nillable="true" type="xs:string"/>
14
+ <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string"/>
15
+ <xs:element minOccurs="0" name="Greeting" nillable="true" type="xs:string"/>
16
+ <xs:element minOccurs="0" name="HomePhone" nillable="true" type="xs:string"/>
17
+ <xs:element minOccurs="0" name="ID" type="xs:int"/>
18
+ <xs:element minOccurs="0" name="Initial" nillable="true" type="xs:string"/>
19
+ <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string"/>
20
+ <xs:element minOccurs="0" name="Latitude" type="xs:decimal"/>
21
+ <xs:element minOccurs="0" name="LeadSource" nillable="true" type="xs:string"/>
22
+ <xs:element minOccurs="0" name="Longitude" type="xs:decimal"/>
23
+ <xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string"/>
24
+ <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xs:string"/>
25
+ <xs:element minOccurs="0" name="Prefix" nillable="true" type="xs:string"/>
26
+ <xs:element minOccurs="0" name="PrimaryEmail" nillable="true" type="xs:string"/>
27
+ <xs:element minOccurs="0" name="State" nillable="true" type="xs:string"/>
28
+ <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string"/>
29
+ <xs:element minOccurs="0" name="Suffix" nillable="true" type="xs:string"/>
30
+ <xs:element minOccurs="0" name="Tags" nillable="true" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
31
+ <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string"/>
32
+ <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
33
+ <xs:element minOccurs="0" name="WebSite" nillable="true" type="xs:string"/>
34
+ <xs:element minOccurs="0" name="WorkPhone" nillable="true" type="xs:string"/>
35
+ </xs:sequence>
36
+ </xs:complexType>
37
+ <xs:element name="Person" nillable="true" type="tns:Person"/>
38
+ </xs:schema>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://connect.bookt.com/Schemas/CreditCard.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://connect.bookt.com/Schemas/CreditCard.xsd">
3
+ <xs:complexType name="CreditCard">
4
+ <xs:sequence>
5
+ <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string"/>
6
+ <xs:element minOccurs="0" name="CardNumber" nillable="true" type="xs:string"/>
7
+ <xs:element minOccurs="0" name="City" nillable="true" type="xs:string"/>
8
+ <xs:element minOccurs="0" name="ExpiresOn" type="xs:dateTime"/>
9
+ <xs:element minOccurs="0" name="NameOnCard" nillable="true" type="xs:string"/>
10
+ <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xs:string"/>
11
+ <xs:element minOccurs="0" name="SecurityCode" nillable="true" type="xs:string"/>
12
+ <xs:element minOccurs="0" name="State" nillable="true" type="xs:string"/>
13
+ <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
14
+ </xs:sequence>
15
+ </xs:complexType>
16
+ <xs:element name="CreditCard" nillable="true" type="tns:CreditCard"/>
17
+ </xs:schema>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://connect.bookt.com/Schemas/Statement.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://connect.bookt.com/Schemas/Statement.xsd">
3
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd13" namespace="http://connect.bookt.com/Schemas/StatementDetail.xsd"/>
4
+ <xs:complexType name="Statement">
5
+ <xs:sequence>
6
+ <xs:element minOccurs="0" name="Currency" nillable="true" type="xs:string"/>
7
+ <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string"/>
8
+ <xs:element minOccurs="0" name="Details" nillable="true" type="q1:ArrayOfStatementDetail" xmlns:q1="http://connect.bookt.com/Schemas/StatementDetail.xsd"/>
9
+ <xs:element minOccurs="0" name="DueOn" type="xs:dateTime"/>
10
+ <xs:element minOccurs="0" name="ID" type="xs:int"/>
11
+ <xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string"/>
12
+ <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string"/>
13
+ <xs:element minOccurs="0" name="Total" type="xs:decimal"/>
14
+ <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
15
+ </xs:sequence>
16
+ </xs:complexType>
17
+ <xs:element name="Statement" nillable="true" type="tns:Statement"/>
18
+ </xs:schema>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://connect.bookt.com/Schemas/StatementDetail.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://connect.bookt.com/Schemas/StatementDetail.xsd">
3
+ <xs:complexType name="ArrayOfStatementDetail">
4
+ <xs:sequence>
5
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="StatementDetail" nillable="true" type="tns:StatementDetail"/>
6
+ </xs:sequence>
7
+ </xs:complexType>
8
+ <xs:element name="ArrayOfStatementDetail" nillable="true" type="tns:ArrayOfStatementDetail"/>
9
+ <xs:complexType name="StatementDetail">
10
+ <xs:sequence>
11
+ <xs:element minOccurs="0" name="Amount" type="xs:decimal"/>
12
+ <xs:element minOccurs="0" name="Currency" nillable="true" type="xs:string"/>
13
+ <xs:element minOccurs="0" name="ID" type="xs:int"/>
14
+ <xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string"/>
15
+ <xs:element minOccurs="0" name="Quantity" type="xs:decimal"/>
16
+ <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string"/>
17
+ <xs:element minOccurs="0" name="SubTotal" type="xs:decimal"/>
18
+ <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
19
+ </xs:sequence>
20
+ </xs:complexType>
21
+ <xs:element name="StatementDetail" nillable="true" type="tns:StatementDetail"/>
22
+ </xs:schema>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://connect.bookt.com/Schemas/Event.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://connect.bookt.com/Schemas/Event.xsd">
3
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd10" namespace="http://connect.bookt.com/Schemas/Person.xsd"/>
4
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd12" namespace="http://connect.bookt.com/Schemas/Statement.xsd"/>
5
+ <xs:complexType name="Event">
6
+ <xs:sequence>
7
+ <xs:element minOccurs="0" name="AddedOn" type="xs:dateTime"/>
8
+ <xs:element minOccurs="0" name="AltID" nillable="true" type="xs:string"/>
9
+ <xs:element minOccurs="0" name="CheckIn" type="xs:dateTime"/>
10
+ <xs:element minOccurs="0" name="CheckOut" type="xs:dateTime"/>
11
+ <xs:element minOccurs="0" name="CompletedOn" type="xs:dateTime"/>
12
+ <xs:element minOccurs="0" name="ID" type="xs:int"/>
13
+ <xs:element minOccurs="0" name="Lead" nillable="true" type="q1:Person" xmlns:q1="http://connect.bookt.com/Schemas/Person.xsd"/>
14
+ <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string"/>
15
+ <xs:element minOccurs="0" name="MessageFormat" nillable="true" type="xs:string"/>
16
+ <xs:element minOccurs="0" name="NumAdults" type="xs:int"/>
17
+ <xs:element minOccurs="0" name="NumChildren" type="xs:int"/>
18
+ <xs:element minOccurs="0" name="PropertyID" nillable="true" type="xs:string"/>
19
+ <xs:element minOccurs="0" name="Statement" nillable="true" type="q2:Statement" xmlns:q2="http://connect.bookt.com/Schemas/Statement.xsd"/>
20
+ <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string"/>
21
+ <xs:element minOccurs="0" name="Subject" nillable="true" type="xs:string"/>
22
+ <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
23
+ <xs:element minOccurs="0" name="UnitID" nillable="true" type="xs:string"/>
24
+ </xs:sequence>
25
+ </xs:complexType>
26
+ <xs:element name="Event" nillable="true" type="tns:Event"/>
27
+ </xs:schema>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://connect.bookt.com/Schemas/Review.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://connect.bookt.com/Schemas/Review.xsd">
3
+ <xs:import schemaLocation="http://connect.bookt.com/svc/connect.svc?xsd=xsd10" namespace="http://connect.bookt.com/Schemas/Person.xsd"/>
4
+ <xs:complexType name="Review">
5
+ <xs:sequence>
6
+ <xs:element minOccurs="0" name="AltID" nillable="true" type="xs:string"/>
7
+ <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string"/>
8
+ <xs:element minOccurs="0" name="ExternalLink" nillable="true" type="xs:string"/>
9
+ <xs:element minOccurs="0" name="ID" type="xs:int"/>
10
+ <xs:element minOccurs="0" name="Rating" type="xs:int"/>
11
+ <xs:element minOccurs="0" name="Response" nillable="true" type="xs:string"/>
12
+ <xs:element minOccurs="0" name="ReviewedBy" nillable="true" type="q1:Person" xmlns:q1="http://connect.bookt.com/Schemas/Person.xsd"/>
13
+ <xs:element minOccurs="0" name="ReviewedEntityID" nillable="true" type="xs:string"/>
14
+ <xs:element minOccurs="0" name="Source" nillable="true" type="xs:string"/>
15
+ <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string"/>
16
+ <xs:element minOccurs="0" name="SubmissionDate" type="xs:dateTime"/>
17
+ <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string"/>
18
+ <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
19
+ </xs:sequence>
20
+ </xs:complexType>
21
+ <xs:element name="Review" nillable="true" type="tns:Review"/>
22
+ <xs:complexType name="ArrayOfReview">
23
+ <xs:sequence>
24
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="Review" nillable="true" type="tns:Review"/>
25
+ </xs:sequence>
26
+ </xs:complexType>
27
+ <xs:element name="ArrayOfReview" nillable="true" type="tns:ArrayOfReview"/>
28
+ </xs:schema>
@@ -0,0 +1,243 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- http://connect.bookt.com/svc/connect.svc?wsdl=wsdl1 -->
3
+ <wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:i0="https://connect.bookt.com/connect" 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="http://tempuri.org/" 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="https://connect.bookt.com/connect" location="http://connect.bookt.com/svc/connect.svc?wsdl=wsdl0"/>
5
+ <wsdl:types/>
6
+ <wsdl:binding name="IConnect" type="i0:IConnect">
7
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
8
+ <wsdl:operation name="GetPropertyCategories">
9
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetPropertyCategories" style="document"/>
10
+ <wsdl:input>
11
+ <soap:body use="literal"/>
12
+ </wsdl:input>
13
+ <wsdl:output>
14
+ <soap:body use="literal"/>
15
+ </wsdl:output>
16
+ </wsdl:operation>
17
+ <wsdl:operation name="GetPropertyIDs">
18
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetPropertyIDs" style="document"/>
19
+ <wsdl:input>
20
+ <soap:body use="literal"/>
21
+ </wsdl:input>
22
+ <wsdl:output>
23
+ <soap:body use="literal"/>
24
+ </wsdl:output>
25
+ </wsdl:operation>
26
+ <wsdl:operation name="GetProperty">
27
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetProperty" style="document"/>
28
+ <wsdl:input>
29
+ <soap:body use="literal"/>
30
+ </wsdl:input>
31
+ <wsdl:output>
32
+ <soap:body use="literal"/>
33
+ </wsdl:output>
34
+ </wsdl:operation>
35
+ <wsdl:operation name="GetPropertyIDsByCategory">
36
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetPropertyIDsByCategory" style="document"/>
37
+ <wsdl:input>
38
+ <soap:body use="literal"/>
39
+ </wsdl:input>
40
+ <wsdl:output>
41
+ <soap:body use="literal"/>
42
+ </wsdl:output>
43
+ </wsdl:operation>
44
+ <wsdl:operation name="GetRates">
45
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetRates" style="document"/>
46
+ <wsdl:input>
47
+ <soap:body use="literal"/>
48
+ </wsdl:input>
49
+ <wsdl:output>
50
+ <soap:body use="literal"/>
51
+ </wsdl:output>
52
+ </wsdl:operation>
53
+ <wsdl:operation name="GetPerRoomRates">
54
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetPerRoomRates" style="document"/>
55
+ <wsdl:input>
56
+ <soap:body use="literal"/>
57
+ </wsdl:input>
58
+ <wsdl:output>
59
+ <soap:body use="literal"/>
60
+ </wsdl:output>
61
+ </wsdl:operation>
62
+ <wsdl:operation name="GetAvailability">
63
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetAvailability" style="document"/>
64
+ <wsdl:input>
65
+ <soap:body use="literal"/>
66
+ </wsdl:input>
67
+ <wsdl:output>
68
+ <soap:body use="literal"/>
69
+ </wsdl:output>
70
+ </wsdl:operation>
71
+ <wsdl:operation name="SetRates">
72
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/SetRates" style="document"/>
73
+ <wsdl:input>
74
+ <soap:body use="literal"/>
75
+ </wsdl:input>
76
+ <wsdl:output>
77
+ <soap:body use="literal"/>
78
+ </wsdl:output>
79
+ </wsdl:operation>
80
+ <wsdl:operation name="SetPerRoomRates">
81
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/SetPerRoomRates" style="document"/>
82
+ <wsdl:input>
83
+ <soap:body use="literal"/>
84
+ </wsdl:input>
85
+ <wsdl:output>
86
+ <soap:body use="literal"/>
87
+ </wsdl:output>
88
+ </wsdl:operation>
89
+ <wsdl:operation name="SetAvailability">
90
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/SetAvailability" style="document"/>
91
+ <wsdl:input>
92
+ <soap:body use="literal"/>
93
+ </wsdl:input>
94
+ <wsdl:output>
95
+ <soap:body use="literal"/>
96
+ </wsdl:output>
97
+ </wsdl:operation>
98
+ <wsdl:operation name="SetRatesAndAvailability">
99
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/SetRatesAndAvailability" style="document"/>
100
+ <wsdl:input>
101
+ <soap:body use="literal"/>
102
+ </wsdl:input>
103
+ <wsdl:output>
104
+ <soap:body use="literal"/>
105
+ </wsdl:output>
106
+ </wsdl:operation>
107
+ <wsdl:operation name="GetBooking">
108
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetBooking" style="document"/>
109
+ <wsdl:input>
110
+ <soap:body use="literal"/>
111
+ </wsdl:input>
112
+ <wsdl:output>
113
+ <soap:body use="literal"/>
114
+ </wsdl:output>
115
+ </wsdl:operation>
116
+ <wsdl:operation name="MakeBooking">
117
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/MakeBooking" style="document"/>
118
+ <wsdl:input>
119
+ <soap:body use="literal"/>
120
+ </wsdl:input>
121
+ <wsdl:output>
122
+ <soap:body use="literal"/>
123
+ </wsdl:output>
124
+ </wsdl:operation>
125
+ <wsdl:operation name="CancelBooking">
126
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/CancelBooking" style="document"/>
127
+ <wsdl:input>
128
+ <soap:body use="literal"/>
129
+ </wsdl:input>
130
+ <wsdl:output>
131
+ <soap:body use="literal"/>
132
+ </wsdl:output>
133
+ </wsdl:operation>
134
+ <wsdl:operation name="ModifyBooking">
135
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/ModifyBooking" style="document"/>
136
+ <wsdl:input>
137
+ <soap:body use="literal"/>
138
+ </wsdl:input>
139
+ <wsdl:output>
140
+ <soap:body use="literal"/>
141
+ </wsdl:output>
142
+ </wsdl:operation>
143
+ <wsdl:operation name="CreateLead">
144
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/CreateLead" style="document"/>
145
+ <wsdl:input>
146
+ <soap:body use="literal"/>
147
+ </wsdl:input>
148
+ <wsdl:output>
149
+ <soap:body use="literal"/>
150
+ </wsdl:output>
151
+ </wsdl:operation>
152
+ <wsdl:operation name="CreateEvent">
153
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/CreateEvent" style="document"/>
154
+ <wsdl:input>
155
+ <soap:body use="literal"/>
156
+ </wsdl:input>
157
+ <wsdl:output>
158
+ <soap:body use="literal"/>
159
+ </wsdl:output>
160
+ </wsdl:operation>
161
+ <wsdl:operation name="GetEventCategories">
162
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetEventCategories" style="document"/>
163
+ <wsdl:input>
164
+ <soap:body use="literal"/>
165
+ </wsdl:input>
166
+ <wsdl:output>
167
+ <soap:body use="literal"/>
168
+ </wsdl:output>
169
+ </wsdl:operation>
170
+ <wsdl:operation name="GetLead">
171
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetLead" style="document"/>
172
+ <wsdl:input>
173
+ <soap:body use="literal"/>
174
+ </wsdl:input>
175
+ <wsdl:output>
176
+ <soap:body use="literal"/>
177
+ </wsdl:output>
178
+ </wsdl:operation>
179
+ <wsdl:operation name="GetEvent">
180
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetEvent" style="document"/>
181
+ <wsdl:input>
182
+ <soap:body use="literal"/>
183
+ </wsdl:input>
184
+ <wsdl:output>
185
+ <soap:body use="literal"/>
186
+ </wsdl:output>
187
+ </wsdl:operation>
188
+ <wsdl:operation name="GetReviewIDs">
189
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetReviewIDs" style="document"/>
190
+ <wsdl:input>
191
+ <soap:body use="literal"/>
192
+ </wsdl:input>
193
+ <wsdl:output>
194
+ <soap:body use="literal"/>
195
+ </wsdl:output>
196
+ </wsdl:operation>
197
+ <wsdl:operation name="GetReview">
198
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetReview" style="document"/>
199
+ <wsdl:input>
200
+ <soap:body use="literal"/>
201
+ </wsdl:input>
202
+ <wsdl:output>
203
+ <soap:body use="literal"/>
204
+ </wsdl:output>
205
+ </wsdl:operation>
206
+ <wsdl:operation name="GetReviews">
207
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetReviews" style="document"/>
208
+ <wsdl:input>
209
+ <soap:body use="literal"/>
210
+ </wsdl:input>
211
+ <wsdl:output>
212
+ <soap:body use="literal"/>
213
+ </wsdl:output>
214
+ </wsdl:operation>
215
+ <wsdl:operation name="CreateReview">
216
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/CreateReview" style="document"/>
217
+ <wsdl:input>
218
+ <soap:body use="literal"/>
219
+ </wsdl:input>
220
+ <wsdl:output>
221
+ <soap:body use="literal"/>
222
+ </wsdl:output>
223
+ </wsdl:operation>
224
+ <wsdl:operation name="DeleteReview">
225
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/DeleteReview" style="document"/>
226
+ <wsdl:input>
227
+ <soap:body use="literal"/>
228
+ </wsdl:input>
229
+ <wsdl:output>
230
+ <soap:body use="literal"/>
231
+ </wsdl:output>
232
+ </wsdl:operation>
233
+ <wsdl:operation name="GetBusinessRules">
234
+ <soap:operation soapAction="https://connect.bookt.com/connect/IConnect/GetBusinessRules" style="document"/>
235
+ <wsdl:input>
236
+ <soap:body use="literal"/>
237
+ </wsdl:input>
238
+ <wsdl:output>
239
+ <soap:body use="literal"/>
240
+ </wsdl:output>
241
+ </wsdl:operation>
242
+ </wsdl:binding>
243
+ </wsdl:definitions>
@@ -0,0 +1,81 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
3
+ <xs:complexType name="ArrayOfstring">
4
+ <xs:sequence>
5
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string"/>
6
+ </xs:sequence>
7
+ </xs:complexType>
8
+ <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring"/>
9
+ <xs:complexType name="ArrayOfint">
10
+ <xs:sequence>
11
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int"/>
12
+ </xs:sequence>
13
+ </xs:complexType>
14
+ <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint"/>
15
+ <xs:complexType name="ArrayOfKeyValueOfdateTimedecimal">
16
+ <xs:annotation>
17
+ <xs:appinfo>
18
+ <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
19
+ </xs:appinfo>
20
+ </xs:annotation>
21
+ <xs:sequence>
22
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfdateTimedecimal">
23
+ <xs:complexType>
24
+ <xs:sequence>
25
+ <xs:element name="Key" type="xs:dateTime"/>
26
+ <xs:element name="Value" type="xs:decimal"/>
27
+ </xs:sequence>
28
+ </xs:complexType>
29
+ </xs:element>
30
+ </xs:sequence>
31
+ </xs:complexType>
32
+ <xs:element name="ArrayOfKeyValueOfdateTimedecimal" nillable="true" type="tns:ArrayOfKeyValueOfdateTimedecimal"/>
33
+ <xs:complexType name="ArrayOfKeyValueOfdateTimeint">
34
+ <xs:annotation>
35
+ <xs:appinfo>
36
+ <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
37
+ </xs:appinfo>
38
+ </xs:annotation>
39
+ <xs:sequence>
40
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfdateTimeint">
41
+ <xs:complexType>
42
+ <xs:sequence>
43
+ <xs:element name="Key" type="xs:dateTime"/>
44
+ <xs:element name="Value" type="xs:int"/>
45
+ </xs:sequence>
46
+ </xs:complexType>
47
+ </xs:element>
48
+ </xs:sequence>
49
+ </xs:complexType>
50
+ <xs:element name="ArrayOfKeyValueOfdateTimeint" nillable="true" type="tns:ArrayOfKeyValueOfdateTimeint"/>
51
+ <xs:complexType name="ArrayOfdateTime">
52
+ <xs:sequence>
53
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="dateTime" type="xs:dateTime"/>
54
+ </xs:sequence>
55
+ </xs:complexType>
56
+ <xs:element name="ArrayOfdateTime" nillable="true" type="tns:ArrayOfdateTime"/>
57
+ <xs:complexType name="ArrayOfdecimal">
58
+ <xs:sequence>
59
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="decimal" type="xs:decimal"/>
60
+ </xs:sequence>
61
+ </xs:complexType>
62
+ <xs:element name="ArrayOfdecimal" nillable="true" type="tns:ArrayOfdecimal"/>
63
+ <xs:complexType name="ArrayOfKeyValueOfstringstring">
64
+ <xs:annotation>
65
+ <xs:appinfo>
66
+ <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
67
+ </xs:appinfo>
68
+ </xs:annotation>
69
+ <xs:sequence>
70
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringstring">
71
+ <xs:complexType>
72
+ <xs:sequence>
73
+ <xs:element name="Key" nillable="true" type="xs:string"/>
74
+ <xs:element name="Value" nillable="true" type="xs:string"/>
75
+ </xs:sequence>
76
+ </xs:complexType>
77
+ </xs:element>
78
+ </xs:sequence>
79
+ </xs:complexType>
80
+ <xs:element name="ArrayOfKeyValueOfstringstring" nillable="true" type="tns:ArrayOfKeyValueOfstringstring"/>
81
+ </xs:schema>