Hi I am trying to communicate with EPP Server. I have java client example which use Java HttpURLConnection method to establish the connection.
Example:
===================================================
1.String address = "https://someserver.serv.com:429/epp/proxy";
2.URL url = new URL(address);
3.HttpURLConnection c = (HttpURLConnection)
4.url.openConnection();
====================================================

How can I do something similar to communicate with this server? I am trying to send login command in XML format.

ANY resource, ANY advice, ANY link will help. Not to mention how greatful I will be for an how to example.

Recommended Answers

All 4 Replies

maybe try this:-

strPost = "<command><login>" _
      & "<user>username</user>" _
      & "<pass>password>/pass>" _
      & "</login></command>"
Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
objHTTP.open("POST", "yoururlhere", false);
objHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
objHTTP.send(strPost);
strDoc = objHTTP.responseXML;

Hope this helps.

Hi Zoran,

I am also trying to communicate with EPP server using mirosoft technology. I have tried in both ASP and .NET technology.

In ASP, I treied in the same way as you did. In .Net, I tried with System.Net.Sockets page and tcpClient.connect() method. But No nuck.

If you would have succeeded or if you have any idea, can you please inform me. I am struggling a lot in this and spent too much of time.

Thanks in advance.

Regards,
David.

###############################################

Hi I am trying to communicate with EPP Server. I have java client example which use Java HttpURLConnection method to establish the connection.
Example:
===================================================
1.String address = "https://someserver.serv.com:429/epp/proxy";
2.URL url = new URL(address);
3.HttpURLConnection c = (HttpURLConnection)
4.url.openConnection();
====================================================

How can I do something similar to communicate with this server? I am trying to send login command in XML format.

ANY resource, ANY advice, ANY link will help. Not to mention how greatful I will be for an how to example.

Hi David


In my case, on the end it show that Java Example had nothing to do with communication with epp server. They give me XML file (and UserName and Password of course), and I connect with EPP server like this:

Line 1:Set xmlhttp=Server.CreateObject("MSXML2.ServerXMLHTTP")
Line 2:xmlhttp.open "POST", "https://devserver.ics.acis.gr:700/epp/proxy", False

Line 3:xmlhttp.send "<?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><login><clID>ZORAN</clID><pw>ZORAN12345</pw><options><version>1.0</version><lang>en</lang></options><svcs><objURI>urn:ietf:params:xml:ns:host-1.0</objURI><objURI>urn:ietf:params:xml:ns:contact-1.0</objURI><objURI>urn:ietf:params:xml:ns:domain-1.0</objURI></svcs></login><clTRID>nick-12345</clTRID></command></epp>"

David, fell free to send me an e-mail, seo@goto.gr and I can give you more assistance, like sending you files in attachment. Here as you can see some peaces of the code is replaced with smilies.

Regards, Zoran

Hi, I am also working in a registrar company and connect to registry using epp.
But our company is using java.
Do you have msn or gtalk?
Mine is:
ysihaoy@hotmail.com
ysihaoy@gmail.com

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.