module Responses
module Order
All = %|HTTP/1.1 200 OK
Date: Thu, 03 Sep 2009 15:56:44 GMT
Server: Mongrel 1.1.3
Status: 200 OK
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 2101
Vary: Accept-Encoding
Connection: close
422815
srv02.wavepath.com
93520
Complete
Order Complete
1
1
2009-08-12T16:43:02-04:00
2009-08-12T16:45:06-04:00
false
false
COMPLETED
69
false
Q
422816
srv02.wavepath.com
93693
Cancelled
Order Complete
1
1
2009-08-14T09:52:31-04:00
2009-08-14T09:54:04-04:00
false
true
COMPLETED
69
false
Q
422817
srv02.wavepath.com
93698
Cancelled
Order Cancelled
1
1
2009-08-14T11:12:26-04:00
2009-08-14T11:13:19-04:00
false
true
REJECTED
69
false
Q
|
Order = %|HTTP/1.1 200 OK
Date: Thu, 03 Sep 2009 16:23:03 GMT
Server: Mongrel 1.1.3
Status: 200 OK
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 692
Vary: Accept-Encoding
Connection: close
422815
srv02.wavepath.com
93520
Complete
Order Complete
1
1
2009-08-12T16:43:02-04:00
2009-08-12T16:45:06-04:00
false
false
COMPLETED
69
false
Q
|
OrderWithWarnings = %|HTTP/1.1 200 OK
Date: Thu, 03 Sep 2009 16:23:03 GMT
Server: Mongrel 1.1.3
Status: 200 OK
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 820
Vary: Accept-Encoding
Connection: close
422815
srv02.wavepath.com
93520
Complete
Order Complete
1
1
2009-08-12T16:43:02-04:00
2009-08-12T16:45:06-04:00
false
false
COMPLETED
69
false
Q
12345
Sample Test Warning
|
DomainMissing = %|HTTP/1.1 422 Unprocessable Entity
Date: Thu, 03 Sep 2009 16:58:44 GMT
Server: Mongrel 1.1.3
Status: 422 Unprocessable Entity
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 156
Vary: Accept-Encoding
Connection: close
-90001
You must supply a domain name
|
Approvers = %|HTTP/1.1 200 OK
Date: Thu, 03 Sep 2009 16:59:37 GMT
Server: Mongrel 1.1.3
Status: 200 OK
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 634
Vary: Accept-Encoding
Connection: close
blank@geocerts.com
admin@geocerts.com
administrator@geocerts.com
hostmaster@geocerts.com
root@geocerts.com
ssladmin@geocerts.com
sysadmin@geocerts.com
webmaster@geocerts.com
info@geocerts.com
is@geocerts.com
it@geocerts.com
mis@geocerts.com
ssladministrator@geocerts.com
sslwebmaster@geocerts.com
postmaster@geocerts.com
|
BadModifyResponse = %|HTTP/1.1 422 Unprocessable Entity
Date: Thu, 03 Sep 2009 17:17:35 GMT
Server: Mongrel 1.1.3
Status: 422 Unprocessable Entity
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 181
Vary: Accept-Encoding
Connection: close
-90003
Desired order state must be provided (CANCEL, APPROVE)
|
WrongState = %|HTTP/1.1 422 Unprocessable Entity
Date: Thu, 03 Sep 2009 17:33:08 GMT
Server: Mongrel 1.1.3
Status: 422 Unprocessable Entity
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 179
Vary: Accept-Encoding
Connection: close
-90002
Order #422815 is in the wrong state for cancellation
|
Validation = %|HTTP/1.1 200 OK
Date: Thu, 03 Sep 2009 16:23:03 GMT
Server: Mongrel 1.1.3
Status: 200 OK
Cache-Control: no-cache
Content-Type: application/xml; charset=utf-8
Content-Length: 1267
Vary: Accept-Encoding
Connection: close
69
www.example.com
Atlanta
GA
US
GeoCerts Inc
Internet
-----BEGIN CERTIFICATE REQUEST-----\nMIIBwjCCASsCAQAwgYExCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdHZW9yZ2lhMRAw\nDgYDVQQHEwdBdGxhbnRhMRUwEwYDVQQKEwxHZW9DZXJ0cyBJbmMxFTATBgNVBAMT\nDHdhdmVwYXRoLmNvbTEgMB4GCSqGSIb3DQEJARYRdXNlckB3YXZlcGF0aC5jb20w\ngZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMtz8xzYGMFHauj0cPCv80RDUVr+\neRdWzVj1jn8ugsXUsa2WPgWxqlG9fR3ENAT08M0J/xnmbjvcu1LLVJrs7jSPOQYf\nKcaw9zz2hPAxShTu9D/miq4pAKAWJ0di/LpUkhn2RN72rLQ6CproOvtHNjtzSkLk\nvAQWLj0UPIecvjpbAgMBAAGgADANBgkqhkiG9w0BAQUFAAOBgQAX+2iHoNRTEjd9\nyaRplEVlZ6fUmesWamFvYqhFwezek6+ECTX9K6q7R1omwzARbFssGHZMrST3J/S5\ndM3OJD6+N+YzXHfyHJzccMSE8g+jREx+Mgst/VYYLAX690iwHXBVbSLCW/hThD08\nbuRab8WSICBO6USXtrQLSeDfqwiApQ==\n-----END CERTIFICATE REQUEST-----\n
true
1
abC12De
1234ab
2009-01-01T00:00:00Z
|
end
end