| | |
ASP and Extensible Provisioning Protocol (EPP)
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2004
Posts: 2
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Jul 2004
Posts: 32
Reputation:
Solved Threads: 1
maybe try this:-
Hope this helps.
ASP Syntax (Toggle Plain Text)
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.
•
•
Join Date: Feb 2005
Posts: 1
Reputation:
Solved Threads: 0
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.
###############################################
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.
•
•
Join Date: May 2004
Posts: 2
Reputation:
Solved Threads: 0
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
et 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
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
et 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
![]() |
Similar Threads
- Trojans keep reappearing (Viruses, Spyware and other Nasties)
- sysinit32z.exe (Viruses, Spyware and other Nasties)
- sysinit32z.exe (Viruses, Spyware and other Nasties)
- Game ON (Geeks' Lounge)
Other Threads in the ASP Forum
- Previous Thread: Windows 2000 server not allowing ASP access.
- Next Thread: combo box
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





