s-savon 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/.rspec +1 -0
- data/.yardopts +2 -0
- data/CHANGELOG.md +461 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.md +37 -0
- data/Rakefile +40 -0
- data/lib/savon.rb +14 -0
- data/lib/savon/client.rb +157 -0
- data/lib/savon/core_ext/hash.rb +70 -0
- data/lib/savon/core_ext/object.rb +14 -0
- data/lib/savon/core_ext/string.rb +51 -0
- data/lib/savon/core_ext/time.rb +14 -0
- data/lib/savon/error.rb +6 -0
- data/lib/savon/global.rb +75 -0
- data/lib/savon/http/error.rb +42 -0
- data/lib/savon/soap.rb +24 -0
- data/lib/savon/soap/fault.rb +59 -0
- data/lib/savon/soap/request.rb +61 -0
- data/lib/savon/soap/response.rb +80 -0
- data/lib/savon/soap/xml.rb +187 -0
- data/lib/savon/version.rb +5 -0
- data/lib/savon/wsdl/document.rb +112 -0
- data/lib/savon/wsdl/parser.rb +102 -0
- data/lib/savon/wsdl/request.rb +35 -0
- data/lib/savon/wsse.rb +150 -0
- data/savon.gemspec +29 -0
- data/spec/fixtures/gzip/message.gz +0 -0
- data/spec/fixtures/response/another_soap_fault.xml +14 -0
- data/spec/fixtures/response/authentication.xml +14 -0
- data/spec/fixtures/response/header.xml +13 -0
- data/spec/fixtures/response/list.xml +18 -0
- data/spec/fixtures/response/multi_ref.xml +39 -0
- data/spec/fixtures/response/soap_fault.xml +8 -0
- data/spec/fixtures/response/soap_fault12.xml +18 -0
- data/spec/fixtures/wsdl/authentication.xml +63 -0
- data/spec/fixtures/wsdl/geotrust.xml +156 -0
- data/spec/fixtures/wsdl/namespaced_actions.xml +307 -0
- data/spec/fixtures/wsdl/no_namespace.xml +115 -0
- data/spec/fixtures/wsdl/two_bindings.xml +25 -0
- data/spec/savon/client_spec.rb +346 -0
- data/spec/savon/core_ext/hash_spec.rb +121 -0
- data/spec/savon/core_ext/object_spec.rb +19 -0
- data/spec/savon/core_ext/string_spec.rb +57 -0
- data/spec/savon/core_ext/time_spec.rb +13 -0
- data/spec/savon/http/error_spec.rb +52 -0
- data/spec/savon/savon_spec.rb +85 -0
- data/spec/savon/soap/fault_spec.rb +89 -0
- data/spec/savon/soap/request_spec.rb +45 -0
- data/spec/savon/soap/response_spec.rb +174 -0
- data/spec/savon/soap/xml_spec.rb +335 -0
- data/spec/savon/soap_spec.rb +21 -0
- data/spec/savon/wsdl/document_spec.rb +132 -0
- data/spec/savon/wsdl/parser_spec.rb +99 -0
- data/spec/savon/wsdl/request_spec.rb +15 -0
- data/spec/savon/wsse_spec.rb +213 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/support/endpoint.rb +25 -0
- data/spec/support/fixture.rb +37 -0
- metadata +251 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:authenticateResponse xmlns:ns2="http://v1_0.ws.user.example.com">
|
4
|
+
<return>
|
5
|
+
<authenticationValue>
|
6
|
+
<token>a68d1d6379b62ff339a0e0c69ed4d9cf</token>
|
7
|
+
<tokenHash>AAAJxA;cIedoT;mY10ExZwG6JuKgp2OYKxow==</tokenHash>
|
8
|
+
<client>radclient</client>
|
9
|
+
</authenticationValue>
|
10
|
+
<success>true</success>
|
11
|
+
</return>
|
12
|
+
</ns2:authenticateResponse>
|
13
|
+
</soap:Body>
|
14
|
+
</soap:Envelope>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<soap:Header xmlns="http://webservices.somewhere.com/definitions">
|
4
|
+
<SessionNumber>ABCD1234</SessionNumber>
|
5
|
+
</soap:Header>
|
6
|
+
<soap:Body>
|
7
|
+
<AuthenticateReply xmlns="http://xml.somewhere.com/ABCD">
|
8
|
+
<processStatus>
|
9
|
+
<statusCode>P</statusCode>
|
10
|
+
</processStatus>
|
11
|
+
</AuthenticateReply>
|
12
|
+
</soap:Body>
|
13
|
+
</soap:Envelope>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<soapenv:Body>
|
3
|
+
<MultiNamespacedEntryResponse xmlns="http://www.example.com/BusinessRulesEngine/xsd">
|
4
|
+
<history>
|
5
|
+
<ns10:case xmlns:ns10="http://www.example.com/Common/xsd">
|
6
|
+
<ns10:logTime>2010-09-21T18:22:01.558+10:00</ns10:logTime>
|
7
|
+
<ns10:logType>Notes Log</ns10:logType>
|
8
|
+
<ns10:logText>test</ns10:logText>
|
9
|
+
</ns10:case>
|
10
|
+
<ns11:case xmlns:ns11="http://www.example.com/Common/xsd">
|
11
|
+
<ns11:logTime>2010-09-21T18:22:07.038+10:00</ns11:logTime>
|
12
|
+
<ns11:logType>Notes Log</ns11:logType>
|
13
|
+
<ns11:logText>another test</ns11:logText>
|
14
|
+
</ns11:case>
|
15
|
+
</history>
|
16
|
+
</MultiNamespacedEntryResponse>
|
17
|
+
</soapenv:Body>
|
18
|
+
</soapenv:Envelope>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<soapenv:Body>
|
3
|
+
<ns1:listResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://ws.example.com">
|
4
|
+
<listReturn soapenc:arrayType="ns2:HistoryEntry[3]" xsi:type="soapenc:Array" xmlns:ns2="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
5
|
+
<listReturn href="#id0"/>
|
6
|
+
<listReturn href="#id1"/>
|
7
|
+
<listReturn href="#id2"/>
|
8
|
+
</listReturn>
|
9
|
+
</ns1:listResponse>
|
10
|
+
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:HistoryEntry" xmlns:ns5="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
11
|
+
<date xsi:type="xsd:dateTime">2009-09-22T13:47:23.000Z</date>
|
12
|
+
<location xsi:type="soapenc:string">Archive</location>
|
13
|
+
<mailId href="#id9"/>
|
14
|
+
<referenceId href="#id8"/>
|
15
|
+
<state xsi:type="soapenc:string">Original</state>
|
16
|
+
<subject xsi:type="soapenc:string">Mail from 09-22-2009: Misc</subject>
|
17
|
+
</multiRef>
|
18
|
+
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:HistoryEntry" xmlns:ns6="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
19
|
+
<date xsi:type="xsd:dateTime">2009-04-30T06:38:34.000Z</date>
|
20
|
+
<location xsi:type="soapenc:string">Archive</location>
|
21
|
+
<mailId href="#id10"/>
|
22
|
+
<referenceId href="#id8"/>
|
23
|
+
<state xsi:type="soapenc:string">Original</state>
|
24
|
+
<subject xsi:type="soapenc:string">Mail from 04-29-2009: Technical support</subject>
|
25
|
+
</multiRef>
|
26
|
+
<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:HistoryEntry" xmlns:ns7="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
27
|
+
<date xsi:type="xsd:dateTime">2009-12-18T15:43:21.000Z</date>
|
28
|
+
<location xsi:type="soapenc:string">Archive</location>
|
29
|
+
<mailId href="#id11"/>
|
30
|
+
<referenceId href="#id8"/>
|
31
|
+
<state xsi:type="soapenc:string">Original</state>
|
32
|
+
<subject xsi:type="soapenc:string">Mail from 12-17-2009: Misc</subject>
|
33
|
+
</multiRef>
|
34
|
+
<multiRef id="id11" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">972219</multiRef>
|
35
|
+
<multiRef id="id10" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">708021</multiRef>
|
36
|
+
<multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
|
37
|
+
<multiRef id="id9" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">855763</multiRef>
|
38
|
+
</soapenv:Body>
|
39
|
+
</soapenv:Envelope>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://www.example.org/timeouts">
|
2
|
+
<soap:Body>
|
3
|
+
<soap:Fault>
|
4
|
+
<Code>
|
5
|
+
<Value>soap:Sender</Value>
|
6
|
+
<Subcode>
|
7
|
+
<Value>m:MessageTimeout</Value>
|
8
|
+
</Subcode>
|
9
|
+
</Code>
|
10
|
+
<Reason>
|
11
|
+
<Text xml:lang="en">Sender Timeout</Text>
|
12
|
+
</Reason>
|
13
|
+
<Detail>
|
14
|
+
<m:MaxTime>P5M</m:MaxTime>
|
15
|
+
</Detail>
|
16
|
+
</soap:Fault>
|
17
|
+
</soap:Body>
|
18
|
+
</soap:Envelope>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="AuthenticationWebServiceImplService" targetNamespace="http://v1_0.ws.auth.order.example.com/" xmlns:ns1="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://v1_0.ws.auth.order.example.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
2
|
+
<wsdl:types>
|
3
|
+
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://v1_0.ws.auth.order.example.com/" xmlns:tns="http://v1_0.ws.auth.order.example.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
4
|
+
<xs:element name="authenticate" type="tns:authenticate" />
|
5
|
+
<xs:element name="authenticateResponse" type="tns:authenticateResponse" />
|
6
|
+
<xs:element name="authenticationResult" type="tns:authenticationResult" />
|
7
|
+
<xs:element name="authenticationValue" type="tns:authenticationValue" />
|
8
|
+
<xs:complexType name="authenticate">
|
9
|
+
<xs:sequence>
|
10
|
+
<xs:element minOccurs="0" name="user" type="xs:string" />
|
11
|
+
<xs:element minOccurs="0" name="password" type="xs:string" />
|
12
|
+
</xs:sequence>
|
13
|
+
</xs:complexType>
|
14
|
+
<xs:complexType name="authenticateResponse">
|
15
|
+
<xs:sequence>
|
16
|
+
<xs:element minOccurs="0" name="return" type="tns:authenticationResult" />
|
17
|
+
</xs:sequence>
|
18
|
+
</xs:complexType>
|
19
|
+
<xs:complexType name="authenticationResult">
|
20
|
+
<xs:sequence>
|
21
|
+
<xs:element minOccurs="0" name="authenticationValue" nillable="true" type="tns:authenticationValue" />
|
22
|
+
<xs:element name="success" type="xs:boolean" />
|
23
|
+
</xs:sequence>
|
24
|
+
</xs:complexType>
|
25
|
+
<xs:complexType name="authenticationValue">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element name="token" type="xs:string" />
|
28
|
+
<xs:element name="tokenHash" type="xs:string" />
|
29
|
+
<xs:element name="client" type="xs:string" />
|
30
|
+
</xs:sequence>
|
31
|
+
</xs:complexType>
|
32
|
+
</xs:schema>
|
33
|
+
</wsdl:types>
|
34
|
+
<wsdl:message name="authenticate">
|
35
|
+
<wsdl:part element="tns:authenticate" name="parameters" />
|
36
|
+
</wsdl:message>
|
37
|
+
<wsdl:message name="authenticateResponse">
|
38
|
+
<wsdl:part element="tns:authenticateResponse" name="parameters" />
|
39
|
+
</wsdl:message>
|
40
|
+
<wsdl:portType name="AuthenticationWebService">
|
41
|
+
<wsdl:operation name="authenticate">
|
42
|
+
<wsdl:input message="tns:authenticate" name="authenticate" />
|
43
|
+
<wsdl:output message="tns:authenticateResponse" name="authenticateResponse" />
|
44
|
+
</wsdl:operation>
|
45
|
+
</wsdl:portType>
|
46
|
+
<wsdl:binding name="AuthenticationWebServiceImplServiceSoapBinding" type="tns:AuthenticationWebService">
|
47
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
|
48
|
+
<wsdl:operation name="authenticate">
|
49
|
+
<soap:operation soapAction="" style="document" />
|
50
|
+
<wsdl:input name="authenticate">
|
51
|
+
<soap:body use="literal" />
|
52
|
+
</wsdl:input>
|
53
|
+
<wsdl:output name="authenticateResponse">
|
54
|
+
<soap:body use="literal" />
|
55
|
+
</wsdl:output>
|
56
|
+
</wsdl:operation>
|
57
|
+
</wsdl:binding>
|
58
|
+
<wsdl:service name="AuthenticationWebServiceImplService">
|
59
|
+
<wsdl:port binding="tns:AuthenticationWebServiceImplServiceSoapBinding" name="AuthenticationWebServiceImplPort">
|
60
|
+
<soap:address location="http://example.com/validation/1.0/AuthenticationService" />
|
61
|
+
</wsdl:port>
|
62
|
+
</wsdl:service>
|
63
|
+
</wsdl:definitions>
|
@@ -0,0 +1,156 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<s0:definitions name="queryDefinitions" targetNamespace="http://api.geotrust.com/webtrust/query" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://api.geotrust.com/webtrust/query" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS">
|
3
|
+
<s0:types>
|
4
|
+
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://api.geotrust.com/webtrust/query" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://api.geotrust.com/webtrust/query" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
5
|
+
<xs:complexType name="GetQuickApproverListInput">
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element minOccurs="0" name="QueryRequestHeader" type="quer:queryRequestHeader" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
8
|
+
<xs:element minOccurs="0" name="Domain" type="xs:string"/>
|
9
|
+
<xs:element minOccurs="0" name="IncludeUserAgreement" type="quer:includeUserAgreement" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
10
|
+
</xs:sequence>
|
11
|
+
</xs:complexType>
|
12
|
+
<xs:complexType name="queryRequestHeader">
|
13
|
+
<xs:sequence>
|
14
|
+
<xs:element minOccurs="0" name="PartnerCode" type="xs:string"/>
|
15
|
+
<xs:element minOccurs="0" name="AuthToken" type="quer:authToken" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
16
|
+
<xs:element minOccurs="0" name="ReplayToken" type="xs:string"/>
|
17
|
+
<xs:element minOccurs="0" name="UseReplayToken" type="xs:boolean"/>
|
18
|
+
</xs:sequence>
|
19
|
+
</xs:complexType>
|
20
|
+
<xs:complexType name="authToken">
|
21
|
+
<xs:sequence>
|
22
|
+
<xs:element minOccurs="0" name="UserName" type="xs:string"/>
|
23
|
+
<xs:element minOccurs="0" name="Password" type="xs:string"/>
|
24
|
+
</xs:sequence>
|
25
|
+
</xs:complexType>
|
26
|
+
<xs:complexType name="includeUserAgreement">
|
27
|
+
<xs:sequence>
|
28
|
+
<xs:element minOccurs="0" name="UserAgreementProductCode" type="xs:string"/>
|
29
|
+
</xs:sequence>
|
30
|
+
</xs:complexType>
|
31
|
+
<xs:complexType name="GetUserAgreementInput">
|
32
|
+
<xs:sequence>
|
33
|
+
<xs:element minOccurs="0" name="QueryRequestHeader" type="quer:queryRequestHeader" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
34
|
+
<xs:element minOccurs="0" name="UserAgreementProductCode" type="xs:string"/>
|
35
|
+
</xs:sequence>
|
36
|
+
</xs:complexType>
|
37
|
+
<xs:complexType name="GetQuickApproverListOutput">
|
38
|
+
<xs:sequence>
|
39
|
+
<xs:element minOccurs="0" name="QueryResponseHeader" type="quer:queryResponseHeader" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
40
|
+
<xs:element minOccurs="0" name="ApproverList" type="quer:ArrayOfApprover" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
41
|
+
<xs:element minOccurs="0" name="UserAgreement" type="xs:string"/>
|
42
|
+
</xs:sequence>
|
43
|
+
</xs:complexType>
|
44
|
+
<xs:complexType name="queryResponseHeader">
|
45
|
+
<xs:sequence>
|
46
|
+
<xs:element name="SuccessCode" type="xs:int"/>
|
47
|
+
<xs:element minOccurs="0" name="Errors" type="quer:ArrayOfError" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
48
|
+
<xs:element minOccurs="0" name="Timestamp" type="xs:dateTime"/>
|
49
|
+
<xs:element name="ReturnCount" type="xs:int"/>
|
50
|
+
</xs:sequence>
|
51
|
+
</xs:complexType>
|
52
|
+
<xs:complexType name="Error">
|
53
|
+
<xs:sequence>
|
54
|
+
<xs:element name="ErrorCode" type="xs:int"/>
|
55
|
+
<xs:element minOccurs="0" name="ErrorField" type="xs:string"/>
|
56
|
+
<xs:element minOccurs="0" name="ErrorMessage" type="xs:string"/>
|
57
|
+
</xs:sequence>
|
58
|
+
</xs:complexType>
|
59
|
+
<xs:complexType name="ArrayOfError">
|
60
|
+
<xs:sequence>
|
61
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="Error" type="quer:Error" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
62
|
+
</xs:sequence>
|
63
|
+
</xs:complexType>
|
64
|
+
<xs:element name="ArrayOfError" type="quer:ArrayOfError" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
65
|
+
<xs:complexType name="Approver">
|
66
|
+
<xs:sequence>
|
67
|
+
<xs:element minOccurs="0" name="ApproverType" type="xs:string"/>
|
68
|
+
<xs:element minOccurs="0" name="ApproverEmail" type="xs:string"/>
|
69
|
+
</xs:sequence>
|
70
|
+
</xs:complexType>
|
71
|
+
<xs:complexType name="ArrayOfApprover">
|
72
|
+
<xs:sequence>
|
73
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="Approver" type="quer:Approver" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
74
|
+
</xs:sequence>
|
75
|
+
</xs:complexType>
|
76
|
+
<xs:element name="ArrayOfApprover" type="quer:ArrayOfApprover" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
77
|
+
<xs:complexType name="ArrayOfString">
|
78
|
+
<xs:sequence>
|
79
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="String" type="xs:string"/>
|
80
|
+
</xs:sequence>
|
81
|
+
</xs:complexType>
|
82
|
+
<xs:element name="ArrayOfString" type="quer:ArrayOfString" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
83
|
+
<xs:element name="GetQuickApproverList">
|
84
|
+
<xs:complexType>
|
85
|
+
<xs:sequence>
|
86
|
+
<xs:element minOccurs="0" name="Request" type="quer:GetQuickApproverListInput" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
87
|
+
</xs:sequence>
|
88
|
+
</xs:complexType>
|
89
|
+
</xs:element>
|
90
|
+
<xs:element name="GetQuickApproverListResponse">
|
91
|
+
<xs:complexType>
|
92
|
+
<xs:sequence>
|
93
|
+
<xs:element minOccurs="0" name="GetQuickApproverListResult" type="quer:GetQuickApproverListOutput" xmlns:quer="http://api.geotrust.com/webtrust/query"/>
|
94
|
+
</xs:sequence>
|
95
|
+
</xs:complexType>
|
96
|
+
</xs:element>
|
97
|
+
<xs:element name="hello">
|
98
|
+
<xs:complexType>
|
99
|
+
<xs:sequence>
|
100
|
+
<xs:element minOccurs="0" name="Input" type="xs:string"/>
|
101
|
+
</xs:sequence>
|
102
|
+
</xs:complexType>
|
103
|
+
</xs:element>
|
104
|
+
<xs:element name="helloResponse">
|
105
|
+
<xs:complexType>
|
106
|
+
<xs:sequence>
|
107
|
+
<xs:element minOccurs="0" name="helloResult" type="xs:string"/>
|
108
|
+
</xs:sequence>
|
109
|
+
</xs:complexType>
|
110
|
+
</xs:element>
|
111
|
+
</xs:schema>
|
112
|
+
</s0:types>
|
113
|
+
<s0:message name="hello">
|
114
|
+
<s0:part element="s1:hello" name="parameters"/>
|
115
|
+
</s0:message>
|
116
|
+
<s0:message name="helloResponse">
|
117
|
+
<s0:part element="s1:helloResponse" name="helloResultPart"/>
|
118
|
+
</s0:message>
|
119
|
+
<s0:portType name="querySoap">
|
120
|
+
<s0:operation name="GetQuickApproverList" parameterOrder="parameters">
|
121
|
+
<s0:input message="s1:GetQuickApproverList"/>
|
122
|
+
<s0:output message="s1:GetQuickApproverListResponse"/>
|
123
|
+
</s0:operation>
|
124
|
+
<s0:operation name="hello" parameterOrder="parameters">
|
125
|
+
<s0:input message="s1:hello"/>
|
126
|
+
<s0:output message="s1:helloResponse"/>
|
127
|
+
</s0:operation>
|
128
|
+
</s0:portType>
|
129
|
+
<s0:binding name="querySoapBinding" type="s1:querySoap">
|
130
|
+
<s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
131
|
+
<s0:operation name="GetQuickApproverList">
|
132
|
+
<s2:operation style="document"/>
|
133
|
+
<s0:input>
|
134
|
+
<s2:body parts="parameters" use="literal"/>
|
135
|
+
</s0:input>
|
136
|
+
<s0:output>
|
137
|
+
<s2:body parts="GetQuickApproverListResultPart" use="literal"/>
|
138
|
+
</s0:output>
|
139
|
+
</s0:operation>
|
140
|
+
<s0:operation name="hello">
|
141
|
+
<s2:operation style="document"/>
|
142
|
+
<s0:input>
|
143
|
+
<s2:body parts="parameters" use="literal"/>
|
144
|
+
</s0:input>
|
145
|
+
<s0:output>
|
146
|
+
<s2:body parts="helloResultPart" use="literal"/>
|
147
|
+
</s0:output>
|
148
|
+
</s0:operation>
|
149
|
+
</s0:binding>
|
150
|
+
<s0:service name="query">
|
151
|
+
<s3:upgraded81/>
|
152
|
+
<s0:port binding="s1:querySoapBinding" name="querySoap">
|
153
|
+
<s2:address location="https://test-api.geotrust.com:443/webtrust/query.jws"/>
|
154
|
+
</s0:port>
|
155
|
+
</s0:service>
|
156
|
+
</s0:definitions>
|
@@ -0,0 +1,307 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://api.example.com/api/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://api.example.com/api/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
3
|
+
<wsdl:types>
|
4
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://api.example.com/api/">
|
5
|
+
<s:element name="User.GetApiKey">
|
6
|
+
<s:complexType>
|
7
|
+
<s:sequence>
|
8
|
+
<s:element minOccurs="0" maxOccurs="1" name="SiteUrl" type="s:string"/>
|
9
|
+
<s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string"/>
|
10
|
+
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string"/>
|
11
|
+
</s:sequence>
|
12
|
+
</s:complexType>
|
13
|
+
</s:element>
|
14
|
+
<s:element name="User.GetApiKeyResponse">
|
15
|
+
<s:complexType>
|
16
|
+
<s:sequence>
|
17
|
+
<s:element minOccurs="0" maxOccurs="1" name="User.GetApiKeyResult"/>
|
18
|
+
</s:sequence>
|
19
|
+
</s:complexType>
|
20
|
+
</s:element>
|
21
|
+
<s:complexType name="Result">
|
22
|
+
<s:sequence>
|
23
|
+
<s:element minOccurs="1" maxOccurs="1" name="Code" type="s:int"/>
|
24
|
+
<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string"/>
|
25
|
+
</s:sequence>
|
26
|
+
</s:complexType>
|
27
|
+
<s:complexType name="Client">
|
28
|
+
<s:sequence>
|
29
|
+
<s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string"/>
|
30
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
|
31
|
+
</s:sequence>
|
32
|
+
</s:complexType>
|
33
|
+
<s:complexType name="ArrayOfClient">
|
34
|
+
<s:sequence>
|
35
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Client" nillable="true" type="tns:Client"/>
|
36
|
+
</s:sequence>
|
37
|
+
</s:complexType>
|
38
|
+
<s:element name="Client.Delete">
|
39
|
+
<s:complexType>
|
40
|
+
<s:sequence>
|
41
|
+
<s:element minOccurs="0" maxOccurs="1" name="ApiKey" type="s:string"/>
|
42
|
+
<s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string"/>
|
43
|
+
</s:sequence>
|
44
|
+
</s:complexType>
|
45
|
+
</s:element>
|
46
|
+
<s:element name="Client.DeleteResponse">
|
47
|
+
<s:complexType>
|
48
|
+
<s:sequence>
|
49
|
+
<s:element minOccurs="0" maxOccurs="1" name="Client.DeleteResult" type="tns:Result"/>
|
50
|
+
</s:sequence>
|
51
|
+
</s:complexType>
|
52
|
+
</s:element>
|
53
|
+
<s:element name="User.GetClients">
|
54
|
+
<s:complexType>
|
55
|
+
<s:sequence>
|
56
|
+
<s:element minOccurs="0" maxOccurs="1" name="ApiKey" type="s:string"/>
|
57
|
+
</s:sequence>
|
58
|
+
</s:complexType>
|
59
|
+
</s:element>
|
60
|
+
<s:element name="User.GetClientsResponse">
|
61
|
+
<s:complexType>
|
62
|
+
<s:sequence>
|
63
|
+
<s:element minOccurs="0" maxOccurs="1" name="User.GetClientsResult"/>
|
64
|
+
</s:sequence>
|
65
|
+
</s:complexType>
|
66
|
+
</s:element>
|
67
|
+
<s:element name="anyType" nillable="true"/>
|
68
|
+
<s:element name="Result" nillable="true" type="tns:Result"/>
|
69
|
+
</s:schema>
|
70
|
+
</wsdl:types>
|
71
|
+
<wsdl:message name="User.GetApiKeySoapIn">
|
72
|
+
<wsdl:part name="parameters" element="tns:User.GetApiKey"/>
|
73
|
+
</wsdl:message>
|
74
|
+
<wsdl:message name="User.GetApiKeySoapOut">
|
75
|
+
<wsdl:part name="parameters" element="tns:User.GetApiKeyResponse"/>
|
76
|
+
</wsdl:message>
|
77
|
+
<wsdl:message name="Client.DeleteSoapIn">
|
78
|
+
<wsdl:part name="parameters" element="tns:Client.Delete"/>
|
79
|
+
</wsdl:message>
|
80
|
+
<wsdl:message name="Client.DeleteSoapOut">
|
81
|
+
<wsdl:part name="parameters" element="tns:Client.DeleteResponse"/>
|
82
|
+
</wsdl:message>
|
83
|
+
<wsdl:message name="User.GetClientsSoapIn">
|
84
|
+
<wsdl:part name="parameters" element="tns:User.GetClients"/>
|
85
|
+
</wsdl:message>
|
86
|
+
<wsdl:message name="User.GetClientsSoapOut">
|
87
|
+
<wsdl:part name="parameters" element="tns:User.GetClientsResponse"/>
|
88
|
+
</wsdl:message>
|
89
|
+
<wsdl:message name="User.GetApiKeyHttpGetIn">
|
90
|
+
<wsdl:part name="SiteUrl" type="s:string"/>
|
91
|
+
<wsdl:part name="Username" type="s:string"/>
|
92
|
+
<wsdl:part name="Password" type="s:string"/>
|
93
|
+
</wsdl:message>
|
94
|
+
<wsdl:message name="User.GetApiKeyHttpGetOut">
|
95
|
+
<wsdl:part name="Body" element="tns:anyType"/>
|
96
|
+
</wsdl:message>
|
97
|
+
<wsdl:message name="Client.DeleteHttpGetIn">
|
98
|
+
<wsdl:part name="ApiKey" type="s:string"/>
|
99
|
+
<wsdl:part name="ClientID" type="s:string"/>
|
100
|
+
</wsdl:message>
|
101
|
+
<wsdl:message name="Client.DeleteHttpGetOut">
|
102
|
+
<wsdl:part name="Body" element="tns:Result"/>
|
103
|
+
</wsdl:message>
|
104
|
+
<wsdl:message name="User.GetClientsHttpGetIn">
|
105
|
+
<wsdl:part name="ApiKey" type="s:string"/>
|
106
|
+
</wsdl:message>
|
107
|
+
<wsdl:message name="User.GetClientsHttpGetOut">
|
108
|
+
<wsdl:part name="Body" element="tns:anyType"/>
|
109
|
+
</wsdl:message>
|
110
|
+
<wsdl:message name="User.GetApiKeyHttpPostIn">
|
111
|
+
<wsdl:part name="SiteUrl" type="s:string"/>
|
112
|
+
<wsdl:part name="Username" type="s:string"/>
|
113
|
+
<wsdl:part name="Password" type="s:string"/>
|
114
|
+
</wsdl:message>
|
115
|
+
<wsdl:message name="User.GetApiKeyHttpPostOut">
|
116
|
+
<wsdl:part name="Body" element="tns:anyType"/>
|
117
|
+
</wsdl:message>
|
118
|
+
<wsdl:message name="Client.DeleteHttpPostIn">
|
119
|
+
<wsdl:part name="ApiKey" type="s:string"/>
|
120
|
+
<wsdl:part name="ClientID" type="s:string"/>
|
121
|
+
</wsdl:message>
|
122
|
+
<wsdl:message name="Client.DeleteHttpPostOut">
|
123
|
+
<wsdl:part name="Body" element="tns:Result"/>
|
124
|
+
</wsdl:message>
|
125
|
+
<wsdl:message name="User.GetClientsHttpPostIn">
|
126
|
+
<wsdl:part name="ApiKey" type="s:string"/>
|
127
|
+
</wsdl:message>
|
128
|
+
<wsdl:message name="User.GetClientsHttpPostOut">
|
129
|
+
<wsdl:part name="Body" element="tns:anyType"/>
|
130
|
+
</wsdl:message>
|
131
|
+
<wsdl:portType name="apiSoap">
|
132
|
+
<wsdl:operation name="GetApiKey">
|
133
|
+
<wsdl:input name="User.GetApiKey" message="tns:User.GetApiKeySoapIn"/>
|
134
|
+
<wsdl:output name="User.GetApiKey" message="tns:User.GetApiKeySoapOut"/>
|
135
|
+
</wsdl:operation>
|
136
|
+
<wsdl:operation name="DeleteClient">
|
137
|
+
<wsdl:input name="Client.Delete" message="tns:Client.DeleteSoapIn"/>
|
138
|
+
<wsdl:output name="Client.Delete" message="tns:Client.DeleteSoapOut"/>
|
139
|
+
</wsdl:operation>
|
140
|
+
<wsdl:operation name="GetClients">
|
141
|
+
<wsdl:input name="User.GetClients" message="tns:User.GetClientsSoapIn"/>
|
142
|
+
<wsdl:output name="User.GetClients" message="tns:User.GetClientsSoapOut"/>
|
143
|
+
</wsdl:operation>
|
144
|
+
</wsdl:portType>
|
145
|
+
<wsdl:portType name="apiHttpGet">
|
146
|
+
<wsdl:operation name="GetApiKey">
|
147
|
+
<wsdl:input name="User.GetApiKey" message="tns:User.GetApiKeyHttpGetIn"/>
|
148
|
+
<wsdl:output name="User.GetApiKey" message="tns:User.GetApiKeyHttpGetOut"/>
|
149
|
+
</wsdl:operation>
|
150
|
+
<wsdl:operation name="DeleteClient">
|
151
|
+
<wsdl:input name="Client.Delete" message="tns:Client.DeleteHttpGetIn"/>
|
152
|
+
<wsdl:output name="Client.Delete" message="tns:Client.DeleteHttpGetOut"/>
|
153
|
+
</wsdl:operation>
|
154
|
+
<wsdl:operation name="GetClients">
|
155
|
+
<wsdl:input name="User.GetClients" message="tns:User.GetClientsHttpGetIn"/>
|
156
|
+
<wsdl:output name="User.GetClients" message="tns:User.GetClientsHttpGetOut"/>
|
157
|
+
</wsdl:operation>
|
158
|
+
</wsdl:portType>
|
159
|
+
<wsdl:portType name="apiHttpPost">
|
160
|
+
<wsdl:operation name="GetApiKey">
|
161
|
+
<wsdl:input name="User.GetApiKey" message="tns:User.GetApiKeyHttpPostIn"/>
|
162
|
+
<wsdl:output name="User.GetApiKey" message="tns:User.GetApiKeyHttpPostOut"/>
|
163
|
+
</wsdl:operation>
|
164
|
+
<wsdl:operation name="DeleteClient">
|
165
|
+
<wsdl:input name="Client.Delete" message="tns:Client.DeleteHttpPostIn"/>
|
166
|
+
<wsdl:output name="Client.Delete" message="tns:Client.DeleteHttpPostOut"/>
|
167
|
+
</wsdl:operation>
|
168
|
+
<wsdl:operation name="GetClients">
|
169
|
+
<wsdl:input name="User.GetClients" message="tns:User.GetClientsHttpPostIn"/>
|
170
|
+
<wsdl:output name="User.GetClients" message="tns:User.GetClientsHttpPostOut"/>
|
171
|
+
</wsdl:operation>
|
172
|
+
</wsdl:portType>
|
173
|
+
<wsdl:binding name="apiSoap" type="tns:apiSoap">
|
174
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
175
|
+
<wsdl:operation name="GetApiKey">
|
176
|
+
<soap:operation soapAction="http://api.example.com/api/User.GetApiKey" style="document"/>
|
177
|
+
<wsdl:input name="User.GetApiKey">
|
178
|
+
<soap:body use="literal"/>
|
179
|
+
</wsdl:input>
|
180
|
+
<wsdl:output name="User.GetApiKey">
|
181
|
+
<soap:body use="literal"/>
|
182
|
+
</wsdl:output>
|
183
|
+
</wsdl:operation>
|
184
|
+
<wsdl:operation name="DeleteClient">
|
185
|
+
<soap:operation soapAction="http://api.example.com/api/Client.Delete" style="document"/>
|
186
|
+
<wsdl:input name="Client.Delete">
|
187
|
+
<soap:body use="literal"/>
|
188
|
+
</wsdl:input>
|
189
|
+
<wsdl:output name="Client.Delete">
|
190
|
+
<soap:body use="literal"/>
|
191
|
+
</wsdl:output>
|
192
|
+
</wsdl:operation>
|
193
|
+
<wsdl:operation name="GetClients">
|
194
|
+
<soap:operation soapAction="http://api.example.com/api/User.GetClients" style="document"/>
|
195
|
+
<wsdl:input name="User.GetClients">
|
196
|
+
<soap:body use="literal"/>
|
197
|
+
</wsdl:input>
|
198
|
+
<wsdl:output name="User.GetClients">
|
199
|
+
<soap:body use="literal"/>
|
200
|
+
</wsdl:output>
|
201
|
+
</wsdl:operation>
|
202
|
+
</wsdl:binding>
|
203
|
+
<wsdl:binding name="apiSoap12" type="tns:apiSoap">
|
204
|
+
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
205
|
+
<wsdl:operation name="GetApiKey">
|
206
|
+
<soap12:operation soapAction="http://api.example.com/api/User.GetApiKey" style="document"/>
|
207
|
+
<wsdl:input name="User.GetApiKey">
|
208
|
+
<soap12:body use="literal"/>
|
209
|
+
</wsdl:input>
|
210
|
+
<wsdl:output name="User.GetApiKey">
|
211
|
+
<soap12:body use="literal"/>
|
212
|
+
</wsdl:output>
|
213
|
+
</wsdl:operation>
|
214
|
+
<wsdl:operation name="DeleteClient">
|
215
|
+
<soap12:operation soapAction="http://api.example.com/api/Client.Delete" style="document"/>
|
216
|
+
<wsdl:input name="Client.Delete">
|
217
|
+
<soap12:body use="literal"/>
|
218
|
+
</wsdl:input>
|
219
|
+
<wsdl:output name="Client.Delete">
|
220
|
+
<soap12:body use="literal"/>
|
221
|
+
</wsdl:output>
|
222
|
+
</wsdl:operation>
|
223
|
+
<wsdl:operation name="GetClients">
|
224
|
+
<soap12:operation soapAction="http://api.example.com/api/User.GetClients" style="document"/>
|
225
|
+
<wsdl:input name="User.GetClients">
|
226
|
+
<soap12:body use="literal"/>
|
227
|
+
</wsdl:input>
|
228
|
+
<wsdl:output name="User.GetClients">
|
229
|
+
<soap12:body use="literal"/>
|
230
|
+
</wsdl:output>
|
231
|
+
</wsdl:operation>
|
232
|
+
</wsdl:binding>
|
233
|
+
<wsdl:binding name="apiHttpGet" type="tns:apiHttpGet">
|
234
|
+
<http:binding verb="GET"/>
|
235
|
+
<wsdl:operation name="GetApiKey">
|
236
|
+
<http:operation location="/User.GetApiKey"/>
|
237
|
+
<wsdl:input name="User.GetApiKey">
|
238
|
+
<http:urlEncoded/>
|
239
|
+
</wsdl:input>
|
240
|
+
<wsdl:output name="User.GetApiKey">
|
241
|
+
<mime:mimeXml part="Body"/>
|
242
|
+
</wsdl:output>
|
243
|
+
</wsdl:operation>
|
244
|
+
<wsdl:operation name="DeleteClient">
|
245
|
+
<http:operation location="/Client.Delete"/>
|
246
|
+
<wsdl:input name="Client.Delete">
|
247
|
+
<http:urlEncoded/>
|
248
|
+
</wsdl:input>
|
249
|
+
<wsdl:output name="Client.Delete">
|
250
|
+
<mime:mimeXml part="Body"/>
|
251
|
+
</wsdl:output>
|
252
|
+
</wsdl:operation>
|
253
|
+
<wsdl:operation name="GetClients">
|
254
|
+
<http:operation location="/User.GetClients"/>
|
255
|
+
<wsdl:input name="User.GetClients">
|
256
|
+
<http:urlEncoded/>
|
257
|
+
</wsdl:input>
|
258
|
+
<wsdl:output name="User.GetClients">
|
259
|
+
<mime:mimeXml part="Body"/>
|
260
|
+
</wsdl:output>
|
261
|
+
</wsdl:operation>
|
262
|
+
</wsdl:binding>
|
263
|
+
<wsdl:binding name="apiHttpPost" type="tns:apiHttpPost">
|
264
|
+
<http:binding verb="POST"/>
|
265
|
+
<wsdl:operation name="GetApiKey">
|
266
|
+
<http:operation location="/User.GetApiKey"/>
|
267
|
+
<wsdl:input name="User.GetApiKey">
|
268
|
+
<mime:content type="application/x-www-form-urlencoded"/>
|
269
|
+
</wsdl:input>
|
270
|
+
<wsdl:output name="User.GetApiKey">
|
271
|
+
<mime:mimeXml part="Body"/>
|
272
|
+
</wsdl:output>
|
273
|
+
</wsdl:operation>
|
274
|
+
<wsdl:operation name="DeleteClient">
|
275
|
+
<http:operation location="/Client.Delete"/>
|
276
|
+
<wsdl:input name="Client.Delete">
|
277
|
+
<mime:content type="application/x-www-form-urlencoded"/>
|
278
|
+
</wsdl:input>
|
279
|
+
<wsdl:output name="Client.Delete">
|
280
|
+
<mime:mimeXml part="Body"/>
|
281
|
+
</wsdl:output>
|
282
|
+
</wsdl:operation>
|
283
|
+
<wsdl:operation name="GetClients">
|
284
|
+
<http:operation location="/User.GetClients"/>
|
285
|
+
<wsdl:input name="User.GetClients">
|
286
|
+
<mime:content type="application/x-www-form-urlencoded"/>
|
287
|
+
</wsdl:input>
|
288
|
+
<wsdl:output name="User.GetClients">
|
289
|
+
<mime:mimeXml part="Body"/>
|
290
|
+
</wsdl:output>
|
291
|
+
</wsdl:operation>
|
292
|
+
</wsdl:binding>
|
293
|
+
<wsdl:service name="api">
|
294
|
+
<wsdl:port name="apiSoap" binding="tns:apiSoap">
|
295
|
+
<soap:address location="https://api.example.com/api/api.asmx"/>
|
296
|
+
</wsdl:port>
|
297
|
+
<wsdl:port name="apiSoap12" binding="tns:apiSoap12">
|
298
|
+
<soap12:address location="https://api.example.com/api/api.asmx"/>
|
299
|
+
</wsdl:port>
|
300
|
+
<wsdl:port name="apiHttpGet" binding="tns:apiHttpGet">
|
301
|
+
<http:address location="https://api.example.com/api/api.asmx"/>
|
302
|
+
</wsdl:port>
|
303
|
+
<wsdl:port name="apiHttpPost" binding="tns:apiHttpPost">
|
304
|
+
<http:address location="https://api.example.com/api/api.asmx"/>
|
305
|
+
</wsdl:port>
|
306
|
+
</wsdl:service>
|
307
|
+
</wsdl:definitions>
|