RE: OpenSRS Undefined Returns...

From: Krishnendu Dutta (adskrish@yahoo.co.uk)
Date: Mon Feb 02 2004 - 07:43:53 EST


I think, they provide enough information in their API documentaion. anybody should have enough information to do the required call and process information. And if you really want to see what parameters opensrs returns while making a call, you can catch the array in a variable and get it emailed to you.In a php specific context:
$result=$opensrs->many_comands($cmd);
ob_start();
print_r($cmd);
$tomail=ob_get_contents();
ob_end_clean();
mail($to,"Opensrs Array","$tomail","From:$from");

The above should return the array opensrs returns to any call.
I hope this helps..
 
Krishnendu
Amit Rana <rana@solis.jp> wrote:

> Shouldnt OpenSRS have a list of all possible returned parameters?
> Does OpenSRS have a list of all returned parameters/error messages in
or >under any circumstances?
Any such list would be "very" helpful especially when you don’t want to
show English error messages to users. For eg: when an SSL order fails
because of a bad CSR there could be several things wrong with the CSR
which API returns nicely but there is no mapping of error code/error
message (or any list of all messages) using which we can customize our
messages or handle errors as we want.

Regards,
Amit.

-----Original Message-----
From: owner-dev-list@opensrs.org [mailto:owner-dev-list@opensrs.org] On
Behalf Of feedback@webdivisor.com
Sent: Monday, February 02, 2004 9:35 AM
To: dev-list@opensrs.net
Subject: OpenSRS Undefined Returns...

Shouldnt OpenSRS have a list of all possible returned parameters? For
example if someone trying to code the API to transfer domains and set
the domain transfer years to 5 years, OpenSRS would fail because it does
not support 5 year transfers... causing some problems in the future...
Does OpenSRS have a list of all returned parameters/error messages in or
under any circumstances?
 
Thank You
-Hayk A.

---------------------------------
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:53 EDT