docusignsdk 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,275 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.docusign.net/API/Credential" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.docusign.net/API/Credential" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3
+ <wsdl:types>
4
+ <s:schema elementFormDefault="qualified" targetNamespace="http://www.docusign.net/API/Credential">
5
+ <s:element name="Ping">
6
+ <s:complexType />
7
+ </s:element>
8
+ <s:element name="PingResponse">
9
+ <s:complexType>
10
+ <s:sequence>
11
+ <s:element minOccurs="1" maxOccurs="1" name="PingResult" type="s:boolean" />
12
+ </s:sequence>
13
+ </s:complexType>
14
+ </s:element>
15
+ <s:element name="Login">
16
+ <s:complexType>
17
+ <s:sequence>
18
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
19
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
20
+ </s:sequence>
21
+ </s:complexType>
22
+ </s:element>
23
+ <s:element name="LoginResponse">
24
+ <s:complexType>
25
+ <s:sequence>
26
+ <s:element minOccurs="0" maxOccurs="1" name="LoginResult">
27
+ <s:complexType>
28
+ <s:sequence>
29
+ <s:element minOccurs="1" maxOccurs="1" name="Success" type="s:boolean" />
30
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorCode" type="tns:ErrorCode" />
31
+ <s:element minOccurs="0" maxOccurs="1" name="AuthenticationMessage" type="s:string" />
32
+ <s:element minOccurs="0" maxOccurs="1" name="Accounts" type="tns:ArrayOfAccount" />
33
+ </s:sequence>
34
+ </s:complexType>
35
+ </s:element>
36
+ </s:sequence>
37
+ </s:complexType>
38
+ </s:element>
39
+ <s:simpleType name="ErrorCode">
40
+ <s:restriction base="s:string">
41
+ <s:enumeration value="User_Does_Not_Exist_In_System" />
42
+ <s:enumeration value="Account_Lacks_Permissions" />
43
+ <s:enumeration value="User_Lacks_Permissions" />
44
+ <s:enumeration value="User_Authentication_Failed" />
45
+ <s:enumeration value="Unspecified_Error" />
46
+ <s:enumeration value="Success" />
47
+ </s:restriction>
48
+ </s:simpleType>
49
+ <s:complexType name="ArrayOfAccount">
50
+ <s:sequence>
51
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Account">
52
+ <s:complexType>
53
+ <s:sequence>
54
+ <s:element minOccurs="0" maxOccurs="1" name="AccountID" type="s:string" />
55
+ <s:element minOccurs="0" maxOccurs="1" name="AccountName" type="s:string" />
56
+ <s:element minOccurs="0" maxOccurs="1" name="UserID" type="s:string" />
57
+ <s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
58
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
59
+ </s:sequence>
60
+ </s:complexType>
61
+ </s:element>
62
+ </s:sequence>
63
+ </s:complexType>
64
+ <s:element name="GetAuthenticationToken">
65
+ <s:complexType>
66
+ <s:sequence>
67
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
68
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
69
+ <s:element minOccurs="0" maxOccurs="1" name="AccountID" type="s:string" />
70
+ <s:element minOccurs="0" maxOccurs="1" name="GoToEnvelopeID" type="s:string" />
71
+ </s:sequence>
72
+ </s:complexType>
73
+ </s:element>
74
+ <s:element name="GetAuthenticationTokenResponse">
75
+ <s:complexType>
76
+ <s:sequence>
77
+ <s:element minOccurs="0" maxOccurs="1" name="GetAuthenticationTokenResult" type="s:string" />
78
+ </s:sequence>
79
+ </s:complexType>
80
+ </s:element>
81
+ <s:element name="RequestSenderToken">
82
+ <s:complexType>
83
+ <s:sequence>
84
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
85
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
86
+ <s:element minOccurs="0" maxOccurs="1" name="AccountID" type="s:string" />
87
+ <s:element minOccurs="0" maxOccurs="1" name="EnvelopeID" type="s:string" />
88
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnURL" type="s:string" />
89
+ </s:sequence>
90
+ </s:complexType>
91
+ </s:element>
92
+ <s:element name="RequestSenderTokenResponse">
93
+ <s:complexType>
94
+ <s:sequence>
95
+ <s:element minOccurs="0" maxOccurs="1" name="RequestSenderTokenResult" type="s:string" />
96
+ </s:sequence>
97
+ </s:complexType>
98
+ </s:element>
99
+ <s:element name="RequestCorrectToken">
100
+ <s:complexType>
101
+ <s:sequence>
102
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
103
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
104
+ <s:element minOccurs="0" maxOccurs="1" name="EnvelopeID" type="s:string" />
105
+ <s:element minOccurs="1" maxOccurs="1" name="SuppressNavigation" type="s:boolean" />
106
+ <s:element minOccurs="0" maxOccurs="1" name="ReturnURL" type="s:string" />
107
+ </s:sequence>
108
+ </s:complexType>
109
+ </s:element>
110
+ <s:element name="RequestCorrectTokenResponse">
111
+ <s:complexType>
112
+ <s:sequence>
113
+ <s:element minOccurs="0" maxOccurs="1" name="RequestCorrectTokenResult" type="s:string" />
114
+ </s:sequence>
115
+ </s:complexType>
116
+ </s:element>
117
+ </s:schema>
118
+ </wsdl:types>
119
+ <wsdl:message name="PingSoapIn">
120
+ <wsdl:part name="parameters" element="tns:Ping" />
121
+ </wsdl:message>
122
+ <wsdl:message name="PingSoapOut">
123
+ <wsdl:part name="parameters" element="tns:PingResponse" />
124
+ </wsdl:message>
125
+ <wsdl:message name="LoginSoapIn">
126
+ <wsdl:part name="parameters" element="tns:Login" />
127
+ </wsdl:message>
128
+ <wsdl:message name="LoginSoapOut">
129
+ <wsdl:part name="parameters" element="tns:LoginResponse" />
130
+ </wsdl:message>
131
+ <wsdl:message name="GetAuthenticationTokenSoapIn">
132
+ <wsdl:part name="parameters" element="tns:GetAuthenticationToken" />
133
+ </wsdl:message>
134
+ <wsdl:message name="GetAuthenticationTokenSoapOut">
135
+ <wsdl:part name="parameters" element="tns:GetAuthenticationTokenResponse" />
136
+ </wsdl:message>
137
+ <wsdl:message name="RequestSenderTokenSoapIn">
138
+ <wsdl:part name="parameters" element="tns:RequestSenderToken" />
139
+ </wsdl:message>
140
+ <wsdl:message name="RequestSenderTokenSoapOut">
141
+ <wsdl:part name="parameters" element="tns:RequestSenderTokenResponse" />
142
+ </wsdl:message>
143
+ <wsdl:message name="RequestCorrectTokenSoapIn">
144
+ <wsdl:part name="parameters" element="tns:RequestCorrectToken" />
145
+ </wsdl:message>
146
+ <wsdl:message name="RequestCorrectTokenSoapOut">
147
+ <wsdl:part name="parameters" element="tns:RequestCorrectTokenResponse" />
148
+ </wsdl:message>
149
+ <wsdl:portType name="CredentialSoap">
150
+ <wsdl:operation name="Ping">
151
+ <wsdl:input message="tns:PingSoapIn" />
152
+ <wsdl:output message="tns:PingSoapOut" />
153
+ </wsdl:operation>
154
+ <wsdl:operation name="Login">
155
+ <wsdl:input message="tns:LoginSoapIn" />
156
+ <wsdl:output message="tns:LoginSoapOut" />
157
+ </wsdl:operation>
158
+ <wsdl:operation name="GetAuthenticationToken">
159
+ <wsdl:input message="tns:GetAuthenticationTokenSoapIn" />
160
+ <wsdl:output message="tns:GetAuthenticationTokenSoapOut" />
161
+ </wsdl:operation>
162
+ <wsdl:operation name="RequestSenderToken">
163
+ <wsdl:input message="tns:RequestSenderTokenSoapIn" />
164
+ <wsdl:output message="tns:RequestSenderTokenSoapOut" />
165
+ </wsdl:operation>
166
+ <wsdl:operation name="RequestCorrectToken">
167
+ <wsdl:input message="tns:RequestCorrectTokenSoapIn" />
168
+ <wsdl:output message="tns:RequestCorrectTokenSoapOut" />
169
+ </wsdl:operation>
170
+ </wsdl:portType>
171
+ <wsdl:binding name="CredentialSoap" type="tns:CredentialSoap">
172
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
173
+ <wsdl:operation name="Ping">
174
+ <soap:operation soapAction="http://www.docusign.net/API/Credential/Ping" style="document" />
175
+ <wsdl:input>
176
+ <soap:body use="literal" />
177
+ </wsdl:input>
178
+ <wsdl:output>
179
+ <soap:body use="literal" />
180
+ </wsdl:output>
181
+ </wsdl:operation>
182
+ <wsdl:operation name="Login">
183
+ <soap:operation soapAction="http://www.docusign.net/API/Credential/Login" style="document" />
184
+ <wsdl:input>
185
+ <soap:body use="literal" />
186
+ </wsdl:input>
187
+ <wsdl:output>
188
+ <soap:body use="literal" />
189
+ </wsdl:output>
190
+ </wsdl:operation>
191
+ <wsdl:operation name="GetAuthenticationToken">
192
+ <soap:operation soapAction="http://www.docusign.net/API/Credential/GetAuthenticationToken" style="document" />
193
+ <wsdl:input>
194
+ <soap:body use="literal" />
195
+ </wsdl:input>
196
+ <wsdl:output>
197
+ <soap:body use="literal" />
198
+ </wsdl:output>
199
+ </wsdl:operation>
200
+ <wsdl:operation name="RequestSenderToken">
201
+ <soap:operation soapAction="http://www.docusign.net/API/Credential/RequestSenderToken" style="document" />
202
+ <wsdl:input>
203
+ <soap:body use="literal" />
204
+ </wsdl:input>
205
+ <wsdl:output>
206
+ <soap:body use="literal" />
207
+ </wsdl:output>
208
+ </wsdl:operation>
209
+ <wsdl:operation name="RequestCorrectToken">
210
+ <soap:operation soapAction="http://www.docusign.net/API/Credential/RequestCorrectToken" style="document" />
211
+ <wsdl:input>
212
+ <soap:body use="literal" />
213
+ </wsdl:input>
214
+ <wsdl:output>
215
+ <soap:body use="literal" />
216
+ </wsdl:output>
217
+ </wsdl:operation>
218
+ </wsdl:binding>
219
+ <wsdl:binding name="CredentialSoap12" type="tns:CredentialSoap">
220
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
221
+ <wsdl:operation name="Ping">
222
+ <soap12:operation soapAction="http://www.docusign.net/API/Credential/Ping" style="document" />
223
+ <wsdl:input>
224
+ <soap12:body use="literal" />
225
+ </wsdl:input>
226
+ <wsdl:output>
227
+ <soap12:body use="literal" />
228
+ </wsdl:output>
229
+ </wsdl:operation>
230
+ <wsdl:operation name="Login">
231
+ <soap12:operation soapAction="http://www.docusign.net/API/Credential/Login" style="document" />
232
+ <wsdl:input>
233
+ <soap12:body use="literal" />
234
+ </wsdl:input>
235
+ <wsdl:output>
236
+ <soap12:body use="literal" />
237
+ </wsdl:output>
238
+ </wsdl:operation>
239
+ <wsdl:operation name="GetAuthenticationToken">
240
+ <soap12:operation soapAction="http://www.docusign.net/API/Credential/GetAuthenticationToken" style="document" />
241
+ <wsdl:input>
242
+ <soap12:body use="literal" />
243
+ </wsdl:input>
244
+ <wsdl:output>
245
+ <soap12:body use="literal" />
246
+ </wsdl:output>
247
+ </wsdl:operation>
248
+ <wsdl:operation name="RequestSenderToken">
249
+ <soap12:operation soapAction="http://www.docusign.net/API/Credential/RequestSenderToken" style="document" />
250
+ <wsdl:input>
251
+ <soap12:body use="literal" />
252
+ </wsdl:input>
253
+ <wsdl:output>
254
+ <soap12:body use="literal" />
255
+ </wsdl:output>
256
+ </wsdl:operation>
257
+ <wsdl:operation name="RequestCorrectToken">
258
+ <soap12:operation soapAction="http://www.docusign.net/API/Credential/RequestCorrectToken" style="document" />
259
+ <wsdl:input>
260
+ <soap12:body use="literal" />
261
+ </wsdl:input>
262
+ <wsdl:output>
263
+ <soap12:body use="literal" />
264
+ </wsdl:output>
265
+ </wsdl:operation>
266
+ </wsdl:binding>
267
+ <wsdl:service name="Credential">
268
+ <wsdl:port name="CredentialSoap" binding="tns:CredentialSoap">
269
+ <soap:address location="https://demo.docusign.net/api/3.0/credential.asmx" />
270
+ </wsdl:port>
271
+ <wsdl:port name="CredentialSoap12" binding="tns:CredentialSoap12">
272
+ <soap12:address location="https://demo.docusign.net/api/3.0/credential.asmx" />
273
+ </wsdl:port>
274
+ </wsdl:service>
275
+ </wsdl:definitions>
data/test/helper.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'docusignsdk'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestDocusignsdk < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,155 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: docusignsdk
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - nicholas reed
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-08-28 00:00:00 +00:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: shoulda
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :development
31
+ prerelease: false
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ segments:
41
+ - 1
42
+ - 0
43
+ - 0
44
+ version: 1.0.0
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: jeweler
50
+ requirement: &id003 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 1
57
+ - 6
58
+ - 4
59
+ version: 1.6.4
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: rcov
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 0
72
+ version: "0"
73
+ type: :development
74
+ prerelease: false
75
+ version_requirements: *id004
76
+ description: DocuSign Ruby Gem
77
+ email: nicholas.a.reed@gmail.com
78
+ executables: []
79
+
80
+ extensions: []
81
+
82
+ extra_rdoc_files:
83
+ - LICENSE.txt
84
+ - README.rdoc
85
+ files:
86
+ - .document
87
+ - Gemfile
88
+ - Gemfile.lock
89
+ - LICENSE.txt
90
+ - README.rdoc
91
+ - Rakefile
92
+ - VERSION
93
+ - docusignsdk.gemspec
94
+ - lib/Credential.wsdl
95
+ - lib/docusign.rb
96
+ - lib/docusign/anchor_tab.rb
97
+ - lib/docusign/auth_header_handler.rb
98
+ - lib/docusign/base.rb
99
+ - lib/docusign/builder/anchor_builder.rb
100
+ - lib/docusign/builder/base.rb
101
+ - lib/docusign/builder/tab_builder.rb
102
+ - lib/docusign/credential.rb
103
+ - lib/docusign/credentialDriver.rb
104
+ - lib/docusign/credentialMappingRegistry.rb
105
+ - lib/docusign/document.rb
106
+ - lib/docusign/docusign.rb
107
+ - lib/docusign/docusignDriver.rb
108
+ - lib/docusign/docusignMappingRegistry.rb
109
+ - lib/docusign/extensions.rb
110
+ - lib/docusign/integrators_key_auth_header_handler.rb
111
+ - lib/docusign/request_recipient_token_client_urls.rb
112
+ - lib/docusign/tab.rb
113
+ - lib/docusign/utilities.rb
114
+ - lib/docusignsdk.rb
115
+ - lib/wsdl/DocuSign3.0.10API.wsdl
116
+ - lib/wsdl/DocuSign3.0.11API.wsdl
117
+ - lib/wsdl/DocuSign3.0.2API.wsdl
118
+ - lib/wsdl/DocuSign3.0.2CredentialAPI.wsdl
119
+ - test/helper.rb
120
+ - test/test_docusignsdk.rb
121
+ has_rdoc: true
122
+ homepage: http://github.com/nicholasareed/docusignsdk
123
+ licenses:
124
+ - MIT
125
+ post_install_message:
126
+ rdoc_options: []
127
+
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ hash: -48618099
136
+ segments:
137
+ - 0
138
+ version: "0"
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ segments:
145
+ - 0
146
+ version: "0"
147
+ requirements: []
148
+
149
+ rubyforge_project:
150
+ rubygems_version: 1.3.7
151
+ signing_key:
152
+ specification_version: 3
153
+ summary: DocuSign Ruby Gem
154
+ test_files: []
155
+