[Eppnicbr] Java startHandshake esta funcionado!

Gustavo Maia gustavo at goshme.com
Thu Apr 22 15:36:28 BRT 2010


Oi pessoal,

  Tenho o codigo java funcionando ate o startHandshake.
  Estou envia o xml de login.

                PrintWriter write2 = new PrintWriter(new
OutputStreamWriter(socket.getOutputStream()),true);

                //command to login
                write2.println("<?xml version=\"1.0\" encoding=\"UTF-8\"
standalone=\"no\"?><epp
xmlns=\"urn:ietf:params:xml:ns:epp-1.0\"><command><login><clID>188</clID><pw>JEURKBXBWR</pw><newPW>jusbrasil00</newPW><options><version>1.0</version><lang>pt</lang></options><svcs><objURI>urn:ietf:params:xml:ns:domain-1.0</objURI><objURI>urn:ietf:params:xml:ns:contact-1.0</objURI><svcExtension><extURI>urn:ietf:params:xml:ns:brdomain-1.0</extURI><extURI>urn:ietf:params:xml:ns:brorg-1.0</extURI><extURI>urn:ietf:params:xml:ns:secDNS-1.0</extURI>
</svcExtension></svcs></login><clTRID>ABC-12345</clTRID></command></epp>");
                write2.flush();

                BufferedReader  in = new BufferedReader(new
InputStreamReader(socket.getInputStream()));


Mas nao estou recebendo a respota. Alguem poderia me dar alguma dica ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://eng.registro.br/pipermail/eppnicbr/attachments/20100422/b68dbf69/attachment.html>


More information about the eppnicbr mailing list