Hello niners,
I'm looking for something that can't be found on the Internet (at least not with MSN/Google etc.) so I hope to have more luck over here:
Can someone help me find an EPP (Extensible Provisioning Protocol) client or class, written in .NET (VB.NET or C#, doesn't matter).
Here is an example in Java, unfortunately I can't use that as our environment requires .NET:
http://www.y1.be/eppclient_java.htm
Surely this must exist in .NET too? Or maybe somebody who knows Java can convert this to .NET?
Thanks!!!
-
-
Well, actually it comes down to this:
- establish an SSL connection to the server
- read the initial greeting (which the server will sent after ssl handshake)
- repeat:
- compose an EPP command
- write the command on the socket
- read the reply from the socket
- process the reply (eg. parse with xml parser)
If you can give me a hint about what to use to accomplish this in .NET (2.0), I can probably go ahead and write my own EPP class.
-
So, nobody here has ever worked with or had any experience with EPP?!
-
-
Thank you Maurits, that sounds indeed like the thing I need! I'll check it out!
-
Hi!
I have the same problem here. I searched many hours on the net to find some vb6 or asp examples. This power tcp is a bit too expensive for me. Does any1 have a vb or an asp example? Thanks!!! -
Well, turns out you don't need to buy or download anything at all!
.NET 2.0 has everything you need build in, and it's really simple.
Only thing that can be a PITA is the conversion to and from byte arrays and the different encodings...
Dim client As New Net.Sockets.TcpClient("epp.registry.com", 33123)
Dim sslStream As New Net.Security.SslStream(client.GetStream, False, New Net.Security.RemoteCertificateValidationCallback(AddressOf ValidateServerCertificate), Nothing)
Try
sslStream.AuthenticateAsClient("epp.registry.com")
Catch ex As Exception
'Logging
client.Close()
End Try
sslStream.Write(<your byte array here>)
sslStream.Flush()
client.Close() -
Hey dotnetjunkie!
Did you manage to get it all working using SslStream to do the EPP domain registry stuff?
I have a project where I am looking at doing the same.
Would love some help.
Maybe I can pay you to assist?
Would love to discuss with you
DarthDread at gmail -
If you want to write text to a Stream, you don't have to manually convert it to byte arrays: you can use a StreamWriter for that. To read text from a Stream, use a StreamReader.
-
I'm playing with that for one week now, no Luck.
I get the greeting but i can't send anything or i don't get an answer..
Has anybody some sources for me?
coding -at- cfreak - de
-
Hi dotnetjunkie
i am facing the same problem
u must have had got it resolved as its a very old thread
well i m implementing the same type application which has to communicate with an epp server and its in belgium too
the problem is not only very resembling but i think the same.
please guide how did u get it resolved?
i am having a problem with the server
your post was very helpful but please explain about ValidateServerCertificate in the line at the end
where is it coming from ? do i have to implement this method or property myself ? if yes then how ?
as a newbie i would appreciate if u "spoon feed" me . lol
Dim sslStream As New Net.Security.SslStream(client.GetStream, False, New Net.Security.RemoteCertificateValidationCallback(AddressOf ValidateServerCertificate), Nothing)
thanx -
I want to send this command to "epp.registry.tryout.be" at the port 33128. This is an EPP
server which is to be connected through SSL connection
<?xml version="1.0" encoding="UTF-8"?>
<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">
<hello/>
</epp>This will generate a Greeting in the same (XML) format. I want to store that greeting to a
string using some xml parser i am not sure .
Please help in vb.net!
-
did you find the answer ? I'm also busy with making a connection to the epp server of dns.be ... and it's works in C# . But I have other troubles like when I send the login, I get back a greeting message ... ?!?!?!?shahid.mehboob said:I want to send this command to "epp.registry.tryout.be" at the port 33128. This is an EPP
server which is to be connected through SSL connection
<?xml version="1.0" encoding="UTF-8"?>
<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">
<hello/>
</epp>This will generate a Greeting in the same (XML) format. I want to store that greeting to a
string using some xml parser i am not sure .
Please help in vb.net!
I'm mailed allready to dns.be and nobody has expirience with any .net language ... -
Hi, we are in the process of developing an EPP client API in C#.NET - primarily for use by our internal registrar system (for Step One, based in Oslo, Norway). Our product web site is at http://eppclient.com/. We are hoping to get an early version out in October, but the scheduled public release is not until November.CoNiO said:
did you find the answer ? I'm also busy with making a connection to the epp server of dns.be ... and it's works in C# . But I have other troubles like when I send the login, I get back a greeting message ... ?!?!?!?shahid.mehboob said:*snip*
I'm mailed allready to dns.be and nobody has expirience with any .net language ...
Is there any need and want for such a product? If you are interested, you are welcome to sign up for our EPP client newsletter at http://eppclient.com/...
I know we're a bit late for the person starting the thread - at least I hope that is the case, for her/his sake
Our national TLD registry in Norway, NORID, are planning to employ EPP by the coming spring in 2009 - that's what initially spawned our
search for .NET libraries for EPP, of which I have found none...
-
hi, I'm developing an web service application to connect with a EPP Server, so I have a problem with the TCP connection, I'm using the SslStream class, but i need to use a certificate with the connection this part of the code,nme said:
Hi, we are in the process of developing an EPP client API in C#.NET - primarily for use by our internal registrar system (for Step One, based in Oslo, Norway). Our product web site is at http://eppclient.com/. We are hoping to get an early version out in October, but the scheduled public release is not until November.CoNiO said:*snip*
Is there any need and want for such a product? If you are interested, you are welcome to sign up for our EPP client newsletter at http://eppclient.com/...
I know we're a bit late for the person starting the thread - at least I hope that is the case, for her/his sake
Our national TLD registry in Norway, NORID, are planning to employ EPP by the coming spring in 2009 - that's what initially spawned our search for .NET libraries
for EPP, of which I have found none...
this.sslStream = new SslStream(this._TcpClient.GetStream(), false, new RemoteCertificateValidationCallback(ValidateServerCertificate));
X509Certificate Certificate = X509Certificate.CreateFromCertFile(this._ArchivoCertificado);
X509CertificateCollection X509Collection = new X509CertificateCollection();
X509Collection.Add(Certificate);
this.sslStream.AuthenticateAsClient(this.ServerCertificate, X509Collection, SslProtocols.Tls, false);
is so similar to the code that use dotnetjunkie but with the part of certificates, the thing is I'm getting an error --> Exception Message = A call to SSPI failed, see inner exception.
InnerException Message = An unknown error occurred while processing the certificate
so, you have experiment some related problem with the connection??? I'm using C# 2005
If you have any idea I appreciate your comments, thanks... -
Dit somebody came up with a working solution? Or is it that hard to create it in .NET? I tried myself for the belgian dns system, but it doesn't want to work, maybe somebody else gots some code that works?
thx in advance
-
yes I founded the answer. Please feel free to contact me at my site http://www.x-it.beDo Kedero said:Dit somebody came up with a working solution? Or is it that hard to create it in .NET? I tried myself for the belgian dns system, but it doesn't want to work, maybe somebody else gots some code that works?
thx in advance
Regards !
Joeri
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.