Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMCH Domain Create Extension Fails #1

Open
rajasweb opened this issue Dec 31, 2014 · 1 comment
Open

TMCH Domain Create Extension Fails #1

rajasweb opened this issue Dec 31, 2014 · 1 comment

Comments

@rajasweb
Copy link

Following code, causes registry to reject the command

DomainCreateCommand command = new DomainCreateCommand(domainName, username, pass, contacts);

DomainCreateResponse response = new DomainCreateResponse();

byte[] base64EncodedPart = TmchXmlParser.extractBase64EncodedPartFromSmdFile(
            new FileInputStream(pathToSMD));

TmchDomainCreateCommandExtension extension = new TmchDomainCreateCommandExtension();
extension.setEncodedSignedMarkData(new String(base64EncodedPart));
command.appendExtension(extension);

logger.info(command.toXML());
sessionManager.execute(new Transaction(command, response));

return response;

This returns following XML as response:

<?xml version='1.0' encoding='UTF-8'?><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
  <response>
    <result code="2103">
      <msg lang="en">Unimplemented extension</msg>
      <extValue>
        <value>
          <undef/>
        </value>
        <reason lang="en">urn:ar:params:xml:ns:tmch-1.0</reason>
      </extValue>
    </result>
    <trID>
      <clTRID>X</clTRID>
      <svTRID>X</svTRID>
    </trID>
  </response>
</epp>
@behzad-mozaffari
Copy link
Contributor

Which registry are we talking about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants