Unfortunately, you can't just do GETs and PUTs to communicate with the server...there's too much "cooking" of the data required.
I've got code written that will connect and fetch the initial banner (HINT: Use the Socket object from System.Net.Sockets), but threw in the towel when it came to parsing the XML and putting it into more generic buckets for use in the system.
You might want to go to SourceForge and grab a copy of OpenSRS-PHP (https://sourceforge.net/projects/opensrs-php/) and use it as a basis for your code. It's well written and well commented, and is a bit more comprehensible than the OpenSRS-SF code (which is thoroughly componetized and therefore somewhat difficult to walk through until you understand what's being done in which layer).
Regards, Eric Longman Atl-Connect Internet Services
+-------------------------------------------------------+ | Atl-Connect Internet Services http://www.atlcon.net | | 3600 Dallas Hwy Ste 230-288 770 590-0888 | | Marietta, GA 30064-1685 [EMAIL PROTECTED] | +-------------------------------------------------------+
[EMAIL PROTECTED] wrote:
Heres my first crack at it with asp.net which does not seem to do anything:
<%@ Page aspcompat=true %> <% Dim postdata Dim xml Dim strstatus Dim strretval Dim strarrayval Dim x_response_code
postdata = postdata & "protocol=XCP" postdata = postdata & "&action=authenticate" postdata = postdata & "&object=user" postdata = postdata & "&action=authenticate"
xml = Server.CreateObject("Microsoft.XMLHTTP") xml.open ("GET", "http://resellers-test.opensrs.net/index?" & PostData & "", false) xml.send ("") strStatus = xml.Status strRetval = xml.responseText xml = nothing
strArrayVal = split(strRetVal, ",", -1)
%>
I still dont know if I am using the right path to the OpenSRS system...
----- Original Message ----- From: "Lynn W. Taylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 26, 2003 7:22 PM
Subject: Re: SSL certs on Horizon - pricing error?
Switching to SOAP over SSL would break all existing installations.
There are at least two components that make the task fairly easy. Here's
one: <http://sourceforge.net/projects/closedsrs/>
Me? I'm happy with the Perl client, running on Windows....
-- Lynn
On Sun, 26 Oct 2003 21:11:42 -0600, Adam Selene wrote:
SOAP over SSL would be the simplest and most standard, I can't believe how long this request has been left unanswered. TuCows, fire your Perl programmers and hire someone with clue.
Hayk, if you take a hack at it in C#, post your source code here, I'm sure there'll be some people willing to help you out.
Adam
