943,594 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 9901
  • ASP RSS
May 4th, 2004
0

ASP and Extensible Provisioning Protocol (EPP)

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
zoran is offline Offline
2 posts
since May 2004
Jul 13th, 2004
0

Re: ASP and Extensible Provisioning Protocol (EPP)

maybe try this:-
ASP Syntax (Toggle Plain Text)
  1. strPost = "<command><login>" _
  2. & "<user>username</user>" _
  3. & "<pass>password>/pass>" _
  4. & "</login></command>"
  5. Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
  6. objHTTP.open("POST", "yoururlhere", false);
  7. objHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
  8. objHTTP.send(strPost);
  9. strDoc = objHTTP.responseXML;

Hope this helps.
Reputation Points: 10
Solved Threads: 1
Light Poster
RobUK is offline Offline
32 posts
since Jul 2004
Feb 28th, 2005
0

Re: ASP and Extensible Provisioning Protocol (EPP)

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.

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

Quote originally posted by zoran ...
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
david_wright is offline Offline
1 posts
since Feb 2005
Mar 1st, 2005
0

Re: ASP and Extensible Provisioning Protocol (EPP)

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 1et 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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
zoran is offline Offline
2 posts
since May 2004
Aug 18th, 2010
0
Re: ASP and Extensible Provisioning Protocol (EPP)
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ysihaoy is offline Offline
1 posts
since Aug 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: VBScript, loading xml object from a string
Next Thread in ASP Forum Timeline: Image Recognition Using VB6





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC