[Eppnicbr] 2 Erros na Homologação

Ricardo Bressan ricardo at bressan.ws
Fri May 6 17:30:54 BRT 2011


Boa tarde Senhores,

Estou com dificuldades em dois testes da homologação. Já utilizei tudo quanto é informação, mas os erros persistem. Usei informações reais, falsas, enfim. Seguem os XMLs:

2.3.3. Infor
Executar o comando EPP Contact Info extendido para Organização para buscar informações da organização criada no passo anterior. 

XML Cliente:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">
  <command>
    <info>
      <contact:info
   xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
   xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0
         contact-1.0.xsd">
 <contact:id>id12345</contact:id>
      </contact:info>

    </info>
    <extension>
      <brorg:info
   xmlns:brorg='urn:ietf:params:xml:ns:brorg-1.0'
   xsi:schemaLocation='urn:ietf:params:xml:ns:brorg-1.0
         brorg-1.0.xsd'>
 <brorg:organization>01.123.456/0001-01</brorg:organization>
      </brorg:info>
    </extension>
   <clTRID>1203147087</clTRID>
  </command>

</epp>

XML  Servidor:

<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="2303">
            <msg lang="pt">Objeto n ão existe</msg>
        </result>
        <trID>
            <clTRID>1203147087</clTRID>

            <svTRID>20110506195433-D4F3DB6F-230-0007</svTRID>
        </trID>
    </response>
</epp>


---------------------------------------------------------------

2.4.2.  Domain Create
Executar o comando EPP Domain Create extendido para domínios .BR. 

XML - Cliente:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">
<command>
<create>
<domain:create
           xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
           xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
           domain-1.0.xsd">
<domain:name>xyz.com.br</domain:name>
<domain:period unit="y">1</domain:period>
<domain:ns>
<domain:hostAttr>
<domain:hostName>ns1.xyzservidor.com.br</domain:hostName>
</domain:hostAttr>

<domain:hostAttr>
<domain:hostName>ns2.xyz.com.br</domain:hostName>
<domain:hostAddr ip="v4">187.16.23.134</domain:hostAddr>
</domain:hostAttr>
<domain:hostAttr>
<domain:hostName>ns3.xyz.com.br</domain:hostName>
<domain:hostAddr ip="v4">187.16.23.135</domain:hostAddr>
<domain:hostAddr ip="v6">2001:bce4:5641:3412:341:45ae:fe32:65</domain:hostAddr>
</domain:hostAttr>

</domain:ns>
<domain:contact type="admin"></domain:contact>

<domain:contact type="tech"></domain:contact>
<domain:contact type="billing"></domain:contact>
<domain:authInfo>
<domain:pw>2fooBAR</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<brdomain:create
           xmlns:brdomain="urn:ietf:params:xml:ns:brdomain-1.0"
           xsi:schemaLocation="urn:ietf:params:xml:ns:brdomain-1.0
           brdomain-1.0.xsd">
<brdomain:organization>01.123.456/0001-01</brdomain:organization>
<brdomain:releaseProcessFlags flag1="1"/>
<brdomain:autoRenew active="0"/>
</brdomain:create>
</extension>
<clTRID>1344076171</clTRID>

</command>
</epp>

XML - Servidor:

<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="2305">
            <msg lang="pt">Associação do objeto não permite esta operação</msg>
            <extValue>
                <value xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                    <brdomain:organization>01.123.456/0001-01</brdomain:organization>

                </value>
                <reason lang="pt">Entidade inexistente</reason>
            </extValue>
        </result>
        <trID>
            <clTRID>1344076171</clTRID>
            <svTRID>20110506195437-D4F3DB6F-230-0009</svTRID>

        </trID>
    </response>
</epp>

---------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://eng.registro.br/pipermail/eppnicbr/attachments/20110506/a6a831a3/attachment.html>


More information about the eppnicbr mailing list