epp-ruby 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.simplecov +16 -0
- data/.travis.yml +11 -0
- data/.yardopts +4 -0
- data/CHANGELOG.md +31 -0
- data/Gemfile +20 -0
- data/Gemfile.lock +51 -0
- data/LICENSE +21 -0
- data/README.md +95 -0
- data/Rakefile +20 -0
- data/epp-ruby.gemspec +22 -0
- data/examples/contact_create.rb +28 -0
- data/examples/domain_check.rb +11 -0
- data/examples/domain_create.rb +19 -0
- data/examples/domain_info.rb +9 -0
- data/examples/host_create.rb +14 -0
- data/gemfiles/Gemfile.ruby18 +14 -0
- data/lib/epp-client/client.rb +172 -0
- data/lib/epp-client/commands/check.rb +11 -0
- data/lib/epp-client/commands/command.rb +24 -0
- data/lib/epp-client/commands/create.rb +11 -0
- data/lib/epp-client/commands/delete.rb +11 -0
- data/lib/epp-client/commands/info.rb +11 -0
- data/lib/epp-client/commands/login.rb +40 -0
- data/lib/epp-client/commands/logout.rb +11 -0
- data/lib/epp-client/commands/poll.rb +28 -0
- data/lib/epp-client/commands/read_write_command.rb +18 -0
- data/lib/epp-client/commands/renew.rb +11 -0
- data/lib/epp-client/commands/transfer.rb +25 -0
- data/lib/epp-client/commands/transfer_handshake.rb +43 -0
- data/lib/epp-client/commands/update.rb +11 -0
- data/lib/epp-client/contact/check.rb +23 -0
- data/lib/epp-client/contact/check_response.rb +41 -0
- data/lib/epp-client/contact/command.rb +106 -0
- data/lib/epp-client/contact/create.rb +34 -0
- data/lib/epp-client/contact/create_response.rb +14 -0
- data/lib/epp-client/contact/delete.rb +21 -0
- data/lib/epp-client/contact/delete_response.rb +9 -0
- data/lib/epp-client/contact/info.rb +21 -0
- data/lib/epp-client/contact/info_response.rb +74 -0
- data/lib/epp-client/contact/response.rb +34 -0
- data/lib/epp-client/contact/transfer.rb +21 -0
- data/lib/epp-client/contact/transfer_response.rb +26 -0
- data/lib/epp-client/contact/update.rb +80 -0
- data/lib/epp-client/contact/update_response.rb +9 -0
- data/lib/epp-client/domain/check.rb +23 -0
- data/lib/epp-client/domain/check_response.rb +41 -0
- data/lib/epp-client/domain/command.rb +92 -0
- data/lib/epp-client/domain/create.rb +75 -0
- data/lib/epp-client/domain/create_response.rb +29 -0
- data/lib/epp-client/domain/delete.rb +21 -0
- data/lib/epp-client/domain/delete_response.rb +9 -0
- data/lib/epp-client/domain/info.rb +21 -0
- data/lib/epp-client/domain/info_response.rb +72 -0
- data/lib/epp-client/domain/list.rb +36 -0
- data/lib/epp-client/domain/renew.rb +38 -0
- data/lib/epp-client/domain/renew_response.rb +14 -0
- data/lib/epp-client/domain/response.rb +34 -0
- data/lib/epp-client/domain/transfer.rb +37 -0
- data/lib/epp-client/domain/transfer_response.rb +29 -0
- data/lib/epp-client/domain/update.rb +81 -0
- data/lib/epp-client/domain/update_response.rb +9 -0
- data/lib/epp-client/host/check.rb +23 -0
- data/lib/epp-client/host/check_response.rb +41 -0
- data/lib/epp-client/host/command.rb +47 -0
- data/lib/epp-client/host/create.rb +24 -0
- data/lib/epp-client/host/create_response.rb +14 -0
- data/lib/epp-client/host/delete.rb +21 -0
- data/lib/epp-client/host/delete_response.rb +9 -0
- data/lib/epp-client/host/info.rb +21 -0
- data/lib/epp-client/host/info_response.rb +42 -0
- data/lib/epp-client/host/response.rb +34 -0
- data/lib/epp-client/host/update.rb +76 -0
- data/lib/epp-client/host/update_response.rb +9 -0
- data/lib/epp-client/old_server.rb +25 -0
- data/lib/epp-client/request.rb +51 -0
- data/lib/epp-client/requests/abstract.rb +30 -0
- data/lib/epp-client/requests/command.rb +28 -0
- data/lib/epp-client/requests/extension.rb +28 -0
- data/lib/epp-client/requests/hello.rb +12 -0
- data/lib/epp-client/response.rb +100 -0
- data/lib/epp-client/response_error.rb +15 -0
- data/lib/epp-client/response_helper.rb +25 -0
- data/lib/epp-client/server.rb +330 -0
- data/lib/epp-client/testing.rb +59 -0
- data/lib/epp-client/version.rb +3 -0
- data/lib/epp-client/xml_helper.rb +71 -0
- data/lib/epp-client.rb +103 -0
- data/lib/epp-ruby.rb +1 -0
- data/test/commands/test_check_command.rb +33 -0
- data/test/commands/test_create_command.rb +53 -0
- data/test/commands/test_delete_command.rb +28 -0
- data/test/commands/test_info_command.rb +28 -0
- data/test/commands/test_login_command.rb +56 -0
- data/test/commands/test_logout_command.rb +22 -0
- data/test/commands/test_poll_command.rb +54 -0
- data/test/commands/test_renew_command.rb +39 -0
- data/test/commands/test_transfer_command.rb +37 -0
- data/test/commands/test_update_command.rb +60 -0
- data/test/contact/test_contact_check.rb +33 -0
- data/test/contact/test_contact_check_response.rb +88 -0
- data/test/contact/test_contact_create.rb +71 -0
- data/test/contact/test_contact_create_response.rb +33 -0
- data/test/contact/test_contact_delete.rb +28 -0
- data/test/contact/test_contact_delete_response.rb +23 -0
- data/test/contact/test_contact_info.rb +28 -0
- data/test/contact/test_contact_info_response.rb +100 -0
- data/test/contact/test_contact_transfer.rb +28 -0
- data/test/contact/test_contact_transfer_response.rb +100 -0
- data/test/contact/test_contact_update.rb +84 -0
- data/test/contact/test_contact_update_response.rb +23 -0
- data/test/domain/test_domain_check.rb +33 -0
- data/test/domain/test_domain_check_response.rb +88 -0
- data/test/domain/test_domain_create.rb +108 -0
- data/test/domain/test_domain_create_response.rb +70 -0
- data/test/domain/test_domain_delete.rb +28 -0
- data/test/domain/test_domain_delete_response.rb +23 -0
- data/test/domain/test_domain_info.rb +28 -0
- data/test/domain/test_domain_info_response.rb +146 -0
- data/test/domain/test_domain_renew.rb +91 -0
- data/test/domain/test_domain_renew_response.rb +32 -0
- data/test/domain/test_domain_transfer.rb +89 -0
- data/test/domain/test_domain_transfer_response.rb +112 -0
- data/test/domain/test_domain_update.rb +73 -0
- data/test/domain/test_domain_update_response.rb +23 -0
- data/test/fixtures/responses/contact/check-single.xml +20 -0
- data/test/fixtures/responses/contact/check.xml +27 -0
- data/test/fixtures/responses/contact/create.xml +19 -0
- data/test/fixtures/responses/contact/delete.xml +12 -0
- data/test/fixtures/responses/contact/info.xml +49 -0
- data/test/fixtures/responses/contact/transfer-query.xml +23 -0
- data/test/fixtures/responses/contact/transfer-request.xml +23 -0
- data/test/fixtures/responses/contact/update.xml +12 -0
- data/test/fixtures/responses/domain/check-single.xml +20 -0
- data/test/fixtures/responses/domain/check.xml +27 -0
- data/test/fixtures/responses/domain/create-pending.xml +12 -0
- data/test/fixtures/responses/domain/create.xml +20 -0
- data/test/fixtures/responses/domain/delete.xml +12 -0
- data/test/fixtures/responses/domain/info-no-exDate.xml +38 -0
- data/test/fixtures/responses/domain/info-ns-hostAttr-name-only.xml +34 -0
- data/test/fixtures/responses/domain/info-ns-hostAttr.xml +38 -0
- data/test/fixtures/responses/domain/info.xml +40 -0
- data/test/fixtures/responses/domain/renew.xml +19 -0
- data/test/fixtures/responses/domain/transfer-query.xml +24 -0
- data/test/fixtures/responses/domain/transfer-request.xml +24 -0
- data/test/fixtures/responses/domain/update.xml +12 -0
- data/test/fixtures/responses/greeting.xml +25 -0
- data/test/fixtures/responses/host/check-single.xml +20 -0
- data/test/fixtures/responses/host/check.xml +27 -0
- data/test/fixtures/responses/host/create.xml +19 -0
- data/test/fixtures/responses/host/delete.xml +12 -0
- data/test/fixtures/responses/host/info.xml +30 -0
- data/test/fixtures/responses/host/update.xml +12 -0
- data/test/helper.rb +100 -0
- data/test/host/test_host_check.rb +33 -0
- data/test/host/test_host_check_response.rb +88 -0
- data/test/host/test_host_create.rb +37 -0
- data/test/host/test_host_create_response.rb +33 -0
- data/test/host/test_host_delete.rb +28 -0
- data/test/host/test_host_delete_response.rb +23 -0
- data/test/host/test_host_info.rb +28 -0
- data/test/host/test_host_info_response.rb +72 -0
- data/test/host/test_host_update.rb +68 -0
- data/test/host/test_host_update_response.rb +23 -0
- data/test/requests/test_command_request.rb +16 -0
- data/test/requests/test_extension_request.rb +55 -0
- data/test/requests/test_hello_request.rb +15 -0
- data/test/support/schemas/all.xsd +21 -0
- data/test/support/schemas/contact-1.0.xsd +387 -0
- data/test/support/schemas/domain-1.0.xsd +432 -0
- data/test/support/schemas/epp-1.0.xsd +403 -0
- data/test/support/schemas/eppcom-1.0.xsd +93 -0
- data/test/support/schemas/host-1.0.xsd +240 -0
- data/test/test_client.rb +64 -0
- data/test/test_request.rb +15 -0
- data/test/test_server.rb +67 -0
- metadata +322 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
require 'helper'
|
|
2
|
+
|
|
3
|
+
class TestEppDomainTransferResponse < Test::Unit::TestCase
|
|
4
|
+
context 'EPP::Domain::TransferResponse' do
|
|
5
|
+
context 'query' do
|
|
6
|
+
setup do
|
|
7
|
+
@response = EPP::Response.new(load_xml('domain/transfer-query'))
|
|
8
|
+
@transfer_response = EPP::Domain::TransferResponse.new(@response)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
should 'proxy methods to @response' do
|
|
12
|
+
assert_equal @response.message, @transfer_response.message
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
should 'be successful' do
|
|
16
|
+
assert @transfer_response.success?
|
|
17
|
+
assert_equal 1000, @transfer_response.code
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
should 'have message' do
|
|
21
|
+
assert_equal 'Command completed successfully', @transfer_response.message
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
should 'have domain name' do
|
|
25
|
+
assert_equal 'example.com', @transfer_response.name
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
should 'have transfer status' do
|
|
29
|
+
assert_equal 'pending', @transfer_response.status
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
should 'have request ID' do
|
|
33
|
+
assert_equal 'ClientX', @transfer_response.requested_id
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
should 'have request date' do
|
|
37
|
+
# 2000-06-06T22:00:00.0Z
|
|
38
|
+
expected = Time.gm(2000,6,6,22,00,00)
|
|
39
|
+
assert_equal expected, @transfer_response.requested_date
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
should 'have expiration date' do
|
|
43
|
+
# 2002-09-08T22:00:00.0Z
|
|
44
|
+
expected = Time.gm(2002,9,8,22,00,00)
|
|
45
|
+
assert_equal expected, @transfer_response.expiration_date
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
should 'have action id' do
|
|
49
|
+
assert_equal 'ClientY', @transfer_response.action_id
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
should 'have action date' do
|
|
53
|
+
# 2000-06-11T22:00:00.0Z
|
|
54
|
+
expected = Time.gm(2000,6,11,22,00,00)
|
|
55
|
+
assert_equal expected, @transfer_response.action_date
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
context 'request' do
|
|
59
|
+
setup do
|
|
60
|
+
@response = EPP::Response.new(load_xml('domain/transfer-request'))
|
|
61
|
+
@transfer_response = EPP::Domain::TransferResponse.new(@response)
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
should 'proxy methods to @response' do
|
|
65
|
+
assert_equal @response.message, @transfer_response.message
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
should 'be pending' do
|
|
69
|
+
assert @transfer_response.pending?
|
|
70
|
+
assert_equal 1001, @transfer_response.code
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
should 'have message' do
|
|
74
|
+
assert_equal 'Command completed successfully; action pending', @transfer_response.message
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
should 'have domain name' do
|
|
78
|
+
assert_equal 'example.com', @transfer_response.name
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
should 'have transfer status' do
|
|
82
|
+
assert_equal 'pending', @transfer_response.status
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
should 'have request ID' do
|
|
86
|
+
assert_equal 'ClientX', @transfer_response.requested_id
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
should 'have request date' do
|
|
90
|
+
# 2000-06-06T22:00:00.0Z
|
|
91
|
+
expected = Time.gm(2000,6,8,22,00,00)
|
|
92
|
+
assert_equal expected, @transfer_response.requested_date
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
should 'have expiration date' do
|
|
96
|
+
# 2002-09-08T22:00:00.0Z
|
|
97
|
+
expected = Time.gm(2002,9,8,22,00,00)
|
|
98
|
+
assert_equal expected, @transfer_response.expiration_date
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
should 'have action id' do
|
|
102
|
+
assert_equal 'ClientY', @transfer_response.action_id
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
should 'have action date' do
|
|
106
|
+
# 2000-06-13T22:00:00.0Z
|
|
107
|
+
expected = Time.gm(2000,6,13,22,00,00)
|
|
108
|
+
assert_equal expected, @transfer_response.action_date
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
require 'helper'
|
|
2
|
+
|
|
3
|
+
class TestEppDomainUpdateCommand < Test::Unit::TestCase
|
|
4
|
+
context 'EPP::Domain::Update' do
|
|
5
|
+
setup do
|
|
6
|
+
@domain_update = EPP::Domain::Update.new('example.com',
|
|
7
|
+
:add => {:ns => %w(ns1.test.host ns2.test.host),
|
|
8
|
+
:status => {:ok => "Okie Dokie"}},
|
|
9
|
+
:rem => {:ns => %w(ns3.test.host ns4.test.host),
|
|
10
|
+
:status => {:ok => ["Okie Dokie", "en"]}},
|
|
11
|
+
:chg => {
|
|
12
|
+
:registrant => 'UK-2349723',
|
|
13
|
+
:auth_info => {:pw => '2381728348'}
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
@update = EPP::Commands::Update.new(@domain_update)
|
|
17
|
+
@command = EPP::Requests::Command.new('ABC-123', @update)
|
|
18
|
+
@request = EPP::Request.new(@command)
|
|
19
|
+
@xml = @request.to_xml
|
|
20
|
+
|
|
21
|
+
namespaces_from_request
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
should 'validate against schema' do
|
|
25
|
+
assert @xml.validate_schema(schema)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
should 'set clTRID' do
|
|
29
|
+
assert_equal 'ABC-123', xpath_find('//epp:clTRID')
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
should 'set example.com as name' do
|
|
33
|
+
assert_equal 'example.com', xpath_find('//domain:name')
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
should 'add nameservers' do
|
|
37
|
+
nameservers = []
|
|
38
|
+
xpath_each('//domain:add/domain:ns/domain:hostObj') do |node|
|
|
39
|
+
nameservers << node.content.strip
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
assert_equal %w(ns1.test.host ns2.test.host), nameservers
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
should 'add status' do
|
|
46
|
+
assert_equal "Okie Dokie", xpath_find('//domain:add/domain:status')
|
|
47
|
+
assert_equal "ok", xpath_find('//domain:add/domain:status/@s')
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
should 'remove nameservers' do
|
|
51
|
+
nameservers = []
|
|
52
|
+
xpath_each('//domain:rem/domain:ns/domain:hostObj') do |node|
|
|
53
|
+
nameservers << node.content.strip
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
assert_equal %w(ns3.test.host ns4.test.host), nameservers
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
should 'remove status' do
|
|
60
|
+
assert_equal "Okie Dokie", xpath_find('//domain:rem/domain:status')
|
|
61
|
+
assert_equal "en", xpath_find('//domain:rem/domain:status/@lang')
|
|
62
|
+
assert_equal "ok", xpath_find('//domain:rem/domain:status/@s')
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
should 'set registant for change' do
|
|
66
|
+
assert_equal 'UK-2349723', xpath_find('//domain:chg/domain:registrant')
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
should 'set authInfo for change' do
|
|
70
|
+
assert_equal '2381728348', xpath_find('//domain:chg/domain:authInfo/domain:pw')
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
require 'helper'
|
|
2
|
+
|
|
3
|
+
class TestEppDomainUpdateResponse < Test::Unit::TestCase
|
|
4
|
+
context 'EPP::Domain::UpdateResponse' do
|
|
5
|
+
setup do
|
|
6
|
+
@response = EPP::Response.new(load_xml('domain/update'))
|
|
7
|
+
@update_response = EPP::Domain::UpdateResponse.new(@response)
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
should 'proxy methods to @response' do
|
|
11
|
+
assert_equal @response.message, @update_response.message
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
should 'be successful' do
|
|
15
|
+
assert @update_response.success?
|
|
16
|
+
assert_equal 1000, @update_response.code
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
should 'have message' do
|
|
20
|
+
assert_equal 'Command completed successfully', @update_response.message
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<contact:chkData
|
|
9
|
+
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
|
10
|
+
<contact:cd>
|
|
11
|
+
<contact:id avail="1">sh8013</contact:id>
|
|
12
|
+
</contact:cd>
|
|
13
|
+
</contact:chkData>
|
|
14
|
+
</resData>
|
|
15
|
+
<trID>
|
|
16
|
+
<clTRID>ABC-12345</clTRID>
|
|
17
|
+
<svTRID>54322-XYZ</svTRID>
|
|
18
|
+
</trID>
|
|
19
|
+
</response>
|
|
20
|
+
</epp>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<contact:chkData
|
|
9
|
+
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
|
10
|
+
<contact:cd>
|
|
11
|
+
<contact:id avail="1">sh8013</contact:id>
|
|
12
|
+
</contact:cd>
|
|
13
|
+
<contact:cd>
|
|
14
|
+
<contact:id avail="0">sah8013</contact:id>
|
|
15
|
+
<contact:reason>In use</contact:reason>
|
|
16
|
+
</contact:cd>
|
|
17
|
+
<contact:cd>
|
|
18
|
+
<contact:id avail="1">8013sah</contact:id>
|
|
19
|
+
</contact:cd>
|
|
20
|
+
</contact:chkData>
|
|
21
|
+
</resData>
|
|
22
|
+
<trID>
|
|
23
|
+
<clTRID>ABC-12345</clTRID>
|
|
24
|
+
<svTRID>54322-XYZ</svTRID>
|
|
25
|
+
</trID>
|
|
26
|
+
</response>
|
|
27
|
+
</epp>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<contact:creData
|
|
9
|
+
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
|
10
|
+
<contact:id>sh8013</contact:id>
|
|
11
|
+
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
|
|
12
|
+
</contact:creData>
|
|
13
|
+
</resData>
|
|
14
|
+
<trID>
|
|
15
|
+
<clTRID>ABC-12345</clTRID>
|
|
16
|
+
<svTRID>54321-XYZ</svTRID>
|
|
17
|
+
</trID>
|
|
18
|
+
</response>
|
|
19
|
+
</epp>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<trID>
|
|
8
|
+
<clTRID>ABC-12345</clTRID>
|
|
9
|
+
<svTRID>54321-XYZ</svTRID>
|
|
10
|
+
</trID>
|
|
11
|
+
</response>
|
|
12
|
+
</epp>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<contact:infData
|
|
9
|
+
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
|
10
|
+
<contact:id>sh8013</contact:id>
|
|
11
|
+
<contact:roid>SH8013-REP</contact:roid>
|
|
12
|
+
<contact:status s="linked"/>
|
|
13
|
+
<contact:status s="clientDeleteProhibited"/>
|
|
14
|
+
<contact:postalInfo type="int">
|
|
15
|
+
<contact:name>John Doe</contact:name>
|
|
16
|
+
<contact:org>Example Inc.</contact:org>
|
|
17
|
+
<contact:addr>
|
|
18
|
+
<contact:street>123 Example Dr.</contact:street>
|
|
19
|
+
<contact:street>Suite 100</contact:street>
|
|
20
|
+
<contact:city>Dulles</contact:city>
|
|
21
|
+
<contact:sp>VA</contact:sp>
|
|
22
|
+
<contact:pc>20166-6503</contact:pc>
|
|
23
|
+
<contact:cc>US</contact:cc>
|
|
24
|
+
</contact:addr>
|
|
25
|
+
</contact:postalInfo>
|
|
26
|
+
<contact:voice x="1234">+1.7035555555</contact:voice>
|
|
27
|
+
<contact:fax>+1.7035555556</contact:fax>
|
|
28
|
+
<contact:email>jdoe@example.com</contact:email>
|
|
29
|
+
<contact:clID>ClientY</contact:clID>
|
|
30
|
+
<contact:crID>ClientX</contact:crID>
|
|
31
|
+
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
|
|
32
|
+
<contact:upID>ClientX</contact:upID>
|
|
33
|
+
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
|
|
34
|
+
<contact:trDate>2000-04-08T09:00:00.0Z</contact:trDate>
|
|
35
|
+
<contact:authInfo>
|
|
36
|
+
<contact:pw>2fooBAR</contact:pw>
|
|
37
|
+
</contact:authInfo>
|
|
38
|
+
<contact:disclose flag="0">
|
|
39
|
+
<contact:voice/>
|
|
40
|
+
<contact:email/>
|
|
41
|
+
</contact:disclose>
|
|
42
|
+
</contact:infData>
|
|
43
|
+
</resData>
|
|
44
|
+
<trID>
|
|
45
|
+
<clTRID>ABC-12345</clTRID>
|
|
46
|
+
<svTRID>54322-XYZ</svTRID>
|
|
47
|
+
</trID>
|
|
48
|
+
</response>
|
|
49
|
+
</epp>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<contact:trnData
|
|
9
|
+
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
|
10
|
+
<contact:id>sh8013</contact:id>
|
|
11
|
+
<contact:trStatus>pending</contact:trStatus>
|
|
12
|
+
<contact:reID>ClientX</contact:reID>
|
|
13
|
+
<contact:reDate>2000-06-06T22:00:00.0Z</contact:reDate>
|
|
14
|
+
<contact:acID>ClientY</contact:acID>
|
|
15
|
+
<contact:acDate>2000-06-11T22:00:00.0Z</contact:acDate>
|
|
16
|
+
</contact:trnData>
|
|
17
|
+
</resData>
|
|
18
|
+
<trID>
|
|
19
|
+
<clTRID>ABC-12345</clTRID>
|
|
20
|
+
<svTRID>54322-XYZ</svTRID>
|
|
21
|
+
</trID>
|
|
22
|
+
</response>
|
|
23
|
+
</epp>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1001">
|
|
5
|
+
<msg>Command completed successfully; action pending</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<contact:trnData
|
|
9
|
+
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
|
10
|
+
<contact:id>sh8013</contact:id>
|
|
11
|
+
<contact:trStatus>pending</contact:trStatus>
|
|
12
|
+
<contact:reID>ClientX</contact:reID>
|
|
13
|
+
<contact:reDate>2000-06-08T22:00:00.0Z</contact:reDate>
|
|
14
|
+
<contact:acID>ClientY</contact:acID>
|
|
15
|
+
<contact:acDate>2000-06-13T22:00:00.0Z</contact:acDate>
|
|
16
|
+
</contact:trnData>
|
|
17
|
+
</resData>
|
|
18
|
+
<trID>
|
|
19
|
+
<clTRID>ABC-12345</clTRID>
|
|
20
|
+
<svTRID>54322-XYZ</svTRID>
|
|
21
|
+
</trID>
|
|
22
|
+
</response>
|
|
23
|
+
</epp>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<trID>
|
|
8
|
+
<clTRID>ABC-12345</clTRID>
|
|
9
|
+
<svTRID>54321-XYZ</svTRID>
|
|
10
|
+
</trID>
|
|
11
|
+
</response>
|
|
12
|
+
</epp>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:chkData
|
|
9
|
+
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
10
|
+
<domain:cd>
|
|
11
|
+
<domain:name avail="1">example.com</domain:name>
|
|
12
|
+
</domain:cd>
|
|
13
|
+
</domain:chkData>
|
|
14
|
+
</resData>
|
|
15
|
+
<trID>
|
|
16
|
+
<clTRID>ABC-12345</clTRID>
|
|
17
|
+
<svTRID>54322-XYZ</svTRID>
|
|
18
|
+
</trID>
|
|
19
|
+
</response>
|
|
20
|
+
</epp>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:chkData
|
|
9
|
+
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
10
|
+
<domain:cd>
|
|
11
|
+
<domain:name avail="1">example.com</domain:name>
|
|
12
|
+
</domain:cd>
|
|
13
|
+
<domain:cd>
|
|
14
|
+
<domain:name avail="0">example.net</domain:name>
|
|
15
|
+
<domain:reason>In use</domain:reason>
|
|
16
|
+
</domain:cd>
|
|
17
|
+
<domain:cd>
|
|
18
|
+
<domain:name avail="1">example.org</domain:name>
|
|
19
|
+
</domain:cd>
|
|
20
|
+
</domain:chkData>
|
|
21
|
+
</resData>
|
|
22
|
+
<trID>
|
|
23
|
+
<clTRID>ABC-12345</clTRID>
|
|
24
|
+
<svTRID>54322-XYZ</svTRID>
|
|
25
|
+
</trID>
|
|
26
|
+
</response>
|
|
27
|
+
</epp>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1001">
|
|
5
|
+
<msg>Command completed successfully; action pending</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<trID>
|
|
8
|
+
<clTRID>TESTING-20141020000013</clTRID>
|
|
9
|
+
<svTRID>3934055898</svTRID>
|
|
10
|
+
</trID>
|
|
11
|
+
</response>
|
|
12
|
+
</epp>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:creData
|
|
9
|
+
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
10
|
+
<domain:name>example.com</domain:name>
|
|
11
|
+
<domain:crDate>1999-04-03T22:00:00.0Z</domain:crDate>
|
|
12
|
+
<domain:exDate>2001-04-03T22:00:00.0Z</domain:exDate>
|
|
13
|
+
</domain:creData>
|
|
14
|
+
</resData>
|
|
15
|
+
<trID>
|
|
16
|
+
<clTRID>ABC-12345</clTRID>
|
|
17
|
+
<svTRID>54321-XYZ</svTRID>
|
|
18
|
+
</trID>
|
|
19
|
+
</response>
|
|
20
|
+
</epp>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<trID>
|
|
8
|
+
<clTRID>ABC-12345</clTRID>
|
|
9
|
+
<svTRID>54321-XYZ</svTRID>
|
|
10
|
+
</trID>
|
|
11
|
+
</response>
|
|
12
|
+
</epp>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:infData
|
|
9
|
+
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
10
|
+
<domain:name>example.com</domain:name>
|
|
11
|
+
<domain:roid>EXAMPLE1-REP</domain:roid>
|
|
12
|
+
<domain:status s="ok"/>
|
|
13
|
+
<domain:registrant>jd1234</domain:registrant>
|
|
14
|
+
<domain:contact type="admin">sh8013</domain:contact>
|
|
15
|
+
<domain:contact type="tech">sh8013</domain:contact>
|
|
16
|
+
<domain:ns>
|
|
17
|
+
<domain:hostObj>ns1.example.com</domain:hostObj>
|
|
18
|
+
<domain:hostObj>ns1.example.net</domain:hostObj>
|
|
19
|
+
</domain:ns>
|
|
20
|
+
<domain:host>ns1.example.com</domain:host>
|
|
21
|
+
<domain:host>ns2.example.com</domain:host>
|
|
22
|
+
<domain:clID>ClientX</domain:clID>
|
|
23
|
+
<domain:crID>ClientY</domain:crID>
|
|
24
|
+
<domain:crDate>1999-04-03T22:00:00.0Z</domain:crDate>
|
|
25
|
+
<domain:upID>ClientX</domain:upID>
|
|
26
|
+
<domain:upDate>1999-12-03T09:00:00.0Z</domain:upDate>
|
|
27
|
+
<domain:trDate>2000-04-08T09:00:00.0Z</domain:trDate>
|
|
28
|
+
<domain:authInfo>
|
|
29
|
+
<domain:pw>2fooBAR</domain:pw>
|
|
30
|
+
</domain:authInfo>
|
|
31
|
+
</domain:infData>
|
|
32
|
+
</resData>
|
|
33
|
+
<trID>
|
|
34
|
+
<clTRID>ABC-12345</clTRID>
|
|
35
|
+
<svTRID>54322-XYZ</svTRID>
|
|
36
|
+
</trID>
|
|
37
|
+
</response>
|
|
38
|
+
</epp>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:infData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
9
|
+
<domain:name>example-1409820378.io</domain:name>
|
|
10
|
+
<domain:roid>DOM-123456</domain:roid>
|
|
11
|
+
<domain:status s="ok"/>
|
|
12
|
+
<domain:registrant>T-qZtDtfraZ0Z</domain:registrant>
|
|
13
|
+
<domain:contact type="admin">T-qZtDtfraZ0Z</domain:contact>
|
|
14
|
+
<domain:contact type="tech">T-qZtDtfraZ0Z</domain:contact>
|
|
15
|
+
<domain:contact type="billing">T-qZtDtfraZ0Z</domain:contact>
|
|
16
|
+
<domain:ns>
|
|
17
|
+
<domain:hostAttr>
|
|
18
|
+
<domain:hostName>ns1.example.com</domain:hostName>
|
|
19
|
+
</domain:hostAttr>
|
|
20
|
+
<domain:hostAttr>
|
|
21
|
+
<domain:hostName>ns2.example.com</domain:hostName>
|
|
22
|
+
</domain:hostAttr>
|
|
23
|
+
</domain:ns>
|
|
24
|
+
<domain:clID>NIC-1234</domain:clID>
|
|
25
|
+
<domain:crDate>2014-09-04T08:46:22.0Z</domain:crDate>
|
|
26
|
+
<domain:exDate>2015-09-04T08:46:22.0Z</domain:exDate>
|
|
27
|
+
</domain:infData>
|
|
28
|
+
</resData>
|
|
29
|
+
<trID>
|
|
30
|
+
<clTRID>NIC-1234-20140904000001</clTRID>
|
|
31
|
+
<svTRID>EPP-00A1.000000E1.2</svTRID>
|
|
32
|
+
</trID>
|
|
33
|
+
</response>
|
|
34
|
+
</epp>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:infData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
9
|
+
<domain:name>example-1409820378.io</domain:name>
|
|
10
|
+
<domain:roid>DOM-123456</domain:roid>
|
|
11
|
+
<domain:status s="ok"/>
|
|
12
|
+
<domain:registrant>T-qZtDtfraZ0Z</domain:registrant>
|
|
13
|
+
<domain:contact type="admin">T-qZtDtfraZ0Z</domain:contact>
|
|
14
|
+
<domain:contact type="tech">T-qZtDtfraZ0Z</domain:contact>
|
|
15
|
+
<domain:contact type="billing">T-qZtDtfraZ0Z</domain:contact>
|
|
16
|
+
<domain:ns>
|
|
17
|
+
<domain:hostAttr>
|
|
18
|
+
<domain:hostName>ns1.example.com</domain:hostName>
|
|
19
|
+
<domain:hostAddr ip="v4">192.0.2.1</domain:hostAddr>
|
|
20
|
+
<domain:hostAddr ip="v6">2002:0:0:0:0:0:C000:201</domain:hostAddr>
|
|
21
|
+
</domain:hostAttr>
|
|
22
|
+
<domain:hostAttr>
|
|
23
|
+
<domain:hostName>ns2.example.com</domain:hostName>
|
|
24
|
+
<domain:hostAddr ip="v4">192.0.2.2</domain:hostAddr>
|
|
25
|
+
<domain:hostAddr ip="v6">1080:0:0:0:8:800:200C:417A</domain:hostAddr>
|
|
26
|
+
</domain:hostAttr>
|
|
27
|
+
</domain:ns>
|
|
28
|
+
<domain:clID>NIC-1234</domain:clID>
|
|
29
|
+
<domain:crDate>2014-09-04T08:46:22.0Z</domain:crDate>
|
|
30
|
+
<domain:exDate>2015-09-04T08:46:22.0Z</domain:exDate>
|
|
31
|
+
</domain:infData>
|
|
32
|
+
</resData>
|
|
33
|
+
<trID>
|
|
34
|
+
<clTRID>NIC-1234-20140904000001</clTRID>
|
|
35
|
+
<svTRID>EPP-00A1.000000E1.2</svTRID>
|
|
36
|
+
</trID>
|
|
37
|
+
</response>
|
|
38
|
+
</epp>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
|
3
|
+
<response>
|
|
4
|
+
<result code="1000">
|
|
5
|
+
<msg>Command completed successfully</msg>
|
|
6
|
+
</result>
|
|
7
|
+
<resData>
|
|
8
|
+
<domain:infData
|
|
9
|
+
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
|
10
|
+
<domain:name>example.com</domain:name>
|
|
11
|
+
<domain:roid>EXAMPLE1-REP</domain:roid>
|
|
12
|
+
<domain:status s="ok"/>
|
|
13
|
+
<domain:status s="clientTransferProhibited"/>
|
|
14
|
+
<domain:registrant>jd1234</domain:registrant>
|
|
15
|
+
<domain:contact type="admin">sh8013</domain:contact>
|
|
16
|
+
<domain:contact type="tech">sh8013</domain:contact>
|
|
17
|
+
<domain:ns>
|
|
18
|
+
<domain:hostObj>ns1.example.com</domain:hostObj>
|
|
19
|
+
<domain:hostObj>ns1.example.net</domain:hostObj>
|
|
20
|
+
</domain:ns>
|
|
21
|
+
<domain:host>ns1.example.com</domain:host>
|
|
22
|
+
<domain:host>ns2.example.com</domain:host>
|
|
23
|
+
<domain:clID>ClientX</domain:clID>
|
|
24
|
+
<domain:crID>ClientY</domain:crID>
|
|
25
|
+
<domain:crDate>1999-04-03T22:00:00.0Z</domain:crDate>
|
|
26
|
+
<domain:upID>ClientX</domain:upID>
|
|
27
|
+
<domain:upDate>1999-12-03T09:00:00.0Z</domain:upDate>
|
|
28
|
+
<domain:exDate>2005-04-03T22:00:00.0Z</domain:exDate>
|
|
29
|
+
<domain:trDate>2000-04-08T09:00:00.0Z</domain:trDate>
|
|
30
|
+
<domain:authInfo>
|
|
31
|
+
<domain:pw>2fooBAR</domain:pw>
|
|
32
|
+
</domain:authInfo>
|
|
33
|
+
</domain:infData>
|
|
34
|
+
</resData>
|
|
35
|
+
<trID>
|
|
36
|
+
<clTRID>ABC-12345</clTRID>
|
|
37
|
+
<svTRID>54322-XYZ</svTRID>
|
|
38
|
+
</trID>
|
|
39
|
+
</response>
|
|
40
|
+
</epp>
|