ASP and Extensible Provisioning Protocol (EPP)

Reply

Join Date: May 2004
Posts: 2
Reputation: zoran is an unknown quantity at this point 
Solved Threads: 0
zoran zoran is offline Offline
Newbie Poster

ASP and Extensible Provisioning Protocol (EPP)

 
0
  #1
May 4th, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 32
Reputation: RobUK is an unknown quantity at this point 
Solved Threads: 1
RobUK RobUK is offline Offline
Light Poster

Re: ASP and Extensible Provisioning Protocol (EPP)

 
0
  #2
Jul 13th, 2004
maybe try this:-
  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.
Rob - DMOZ Editor
Web Design Forums - Free website critiques. Web design + SEO Advice
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1
Reputation: david_wright is an unknown quantity at this point 
Solved Threads: 0
david_wright david_wright is offline Offline
Newbie Poster

Re: ASP and Extensible Provisioning Protocol (EPP)

 
0
  #3
Feb 28th, 2005
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.

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

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.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 2
Reputation: zoran is an unknown quantity at this point 
Solved Threads: 0
zoran zoran is offline Offline
Newbie Poster

Re: ASP and Extensible Provisioning Protocol (EPP)

 
0
  #4
Mar 1st, 2005
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC