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,74 @@
1
+ <wsdl:definitions name="SecurityService" targetNamespace="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
2
+ <wsdl:import namespace="http://tempuri.org/" location="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?wsdl=wsdl0"/>
3
+ <wsdl:types>
4
+ <xsd:schema targetNamespace="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/Imports">
5
+ <xsd:import schemaLocation="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?xsd=xsd0" namespace="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0"/>
6
+ <xsd:import schemaLocation="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?xsd=xsd2" namespace="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
7
+ <xsd:import schemaLocation="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
8
+ <xsd:import schemaLocation="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Adactus.RICO.UISupportServices.Contract.ServiceData.Enumerations"/>
9
+ </xsd:schema>
10
+ </wsdl:types>
11
+ <wsdl:message name="ISecurityService_StartSession_InputMessage">
12
+ <wsdl:part name="parameters" element="tns:StartSession"/>
13
+ </wsdl:message>
14
+ <wsdl:message name="ISecurityService_StartSession_OutputMessage">
15
+ <wsdl:part name="parameters" element="tns:StartSessionResponse"/>
16
+ </wsdl:message>
17
+ <wsdl:message name="ISecurityService_StartSession_ServiceFaultFault_FaultMessage">
18
+ <wsdl:part name="detail" element="q1:ServiceFault" xmlns:q1="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
19
+ </wsdl:message>
20
+ <wsdl:message name="ISecurityService_EndSession_InputMessage">
21
+ <wsdl:part name="parameters" element="tns:EndSession"/>
22
+ </wsdl:message>
23
+ <wsdl:message name="ISecurityService_EndSession_OutputMessage">
24
+ <wsdl:part name="parameters" element="tns:EndSessionResponse"/>
25
+ </wsdl:message>
26
+ <wsdl:message name="ISecurityService_EndSession_ServiceFaultFault_FaultMessage">
27
+ <wsdl:part name="detail" element="q2:ServiceFault" xmlns:q2="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
28
+ </wsdl:message>
29
+ <wsdl:message name="ISecurityService_GetSessionState_InputMessage">
30
+ <wsdl:part name="parameters" element="tns:GetSessionState"/>
31
+ </wsdl:message>
32
+ <wsdl:message name="ISecurityService_GetSessionState_OutputMessage">
33
+ <wsdl:part name="parameters" element="tns:GetSessionStateResponse"/>
34
+ </wsdl:message>
35
+ <wsdl:message name="ISecurityService_GetSessionState_ServiceFaultFault_FaultMessage">
36
+ <wsdl:part name="detail" element="q3:ServiceFault" xmlns:q3="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
37
+ </wsdl:message>
38
+ <wsdl:message name="ISecurityService_GetSessionFromToken_InputMessage">
39
+ <wsdl:part name="parameters" element="tns:GetSessionFromToken"/>
40
+ </wsdl:message>
41
+ <wsdl:message name="ISecurityService_GetSessionFromToken_OutputMessage">
42
+ <wsdl:part name="parameters" element="tns:GetSessionFromTokenResponse"/>
43
+ </wsdl:message>
44
+ <wsdl:message name="ISecurityService_GetSessionFromToken_ServiceFaultFault_FaultMessage">
45
+ <wsdl:part name="detail" element="q4:ServiceFault" xmlns:q4="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
46
+ </wsdl:message>
47
+ <wsdl:portType name="ISecurityService">
48
+ <wsdl:operation name="StartSession">
49
+ <wsdl:input wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/StartSession" message="tns:ISecurityService_StartSession_InputMessage"/>
50
+ <wsdl:output wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/StartSessionResponse" message="tns:ISecurityService_StartSession_OutputMessage"/>
51
+ <wsdl:fault wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/StartSessionServiceFaultFault" name="ServiceFaultFault" message="tns:ISecurityService_StartSession_ServiceFaultFault_FaultMessage"/>
52
+ </wsdl:operation>
53
+ <wsdl:operation name="EndSession">
54
+ <wsdl:input wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/EndSession" message="tns:ISecurityService_EndSession_InputMessage"/>
55
+ <wsdl:output wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/EndSessionResponse" message="tns:ISecurityService_EndSession_OutputMessage"/>
56
+ <wsdl:fault wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/EndSessionServiceFaultFault" name="ServiceFaultFault" message="tns:ISecurityService_EndSession_ServiceFaultFault_FaultMessage"/>
57
+ </wsdl:operation>
58
+ <wsdl:operation name="GetSessionState">
59
+ <wsdl:input wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionState" message="tns:ISecurityService_GetSessionState_InputMessage"/>
60
+ <wsdl:output wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionStateResponse" message="tns:ISecurityService_GetSessionState_OutputMessage"/>
61
+ <wsdl:fault wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionStateServiceFaultFault" name="ServiceFaultFault" message="tns:ISecurityService_GetSessionState_ServiceFaultFault_FaultMessage"/>
62
+ </wsdl:operation>
63
+ <wsdl:operation name="GetSessionFromToken">
64
+ <wsdl:input wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionFromToken" message="tns:ISecurityService_GetSessionFromToken_InputMessage"/>
65
+ <wsdl:output wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionFromTokenResponse" message="tns:ISecurityService_GetSessionFromToken_OutputMessage"/>
66
+ <wsdl:fault wsaw:Action="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionFromTokenServiceFaultFault" name="ServiceFaultFault" message="tns:ISecurityService_GetSessionFromToken_ServiceFaultFault_FaultMessage"/>
67
+ </wsdl:operation>
68
+ </wsdl:portType>
69
+ <wsdl:service name="SecurityService">
70
+ <wsdl:port name="BasicHttpBinding_ISecurityService" binding="i0:BasicHttpBinding_ISecurityService">
71
+ <soap:address location="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc/soap"/>
72
+ </wsdl:port>
73
+ </wsdl:service>
74
+ </wsdl:definitions>
@@ -0,0 +1,55 @@
1
+ <wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
2
+ <wsdl:import namespace="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0" location="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?wsdl"/>
3
+ <wsdl:types/>
4
+ <wsdl:binding name="BasicHttpBinding_ISecurityService" type="i0:ISecurityService">
5
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
6
+ <wsdl:operation name="StartSession">
7
+ <soap:operation soapAction="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/StartSession" style="document"/>
8
+ <wsdl:input>
9
+ <soap:body use="literal"/>
10
+ </wsdl:input>
11
+ <wsdl:output>
12
+ <soap:body use="literal"/>
13
+ </wsdl:output>
14
+ <wsdl:fault name="ServiceFaultFault">
15
+ <soap:fault name="ServiceFaultFault" use="literal"/>
16
+ </wsdl:fault>
17
+ </wsdl:operation>
18
+ <wsdl:operation name="EndSession">
19
+ <soap:operation soapAction="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/EndSession" style="document"/>
20
+ <wsdl:input>
21
+ <soap:body use="literal"/>
22
+ </wsdl:input>
23
+ <wsdl:output>
24
+ <soap:body use="literal"/>
25
+ </wsdl:output>
26
+ <wsdl:fault name="ServiceFaultFault">
27
+ <soap:fault name="ServiceFaultFault" use="literal"/>
28
+ </wsdl:fault>
29
+ </wsdl:operation>
30
+ <wsdl:operation name="GetSessionState">
31
+ <soap:operation soapAction="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionState" style="document"/>
32
+ <wsdl:input>
33
+ <soap:body use="literal"/>
34
+ </wsdl:input>
35
+ <wsdl:output>
36
+ <soap:body use="literal"/>
37
+ </wsdl:output>
38
+ <wsdl:fault name="ServiceFaultFault">
39
+ <soap:fault name="ServiceFaultFault" use="literal"/>
40
+ </wsdl:fault>
41
+ </wsdl:operation>
42
+ <wsdl:operation name="GetSessionFromToken">
43
+ <soap:operation soapAction="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0/ISecurityService/GetSessionFromToken" style="document"/>
44
+ <wsdl:input>
45
+ <soap:body use="literal"/>
46
+ </wsdl:input>
47
+ <wsdl:output>
48
+ <soap:body use="literal"/>
49
+ </wsdl:output>
50
+ <wsdl:fault name="ServiceFaultFault">
51
+ <soap:fault name="ServiceFaultFault" use="literal"/>
52
+ </wsdl:fault>
53
+ </wsdl:operation>
54
+ </wsdl:binding>
55
+ </wsdl:definitions>
@@ -0,0 +1,58 @@
1
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.adactus.co.uk/UISupportServices/ISecurityService/v1.0.0.0">
2
+ <xs:import schemaLocation="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?xsd=xsd2" namespace="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
3
+ <xs:element name="StartSession">
4
+ <xs:complexType>
5
+ <xs:sequence>
6
+ <xs:element minOccurs="0" name="request" nillable="true" type="q1:StartSessionRequest" xmlns:q1="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
7
+ </xs:sequence>
8
+ </xs:complexType>
9
+ </xs:element>
10
+ <xs:element name="StartSessionResponse">
11
+ <xs:complexType>
12
+ <xs:sequence>
13
+ <xs:element minOccurs="0" name="StartSessionResult" nillable="true" type="q2:StartSessionResponse" xmlns:q2="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
14
+ </xs:sequence>
15
+ </xs:complexType>
16
+ </xs:element>
17
+ <xs:element name="EndSession">
18
+ <xs:complexType>
19
+ <xs:sequence>
20
+ <xs:element minOccurs="0" name="session" nillable="true" type="q3:SessionDTO" xmlns:q3="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
21
+ </xs:sequence>
22
+ </xs:complexType>
23
+ </xs:element>
24
+ <xs:element name="EndSessionResponse">
25
+ <xs:complexType>
26
+ <xs:sequence/>
27
+ </xs:complexType>
28
+ </xs:element>
29
+ <xs:element name="GetSessionState">
30
+ <xs:complexType>
31
+ <xs:sequence>
32
+ <xs:element minOccurs="0" name="session" nillable="true" type="q4:SessionDTO" xmlns:q4="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
33
+ <xs:element minOccurs="0" name="request" nillable="true" type="q5:GetSessionStateRequest" xmlns:q5="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
34
+ </xs:sequence>
35
+ </xs:complexType>
36
+ </xs:element>
37
+ <xs:element name="GetSessionStateResponse">
38
+ <xs:complexType>
39
+ <xs:sequence>
40
+ <xs:element minOccurs="0" name="GetSessionStateResult" nillable="true" type="q6:GetSessionStateResponse" xmlns:q6="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
41
+ </xs:sequence>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ <xs:element name="GetSessionFromToken">
45
+ <xs:complexType>
46
+ <xs:sequence>
47
+ <xs:element minOccurs="0" name="request" nillable="true" type="q7:GetSessionFromTokenRequest" xmlns:q7="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
48
+ </xs:sequence>
49
+ </xs:complexType>
50
+ </xs:element>
51
+ <xs:element name="GetSessionFromTokenResponse">
52
+ <xs:complexType>
53
+ <xs:sequence>
54
+ <xs:element minOccurs="0" name="GetSessionFromTokenResult" nillable="true" type="q8:GetSessionFromTokenResponse" xmlns:q8="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0"/>
55
+ </xs:sequence>
56
+ </xs:complexType>
57
+ </xs:element>
58
+ </xs:schema>
@@ -0,0 +1,41 @@
1
+ <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/">
2
+ <xs:element name="anyType" nillable="true" type="xs:anyType"/>
3
+ <xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
4
+ <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
5
+ <xs:element name="boolean" nillable="true" type="xs:boolean"/>
6
+ <xs:element name="byte" nillable="true" type="xs:byte"/>
7
+ <xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
8
+ <xs:element name="decimal" nillable="true" type="xs:decimal"/>
9
+ <xs:element name="double" nillable="true" type="xs:double"/>
10
+ <xs:element name="float" nillable="true" type="xs:float"/>
11
+ <xs:element name="int" nillable="true" type="xs:int"/>
12
+ <xs:element name="long" nillable="true" type="xs:long"/>
13
+ <xs:element name="QName" nillable="true" type="xs:QName"/>
14
+ <xs:element name="short" nillable="true" type="xs:short"/>
15
+ <xs:element name="string" nillable="true" type="xs:string"/>
16
+ <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
17
+ <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
18
+ <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
19
+ <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
20
+ <xs:element name="char" nillable="true" type="tns:char"/>
21
+ <xs:simpleType name="char">
22
+ <xs:restriction base="xs:int"/>
23
+ </xs:simpleType>
24
+ <xs:element name="duration" nillable="true" type="tns:duration"/>
25
+ <xs:simpleType name="duration">
26
+ <xs:restriction base="xs:duration">
27
+ <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
28
+ <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
29
+ <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
30
+ </xs:restriction>
31
+ </xs:simpleType>
32
+ <xs:element name="guid" nillable="true" type="tns:guid"/>
33
+ <xs:simpleType name="guid">
34
+ <xs:restriction base="xs:string">
35
+ <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
36
+ </xs:restriction>
37
+ </xs:simpleType>
38
+ <xs:attribute name="FactoryType" type="xs:QName"/>
39
+ <xs:attribute name="Id" type="xs:ID"/>
40
+ <xs:attribute name="Ref" type="xs:IDREF"/>
41
+ </xs:schema>
@@ -0,0 +1,222 @@
1
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.adactus.co.uk/UISupportServices/ServiceData/v1.0.0.0">
2
+ <xs:import schemaLocation="http://193.155.1.72/MyCentral-RioII-Services/SecurityService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Adactus.RICO.UISupportServices.Contract.ServiceData.Enumerations"/>
3
+ <xs:complexType name="StartSessionRequest">
4
+ <xs:complexContent mixed="false">
5
+ <xs:extension base="tns:ServiceRequestBase">
6
+ <xs:sequence>
7
+ <xs:element name="ApplicationId" nillable="true" type="xs:string">
8
+ <xs:annotation>
9
+ <xs:appinfo>
10
+ <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ </xs:element>
14
+ <xs:element name="CultureCode" nillable="true" type="xs:string">
15
+ <xs:annotation>
16
+ <xs:appinfo>
17
+ <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
18
+ </xs:appinfo>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ </xs:sequence>
22
+ </xs:extension>
23
+ </xs:complexContent>
24
+ </xs:complexType>
25
+ <xs:element name="StartSessionRequest" nillable="true" type="tns:StartSessionRequest"/>
26
+ <xs:complexType name="ServiceRequestBase">
27
+ <xs:sequence>
28
+ <xs:element minOccurs="0" name="Context" nillable="true" type="xs:string"/>
29
+ </xs:sequence>
30
+ </xs:complexType>
31
+ <xs:element name="ServiceRequestBase" nillable="true" type="tns:ServiceRequestBase"/>
32
+ <xs:complexType name="StartSessionResponse">
33
+ <xs:complexContent mixed="false">
34
+ <xs:extension base="tns:ServiceResponseBase">
35
+ <xs:sequence>
36
+ <xs:element minOccurs="0" name="ResultType" type="tns:StartSessionResultType"/>
37
+ <xs:element minOccurs="0" name="Session" nillable="true" type="tns:SessionDTO"/>
38
+ </xs:sequence>
39
+ </xs:extension>
40
+ </xs:complexContent>
41
+ </xs:complexType>
42
+ <xs:element name="StartSessionResponse" nillable="true" type="tns:StartSessionResponse"/>
43
+ <xs:complexType name="ServiceResponseBase">
44
+ <xs:sequence>
45
+ <xs:element minOccurs="0" name="Context" nillable="true" type="xs:string"/>
46
+ <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string"/>
47
+ <xs:element minOccurs="0" name="ErrorType" type="tns:ServiceErrorType"/>
48
+ <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean"/>
49
+ <xs:element minOccurs="0" name="ValidationErrors" nillable="true" type="tns:ArrayOfValidationErrorDTO"/>
50
+ </xs:sequence>
51
+ </xs:complexType>
52
+ <xs:element name="ServiceResponseBase" nillable="true" type="tns:ServiceResponseBase"/>
53
+ <xs:simpleType name="ServiceErrorType">
54
+ <xs:restriction base="xs:string">
55
+ <xs:enumeration value="None"/>
56
+ <xs:enumeration value="GeneralError"/>
57
+ <xs:enumeration value="AuthenticationError"/>
58
+ <xs:enumeration value="SessionExpired"/>
59
+ </xs:restriction>
60
+ </xs:simpleType>
61
+ <xs:element name="ServiceErrorType" nillable="true" type="tns:ServiceErrorType"/>
62
+ <xs:complexType name="ArrayOfValidationErrorDTO">
63
+ <xs:sequence>
64
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="ValidationErrorDTO" nillable="true" type="tns:ValidationErrorDTO"/>
65
+ </xs:sequence>
66
+ </xs:complexType>
67
+ <xs:element name="ArrayOfValidationErrorDTO" nillable="true" type="tns:ArrayOfValidationErrorDTO"/>
68
+ <xs:complexType name="ValidationErrorDTO">
69
+ <xs:sequence>
70
+ <xs:element minOccurs="0" name="ErrorCode" nillable="true" type="xs:string"/>
71
+ <xs:element minOccurs="0" name="ErrorDescription" nillable="true" type="xs:string"/>
72
+ </xs:sequence>
73
+ </xs:complexType>
74
+ <xs:element name="ValidationErrorDTO" nillable="true" type="tns:ValidationErrorDTO"/>
75
+ <xs:simpleType name="StartSessionResultType">
76
+ <xs:restriction base="xs:string">
77
+ <xs:enumeration value="Success"/>
78
+ <xs:enumeration value="InvalidApplicationId"/>
79
+ </xs:restriction>
80
+ </xs:simpleType>
81
+ <xs:element name="StartSessionResultType" nillable="true" type="tns:StartSessionResultType"/>
82
+ <xs:complexType name="SessionDTO">
83
+ <xs:sequence>
84
+ <xs:element minOccurs="0" name="ApplicationId" nillable="true" type="xs:string"/>
85
+ <xs:element minOccurs="0" name="CultureCode" nillable="true" type="xs:string"/>
86
+ <xs:element minOccurs="0" name="SessionId" nillable="true" type="xs:string"/>
87
+ </xs:sequence>
88
+ </xs:complexType>
89
+ <xs:element name="SessionDTO" nillable="true" type="tns:SessionDTO"/>
90
+ <xs:complexType name="ServiceFault">
91
+ <xs:sequence>
92
+ <xs:element minOccurs="0" name="ErrorType" type="tns:ServiceErrorType"/>
93
+ <xs:element minOccurs="0" name="FaultMessage" nillable="true" type="xs:string"/>
94
+ <xs:element minOccurs="0" name="FaultReference" nillable="true" type="xs:string"/>
95
+ </xs:sequence>
96
+ </xs:complexType>
97
+ <xs:element name="ServiceFault" nillable="true" type="tns:ServiceFault"/>
98
+ <xs:complexType name="GetSessionStateRequest">
99
+ <xs:complexContent mixed="false">
100
+ <xs:extension base="tns:ServiceRequestBase">
101
+ <xs:sequence/>
102
+ </xs:extension>
103
+ </xs:complexContent>
104
+ </xs:complexType>
105
+ <xs:element name="GetSessionStateRequest" nillable="true" type="tns:GetSessionStateRequest"/>
106
+ <xs:complexType name="GetSessionStateResponse">
107
+ <xs:complexContent mixed="false">
108
+ <xs:extension base="tns:ServiceResponseBase">
109
+ <xs:sequence>
110
+ <xs:element minOccurs="0" name="State" nillable="true" type="tns:SessionStateDTO"/>
111
+ </xs:sequence>
112
+ </xs:extension>
113
+ </xs:complexContent>
114
+ </xs:complexType>
115
+ <xs:element name="GetSessionStateResponse" nillable="true" type="tns:GetSessionStateResponse"/>
116
+ <xs:complexType name="SessionStateDTO">
117
+ <xs:sequence>
118
+ <xs:element minOccurs="0" name="ClientOrderTypeId" nillable="true" type="xs:int"/>
119
+ <xs:element minOccurs="0" name="CustomerDeliveryAddress" nillable="true" type="tns:AddressDTO"/>
120
+ <xs:element minOccurs="0" name="DateOrderRequired" nillable="true" type="xs:dateTime"/>
121
+ <xs:element minOccurs="0" name="FulfillmentTimeTypeId" nillable="true" type="xs:int"/>
122
+ <xs:element minOccurs="0" name="IsAuthenticated" type="xs:boolean"/>
123
+ <xs:element minOccurs="0" name="IsOrderActive" type="xs:boolean"/>
124
+ <xs:element minOccurs="0" name="OrderClassId" nillable="true" type="xs:int"/>
125
+ <xs:element minOccurs="0" name="StoreId" nillable="true" type="xs:int"/>
126
+ </xs:sequence>
127
+ </xs:complexType>
128
+ <xs:element name="SessionStateDTO" nillable="true" type="tns:SessionStateDTO"/>
129
+ <xs:complexType name="AddressDTO">
130
+ <xs:sequence>
131
+ <xs:element minOccurs="0" name="AddressDescription" nillable="true" type="xs:string"/>
132
+ <xs:element minOccurs="0" name="AddressId" type="xs:int"/>
133
+ <xs:element minOccurs="0" name="AddressType" type="tns:AddressType"/>
134
+ <xs:element minOccurs="0" name="BuildingLetter" nillable="true" type="xs:string"/>
135
+ <xs:element minOccurs="0" name="BuildingName" nillable="true" type="xs:string"/>
136
+ <xs:element minOccurs="0" name="BuildingNumber" nillable="true" type="xs:string"/>
137
+ <xs:element minOccurs="0" name="BuildingNumberHigh" nillable="true" type="xs:string"/>
138
+ <xs:element minOccurs="0" name="BuildingNumberLow" nillable="true" type="xs:string"/>
139
+ <xs:element minOccurs="0" name="BuildingNumberParity" type="q1:AddressSearchNumberParity" xmlns:q1="http://schemas.datacontract.org/2004/07/Adactus.RICO.UISupportServices.Contract.ServiceData.Enumerations"/>
140
+ <xs:element minOccurs="0" name="CountryId" type="xs:int"/>
141
+ <xs:element minOccurs="0" name="CountryText" nillable="true" type="xs:string"/>
142
+ <xs:element minOccurs="0" name="District" nillable="true" type="xs:string"/>
143
+ <xs:element minOccurs="0" name="Intersection" nillable="true" type="xs:string"/>
144
+ <xs:element minOccurs="0" name="IsFavourite" type="xs:boolean"/>
145
+ <xs:element minOccurs="0" name="Latitude" type="xs:decimal"/>
146
+ <xs:element minOccurs="0" name="Longitude" type="xs:decimal"/>
147
+ <xs:element minOccurs="0" name="OrganisationName" nillable="true" type="xs:string"/>
148
+ <xs:element minOccurs="0" name="PostCodeOrZip" nillable="true" type="xs:string"/>
149
+ <xs:element minOccurs="0" name="ProviderAddressKey" nillable="true" type="xs:string"/>
150
+ <xs:element minOccurs="0" name="RoomNumber" nillable="true" type="xs:string"/>
151
+ <xs:element minOccurs="0" name="RoomNumberHigh" nillable="true" type="xs:string"/>
152
+ <xs:element minOccurs="0" name="RoomNumberLow" nillable="true" type="xs:string"/>
153
+ <xs:element minOccurs="0" name="RoomNumberParity" type="q2:AddressSearchNumberParity" xmlns:q2="http://schemas.datacontract.org/2004/07/Adactus.RICO.UISupportServices.Contract.ServiceData.Enumerations"/>
154
+ <xs:element minOccurs="0" name="StreetName" nillable="true" type="xs:string"/>
155
+ <xs:element minOccurs="0" name="TaxNumber" nillable="true" type="xs:string"/>
156
+ <xs:element minOccurs="0" name="Territory" nillable="true" type="xs:string"/>
157
+ <xs:element minOccurs="0" name="TownCity" nillable="true" type="xs:string"/>
158
+ </xs:sequence>
159
+ </xs:complexType>
160
+ <xs:element name="AddressDTO" nillable="true" type="tns:AddressDTO"/>
161
+ <xs:simpleType name="AddressType">
162
+ <xs:restriction base="xs:string">
163
+ <xs:enumeration value="NOT_SET"/>
164
+ <xs:enumeration value="Residential"/>
165
+ <xs:enumeration value="Store"/>
166
+ <xs:enumeration value="Business"/>
167
+ <xs:enumeration value="Delivery"/>
168
+ <xs:enumeration value="Billing"/>
169
+ </xs:restriction>
170
+ </xs:simpleType>
171
+ <xs:element name="AddressType" nillable="true" type="tns:AddressType"/>
172
+ <xs:complexType name="GetSessionFromTokenRequest">
173
+ <xs:complexContent mixed="false">
174
+ <xs:extension base="tns:ServiceRequestBase">
175
+ <xs:sequence>
176
+ <xs:element name="ApplicationId" nillable="true" type="xs:string">
177
+ <xs:annotation>
178
+ <xs:appinfo>
179
+ <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
180
+ </xs:appinfo>
181
+ </xs:annotation>
182
+ </xs:element>
183
+ <xs:element name="CultureCode" nillable="true" type="xs:string">
184
+ <xs:annotation>
185
+ <xs:appinfo>
186
+ <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
187
+ </xs:appinfo>
188
+ </xs:annotation>
189
+ </xs:element>
190
+ <xs:element name="UrlEncodedSessionToken" nillable="true" type="xs:string">
191
+ <xs:annotation>
192
+ <xs:appinfo>
193
+ <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/>
194
+ </xs:appinfo>
195
+ </xs:annotation>
196
+ </xs:element>
197
+ </xs:sequence>
198
+ </xs:extension>
199
+ </xs:complexContent>
200
+ </xs:complexType>
201
+ <xs:element name="GetSessionFromTokenRequest" nillable="true" type="tns:GetSessionFromTokenRequest"/>
202
+ <xs:complexType name="GetSessionFromTokenResponse">
203
+ <xs:complexContent mixed="false">
204
+ <xs:extension base="tns:ServiceResponseBase">
205
+ <xs:sequence>
206
+ <xs:element minOccurs="0" name="ResultType" type="tns:GetSessionFromTokenResultType"/>
207
+ <xs:element minOccurs="0" name="Session" nillable="true" type="tns:SessionDTO"/>
208
+ </xs:sequence>
209
+ </xs:extension>
210
+ </xs:complexContent>
211
+ </xs:complexType>
212
+ <xs:element name="GetSessionFromTokenResponse" nillable="true" type="tns:GetSessionFromTokenResponse"/>
213
+ <xs:simpleType name="GetSessionFromTokenResultType">
214
+ <xs:restriction base="xs:string">
215
+ <xs:enumeration value="Success"/>
216
+ <xs:enumeration value="InvalidAuthenticationToken"/>
217
+ <xs:enumeration value="InvalidApplicationInstance"/>
218
+ <xs:enumeration value="SessionExpired"/>
219
+ </xs:restriction>
220
+ </xs:simpleType>
221
+ <xs:element name="GetSessionFromTokenResultType" nillable="true" type="tns:GetSessionFromTokenResultType"/>
222
+ </xs:schema>