Initial Commit of AgileBill Open Source
This commit is contained in:
13
plugins/registrar/_directi/config.php
Normal file
13
plugins/registrar/_directi/config.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if(!defined("DIRECTI_URL"))
|
||||
{
|
||||
$SERVICE_URL = "http://demo.myorderbox.com:9090/anacreon/servlet/rpcrouter"; // HTTP DEMO SERVICE URL
|
||||
|
||||
// $SERVICE_URL = "https://demo.myorderbox.com:9443/anacreon/servlet/rpcrouter"; // HTTPS DEMO SERVICE URL
|
||||
// $SERVICE_URL = "http://www.myorderbox.com/anacreon/servlet/rpcrouter"; // HTTP LIVE SERVICE URL
|
||||
// $SERVICE_URL = "https://www.myorderbox.com/anacreon/servlet/rpcrouter"; // HTTPS LIVE SERVICE URL
|
||||
|
||||
$DEBUG = true; // To on/off Debuging.
|
||||
}
|
||||
|
||||
?>
|
243
plugins/registrar/_directi/customer.class.php
Normal file
243
plugins/registrar/_directi/customer.class.php
Normal file
@@ -0,0 +1,243 @@
|
||||
<?php
|
||||
|
||||
include_once("nusoap.php");
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
$debugfunction = $DEBUG;
|
||||
|
||||
/**
|
||||
* This class consist of functions related to Customer.
|
||||
*/
|
||||
class Customer
|
||||
{
|
||||
/**
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
var $s; // This will hold an instance of soapclient class in nusoap.php
|
||||
|
||||
/**
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
var $wsdl; // wsdl URL
|
||||
|
||||
/**
|
||||
* The constructor which takes soap-url as a parameter.
|
||||
*
|
||||
* @param string url of wsdl
|
||||
*
|
||||
* wsdlurl can be passed explicitly.
|
||||
* <br>By default wsdl in wsdl dir is used.
|
||||
*
|
||||
*/
|
||||
function Customer($wsdlurl="wsdl/customer.wsdl")
|
||||
{
|
||||
$this->wsdl = $wsdlurl;
|
||||
$this->s = new soapclient($this->wsdl,"wsdl");
|
||||
}
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
//This function is to diaplay xml Request/Response.
|
||||
function debugfunction()
|
||||
{
|
||||
global $debugfunction;
|
||||
if($debugfunction)
|
||||
{
|
||||
print "<b>XML Sent:</b><br><br>";
|
||||
print "<xmp>" . $this->s->request . "</xmp>";
|
||||
print "<br><b>XML Received:</b><br><br>";
|
||||
print "<xmp>" . $this->s->response . "</xmp>";
|
||||
print "<br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a Customer under you using the details provided.
|
||||
*
|
||||
* @return int
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param string Customer User Name.
|
||||
* @param string Customer Password.
|
||||
* @param string Name.
|
||||
* @param string Company.
|
||||
* @param string Address1.
|
||||
* @param string Address2.
|
||||
* @param string Address3.
|
||||
* @param string City.
|
||||
* @param string State.
|
||||
* @param string Country.
|
||||
* @param string Zip.
|
||||
* @param string Country Code.
|
||||
* @param string Tel. No.
|
||||
* @param string Alternate Country Code.
|
||||
* @param string Alternate Tel. No.
|
||||
* @param string Country Code.
|
||||
* @param string Fax No.
|
||||
* @param string Customer Language Preferance.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>customerId: The Customer Id of the newly added Customer.
|
||||
*
|
||||
*/
|
||||
function addCustomer($userName,$password,$role,$langpref,$parentid,$customerUserName,$customerPassword,$name,$company,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$altTelNoCc,$altTelNo,$faxNoCc,$faxNo,$customerLangPref)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerUserName,$customerPassword,$name,$company,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$altTelNoCc,$altTelNo,$faxNoCc,$faxNo,$customerLangPref);
|
||||
$return = $this->s->call("addCustomer",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Changes the password for the specified customer.
|
||||
*
|
||||
* @return void
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The Customer whose details are to be modified.
|
||||
* @param string The New Password.
|
||||
*
|
||||
*/
|
||||
function changePassword($userName,$password,$role,$langpref,$parentid,$customerId,$newPasswd)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId,$newPasswd);
|
||||
$return = $this->s->call("changePassword",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the complete details of the specified Customer.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int
|
||||
* @param Array Array with no keys specified.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the following information:
|
||||
* <br> customerid=123
|
||||
* <br> name=Customer
|
||||
* <br> company=FAPI
|
||||
* <br> parentkey=1
|
||||
* <br> emailaddr=customer@fapi.com
|
||||
* <br> address1=Somewhere
|
||||
* <br> address2=
|
||||
* <br> address3=
|
||||
* <br> city=Someplace
|
||||
* <br> state=
|
||||
* <br> country=SH
|
||||
* <br> zip=12345
|
||||
* <br> telnocc=123
|
||||
* <br> telno=135435456
|
||||
* <br> faxnocc=
|
||||
* <br> faxno=
|
||||
* <br> langpref=en
|
||||
* <br> customerstatus=Active
|
||||
* <br> totalreceipts=20
|
||||
*
|
||||
*/
|
||||
function getDetails($userName,$password,$role,$langpref,$parentid,$customerId,$options)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId,$options);
|
||||
$return = $this->s->call("getDetails",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies a Customer's profile using the details provided.
|
||||
*
|
||||
* @return void
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The Customer whose details are to be modified.
|
||||
* @param string Customer User Name.
|
||||
* @param string Name.
|
||||
* @param string Company.
|
||||
* @param string Language Preferance.
|
||||
* @param string Address1.
|
||||
* @param string Address2.
|
||||
* @param string Address3.
|
||||
* @param string City.
|
||||
* @param string State.
|
||||
* @param string Country.
|
||||
* @param string Zip.
|
||||
* @param string Country Code.
|
||||
* @param string Tel. No.
|
||||
* @param string Alternate Country Code.
|
||||
* @param string Alternate Tel. No.
|
||||
* @param string Country Code.
|
||||
* @param string Fax No.
|
||||
*
|
||||
*/
|
||||
function modDetails($userName,$password,$role,$langpref,$parentid,$customerId,$customerUserName,$name,$company,$customerLangPref,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$altTelNoCc,$altTelNo,$faxNoCc,$faxNo)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId,$customerUserName,$name,$company,$customerLangPref,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$altTelNoCc,$altTelNo,$faxNoCc,$faxNo);
|
||||
$return = $this->s->call("modDetails",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function returns the Customer id of an existing Customer.
|
||||
*
|
||||
* @return int
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param string Customer User Name.
|
||||
*
|
||||
*/
|
||||
function getCustomerId($userName,$password,$role,$langpref,$parentid,$customerUserName)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerUserName);
|
||||
$return = $this->s->call("getCustomerId",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function authenticates the Customer.This fuction is invoked only if the role is customer.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray
|
||||
* <br>A AssociativeArray with the Customer information.
|
||||
*
|
||||
*/
|
||||
function authenticateCustomer($userName,$password,$role,$langpref,$parentid,$customerUserName,$customerPasswd)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerUserName,$customerPasswd);
|
||||
$return = $this->s->call("authenticateCustomer",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
266
plugins/registrar/_directi/domcontact.class.php
Normal file
266
plugins/registrar/_directi/domcontact.class.php
Normal file
@@ -0,0 +1,266 @@
|
||||
<?php
|
||||
|
||||
include_once("nusoap.php");
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
$debugfunction = $DEBUG;
|
||||
|
||||
/**
|
||||
* This class consist of functions related to Domain Contacts.
|
||||
*/
|
||||
class DomContact
|
||||
{
|
||||
/**
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
var $s; // This will hold an instance of soapclient class in nusoap.php
|
||||
|
||||
/**
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
var $wsdl; // wsdl URL
|
||||
|
||||
/**
|
||||
* The constructor which takes soap-url as a parameter.
|
||||
*
|
||||
* @param string url of wsdl
|
||||
*
|
||||
* wsdlurl can be passed explicitly.
|
||||
* <br>By default wsdl in wsdl dir is used.
|
||||
*
|
||||
*/
|
||||
function DomContact($wsdlurl="wsdl/domaincontact.wsdl")
|
||||
{
|
||||
$this->wsdl = $wsdlurl;
|
||||
$this->s = new soapclient($this->wsdl,"wsdl");
|
||||
}
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
//This function is to diaplay xml Request/Response.
|
||||
function debugfunction()
|
||||
{
|
||||
global $debugfunction;
|
||||
if($debugfunction)
|
||||
{
|
||||
print "<b>XML Sent:</b><br><br>";
|
||||
print "<xmp>" . $this->s->request . "</xmp>";
|
||||
print "<br><b>XML Received:</b><br><br>";
|
||||
print "<xmp>" . $this->s->response . "</xmp>";
|
||||
print "<br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a contact using the details of the customer.
|
||||
*
|
||||
* @return int
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The customer under whom the contact is to be created
|
||||
* <br><br>A contact is created with the same details (such as email address, postal address, etc) as the customer.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>contactId The Contact Id of the newly added contact.
|
||||
*
|
||||
*/
|
||||
function addDefaultContact($userName,$password,$role,$langpref,$parentid,$customerId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId);
|
||||
$return = $this->s->call("addDefaultContact",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a contact using the details provided.
|
||||
*
|
||||
* @return int
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param string Name.
|
||||
* @param string Company.
|
||||
* @param string E-Mail.
|
||||
* @param string Address1.
|
||||
* @param string Address2.
|
||||
* @param string Address3.
|
||||
* @param string City.
|
||||
* @param string State.
|
||||
* @param string Country.
|
||||
* @param string Zip.
|
||||
* @param string Country Code.
|
||||
* @param string Tel. No.
|
||||
* @param string Country Code.
|
||||
* @param string Fax No.
|
||||
* @param int The customer under whom the contact is to be created.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>contactId: The Contact Id of the newly added contact.
|
||||
*
|
||||
*/
|
||||
function addContact($userName,$password,$role,$langpref,$parentid,$name,$company,$emailAddr,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$faxNoCc,$faxNo,$customerId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$name,$company,$emailAddr,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$faxNoCc,$faxNo,$customerId);
|
||||
$return = $this->s->call("add",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the complete details of a particular contact.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The contactId for which details are required
|
||||
* @param Array The various details that are required for the order. An Array with no keys specified. Valid entries are: ContactDetails,StatusDetails,All.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the following information:
|
||||
* <br> contactid=320
|
||||
* <br> name=Contact
|
||||
* <br> company=FAPI
|
||||
* <br> customerid=21
|
||||
* <br> parentkey=1
|
||||
* <br> emailaddr=contact@fapi.com
|
||||
* <br> address1=Somewhere
|
||||
* <br> address2=
|
||||
* <br> address3=
|
||||
* <br> city=Someplace
|
||||
* <br> state=
|
||||
* <br> country=SH
|
||||
* <br> zip=12345
|
||||
* <br> telnocc=123
|
||||
* <br> telno=135435456
|
||||
* <br> faxnocc=
|
||||
* <br> faxno=
|
||||
* <br> contacttype=[domorg]
|
||||
*
|
||||
*/
|
||||
function getDetails($userName,$password,$role,$langpref,$parentid,$contactId,$option)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$contactId,$option);
|
||||
$return = $this->s->call("getDetails",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns a list of Contacts that match the specified search criteria. If you do not want to specify a particular criterion, pass null for that parameter.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int Customer Id.
|
||||
* @param int[] int[] with no keys specified of ContactIds for listing of specific contacts or null for all contacts
|
||||
* @param string[] string[] with no keys specified for listing contacts of specific CurrentStatus or null for all. Valid values are: InActive, Active, Suspended, Deleted
|
||||
* @param string UNIX TimeStamp (epoch) for listing contacts created after creationDTRangStart or null for all contacts
|
||||
* @param string UNIX TimeStamp (epoch) for listing contacts created before creationDTRangEnd or null for all contacts
|
||||
* @param string Searches for contacts whose name contains 'contactName'
|
||||
* @param string Searches for contacts whose company contains 'companyName'
|
||||
* @param string Searches for contacts whose email address contains 'emailAddr'
|
||||
* @param int Number of Records to be returned. The maximum valoue allowed is 50.
|
||||
* @param int Page Number for which records are required.
|
||||
* @param string[] string[] with no keys specified of Field names for sorting listing of contacts or null for default by contactId
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>AssociativeArray which contains contact details The Key for AssociativeArray is index starting from 1. The Value is another AssociativeArray which contains key-value pairs of contact information.
|
||||
*
|
||||
*/
|
||||
function listContact($userName,$password,$role,$langpref,$parentid,$customerId,$contactId,$currentStatus,$creationDTRangStart,$creationDTRangEnd,$contactName,$companyName,$emailAddr,$numOfRecordPerPage,$pageNum,$orderBy)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId,$contactId,$currentStatus,$creationDTRangStart,$creationDTRangEnd,$contactName,$companyName,$emailAddr,$numOfRecordPerPage,$pageNum,$orderBy);
|
||||
$return = $this->s->call("list",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of ContactName - CompanyName of all contacts for the specified customerId
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int the customer for whom the list should be returned
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>AssociativeArray which contains contact details The Key for the AssociativeArray is index starting from 1. The Value is another AssociativeArray which contains key-value pairs of contact information with the following keys:
|
||||
* <br> contactid
|
||||
* <br> name
|
||||
* <br> company
|
||||
* <br> emailaddr
|
||||
*
|
||||
*/
|
||||
function listNames($userName,$password,$role,$langpref,$parentid,$customerId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId);
|
||||
$return = $this->s->call("listNames",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies the details for the specified contact.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The contact whose details are to be modified.
|
||||
* @param string Name.
|
||||
* @param string Company.
|
||||
* @param string E-Mail.
|
||||
* @param string Address1.
|
||||
* @param string Address2.
|
||||
* @param string Address3.
|
||||
* @param string City.
|
||||
* @param string State.
|
||||
* @param string Country.
|
||||
* @param string Zip.
|
||||
* @param string Country Code.
|
||||
* @param string Tel. No.
|
||||
* @param string Country Code.
|
||||
* @param string Fax No.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the modification.
|
||||
* <br> entityid=245
|
||||
* <br> description=DomainContact
|
||||
* <br> actiontype=Mod
|
||||
* <br> actiontypedesc=Modification of Contact Details in the Registry
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Contact modification completed successfully in all registry
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function mod($userName,$password,$role,$langpref,$parentid,$contactId,$name,$company,$emailAddr,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$faxNoCc,$faxNo)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$contactId,$name,$company,$emailAddr,$address1,$address2,$address3,$city,$state,$country,$zip,$telNoCc,$telNo,$faxNoCc,$faxNo);
|
||||
$return = $this->s->call("mod",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
676
plugins/registrar/_directi/domorder.class.php
Normal file
676
plugins/registrar/_directi/domorder.class.php
Normal file
@@ -0,0 +1,676 @@
|
||||
<?php
|
||||
|
||||
include_once("nusoap.php");
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
$debugfunction = $DEBUG;
|
||||
|
||||
/**
|
||||
* This class consist of functions related to Domain Orders.
|
||||
*/
|
||||
class DomOrder
|
||||
{
|
||||
/**
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
var $s; // This will hold an instance of soapclient class in nusoap.php
|
||||
|
||||
/**
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
var $wsdl; // wsdl URL
|
||||
|
||||
/**
|
||||
* The constructor which takes soap-url as a parameter.
|
||||
*
|
||||
* @param string url of wsdl
|
||||
*
|
||||
* wsdlurl can be passed explicitly.
|
||||
* <br>By default wsdl in wsdl dir is used.
|
||||
*
|
||||
*/
|
||||
function DomOrder($wsdlurl="wsdl/domain.wsdl")
|
||||
{
|
||||
$this->wsdl = $wsdlurl;
|
||||
$this->s = new soapclient($this->wsdl,"wsdl");
|
||||
}
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
//This function is to diaplay xml Request/Response.
|
||||
function debugfunction()
|
||||
{
|
||||
global $debugfunction;
|
||||
if($debugfunction)
|
||||
{
|
||||
print "<b>XML Sent:</b><br><br>";
|
||||
print "<xmp>" . $this->s->request . "</xmp>";
|
||||
print "<br><b>XML Received:</b><br><br>";
|
||||
print "<xmp>" . $this->s->response . "</xmp>";
|
||||
print "<br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a Child NameServer on a domain name.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId under which the CNS is to be added
|
||||
* @param string The name to be used for the Child NameServer (ex. host1.foundationapi.com)
|
||||
* @param Array The IP Addresses to be associated with the CNS. A maximum of 13 IP Addresses can be provided.It is an Array with no specific keys for the elements.
|
||||
*<br><br><b>Returns:</b>
|
||||
*<br>AssociativeArray with the result of the modification.
|
||||
*<br> entityid=327
|
||||
*<br> description=apitest04.org
|
||||
*<br> actiontype=AddCns
|
||||
*<br> actiontypedesc=Addition of Child Nameserver host1.apitest04.org with IP [203.23.53.105]
|
||||
*<br> actionstatus=Success
|
||||
*<br> actionstatusdesc=Addition Completed Successfully
|
||||
*<br> status=Success
|
||||
*
|
||||
*/
|
||||
function addChildNameServer($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress);
|
||||
$return = $this->s->call("addChildNameServer",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the availability status of a domainname.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param string The domainname for which availability is to be checked
|
||||
* @param boolean If this parameter is true, then availability will be checked for all supported TLD's. If it is false, then availability will be checked only for the specified TLD
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>The AssociativeArray has the domainname as the key and a AssociativeArray as the value The inner AssociativeArray has two keys - status and classkey {atestdomain.com={status=regthroughothers, classkey=domcno}} Possible values for the status are: available, regthroughus and regthroughothers The classkey denotes the TLD type of the domainname.
|
||||
*
|
||||
*/
|
||||
function checkAvailability($userName,$password,$role,$langpref,$parentid,$domainName,$suggestAlternative)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$domainName,$suggestAlternative);
|
||||
$return = $this->s->call("checkAvailability",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes the IP Address associated with a Child NameServer
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId under which the CNS to be modifed is created
|
||||
* @param string The Child NameServer to be modified
|
||||
* @param Array The IP Addresses to be removed. An Array with no specific keys for the elements
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the action.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=DelCnsIp
|
||||
* <br> actiontypedesc=Deletion of IP Address [203.23.53.106] from Child Nameserver dns1.apitest04.org
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Modification Completed Successfully.
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function deleteChildNameServerIp($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress);
|
||||
$return = $this->s->call("deleteChildNameServerIp",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* DELETES the specified domain name from the Registry.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId of the domain name to be deleted.
|
||||
* <br><br>This command must be used with caution. Once a domain is deleted, there are two ways of getting it back: It can then either be Restored (at cost) It must be re-registered once the domain name becomes available in the Registry (between 5-35 days).
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the action.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=DelDomain
|
||||
* <br> actiontypedesc=Deletion of apitest04.org
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Deletion has been completed
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function deleteDomain($userName,$password,$role,$langpref,$parentid,$orderId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId);
|
||||
$return = $this->s->call("deleteDomain",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the complete details of a particular order.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId for which details are required
|
||||
* @param Array The various details that are required for the order.(OrderDetails,StatusDetails,ContactIds,RegistrantContactDetails,AdminContactDetails,TechContactDetails,BillingContactDetails,NsDetails,DomainStatus,PricingDetails,All)
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>AssociativeArray with name-value pairs for all the details of the order
|
||||
* <br> orderid=123
|
||||
* <br> entityid=123
|
||||
* <br> description=foundationapi.org
|
||||
* <br> ns2=ns3.logicboxes.com
|
||||
* <br> ns1=ns1.logicboxes.com
|
||||
* <br> entitytypeid=7
|
||||
* <br> eaqid=0
|
||||
* <br> currentstatus=Active
|
||||
* <br> customercost=10.0
|
||||
* <br> parentkey=1
|
||||
* <br> domainstatus=[]
|
||||
* <br> orderstatus=[]
|
||||
* <br> creationtime=1060855310
|
||||
* <br> classname=com.logicboxes.foundation.sfnb.order.domorg.DomOrg
|
||||
* <br> classkey=domorg
|
||||
* <br> domsecret=JKz42pbB5H
|
||||
* <br> cns={},
|
||||
* <br> endtime=1092457910
|
||||
* <br> domainname=foundationapi.org
|
||||
* <br> registrantcontactid=320
|
||||
* <br> admincontactid=320
|
||||
* <br> techcontactid=320
|
||||
* <br> billingcontactid=320
|
||||
* <br>If you have requested for the contact details as well, you will get keys as registrantcontact, billingcontact, admincontact and techcontact. The value for these keys will be a AssociativeArray with the following keys:
|
||||
* <br> contactid=320
|
||||
* <br> name=Contact
|
||||
* <br> company=FAPI
|
||||
* <br> customerid=21
|
||||
* <br> parentkey=1
|
||||
* <br> emailaddr=contact@fapi.com
|
||||
* <br> address1=Somewhere
|
||||
* <br> address2=
|
||||
* <br> address3=
|
||||
* <br> city=Someplace
|
||||
* <br> state=
|
||||
* <br> country=SH
|
||||
* <br> zip=12345
|
||||
* <br> telnocc=123
|
||||
* <br> telno=135435456
|
||||
* <br> faxnocc=
|
||||
* <br> faxno=
|
||||
* <br> contacttype=[domorg]
|
||||
*
|
||||
*/
|
||||
function getDetails($userName,$password,$role,$langpref,$parentid,$orderId,$option)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$option);
|
||||
$return = $this->s->call("getDetails",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of the locks placed on a domain name.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId of the domain name
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the list of locks. The AssociativeArray will have the lock type (customerlock, resellerlock) as the key. The value will be a AssociativeArray with the following details
|
||||
* <br> lockerid=3
|
||||
* <br> addedby=Reseller Company
|
||||
* <br> creationdt=1063959797
|
||||
* <br>lockerid is the Customer/ResellerId of the person who added the lock addedby is the Company Name of the person who added the lock creationdt is the Date the lock was added in Unix timestamp format.
|
||||
*
|
||||
*/
|
||||
function getLockList($userName,$password,$role,$langpref,$parentid,$orderId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId);
|
||||
$return = $this->s->call("getLockList",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of Domain Names that match the specified search criteria. If you do not want to specify a particular criterion, pass null for object parameters and 0 for numeric parameters.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int[] int[] with no keysspecified of OrderIds for listing Specific Orders
|
||||
* @param int[] int[] with no keysspecified of ResellerIds for listing Orders under specific Sub-Reseller(s)
|
||||
* @param int[] int[] with no keysspecified of CustomerIds for listing Orders belonging to specific Customer(s)
|
||||
* @param boolean
|
||||
* @param string[] string[] with no keysspecified to return Orders of specific TLD's (.com = domcno,.net = domcno,.org = domorg,.biz = dombiz,.info = dominfo,.us = domus)
|
||||
* @param string[] string[] with no keysspecified for listing Orders having specific Current Status Valid values are: InActive, Active, Suspended, Deleted
|
||||
* @param string String for listing of Orders where the domain name matches description. The check is not for an exact match. If any part of the domainname matches description, it will be returned in the search result.
|
||||
* @param string UNIX TimeStamp (epoch) for listing Orders created after creationDTRangStart
|
||||
* @param string UNIX TimeStamp (epoch) for listing Orders created before creationDTRangEnd
|
||||
* @param string
|
||||
* @param string
|
||||
* @param int No. of Records to be returned. The maximum valoue allowed is 50
|
||||
* @param int Page Number for which records are required
|
||||
* @param string[] string[] with no keysspecified of Field names for sorting Listing of Orders. Default sorting is by orderId.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>AssociativeArray which contains list of orders matching the search criteria The Keys for the AssociativeArray are values from 1 to n. The Value is another AssociativeArray which contains key-value pairs of domain information. The outerAssociativeArray also contains two additional parameters -
|
||||
* <br> recsonpage = The no of records returned in this key-value paired array
|
||||
* <br> recsindb = The total no of records available that match the search criteria
|
||||
* <br>Keys in the inner key-value paired array per order:
|
||||
* <br> orders.orderid=101
|
||||
* <br> entity.customerid=21
|
||||
* <br> entity.entityid=101
|
||||
* <br> orders.endtime=1088270630
|
||||
* <br> orders.timestamp=2003-07-01 16:20:55.185655
|
||||
* <br> entity.entitytypeid=5
|
||||
* <br> entity.currentstatus=Active
|
||||
* <br> entitytype.entitytypekey=domorg
|
||||
* <br> orders.creationtime=1056650030
|
||||
* <br> entitytype.entitytypename=.ORG Domain
|
||||
* <br> orders.creationdt=1056445863
|
||||
* <br> entity.description=foundationapi.com
|
||||
*
|
||||
*/
|
||||
|
||||
function listOrder($userName,$password,$role,$langpref,$parentid,$orderId,$resellerId,$customerId,$showChildOrders,$domainType,$currentStatus,$description,$creationDTRangStart,$creationDTRangEnd,$endTimeRangStart,$endTimeRangEnd,$numOfRecordPerPage,$pageNum,$orderBy)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$resellerId,$customerId,$showChildOrders,$domainType,$currentStatus,$description,$creationDTRangStart,$creationDTRangEnd,$endTimeRangStart,$endTimeRangEnd,$numOfRecordPerPage,$pageNum,$orderBy);
|
||||
$return = $this->s->call("list",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies the IP Address associated with a Child NameServer
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId under which the CNS to be modifed is created
|
||||
* @param string The Child NameServer to be modified
|
||||
* @param string The IP Addresses to be removed
|
||||
* @param string The new IP Addresses to be added
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the modification.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=ModCnsIp
|
||||
* <br> actiontypedesc=Modification of Child Namserver IP Address from 203.23.53.105 to 203.23.53.106 for dns1.apitest04.org
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Modification Completed Successfully.
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function modifyChildNameServerIp($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$oldIp,$newIp)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$oldIp,$newIp);
|
||||
$return = $this->s->call("modifyChildNameServerIp",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies the name of the specified CNS
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId under which the CNS to be modified is created
|
||||
* @param string The old name of the Child NameServer (ex. dns1.foundationapi.com)
|
||||
* @param string The new name to be used for the Child NameServer (ex. host1.foundationapi.com)
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the modification.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=ModCnsName
|
||||
* <br> actiontypedesc=Modification of Child Nameserver host1.apitest04.org to dns1.apitest04.org
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Modification Completed Successfully.
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function modifyChildNameServerName($userName,$password,$role,$langpref,$parentid,$orderId,$oldCns,$newCns)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$oldCns,$newCns);
|
||||
$return = $this->s->call("modifyChildNameServerName",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies the Contacts associated with a domain name. This call is valid only for those domains that support a transfer secret. Currently, this does not include .com/.net domains.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId under for which the Contacts are to be modified
|
||||
* @param int The contact to be used as the Registrant
|
||||
* @param int The contact to be used as the Admin Contact
|
||||
* @param int The contact to be used as the Tech Contact
|
||||
* @param int The contact to be used as the Billing Contact
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the modification.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=ModContact
|
||||
* <br> actiontypedesc=Modification of Contact Details of apitest04.org
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Modification Completed Successfully.
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function modifyContact($userName,$password,$role,$langpref,$parentid,$orderId,$registrantContactId,$adminContactId,$techContactId,$billingContactId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$registrantContactId,$adminContactId,$techContactId,$billingContactId);
|
||||
$return = $this->s->call("modifyContact",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies the Transfer Secret associated with a domain name. This call is valid only for those domains that support a transfer secret. Currently, this does not include .com/.net domains.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId under for which the Transfer Secret is to be modified
|
||||
* @param string The new Transfer Secret to be set for the domain name
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the modification.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=ModDomainSecret
|
||||
* <br> actiontypedesc=Modification of Domain Secret of apitest04.org
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Modification Completed Successfully.
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function modifyDomainSecret($userName,$password,$role,$langpref,$parentid,$orderId,$newSecret)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$newSecret);
|
||||
$return = $this->s->call("modifyDomainSecret",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies the NameServers of a domain
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId for which NS's are to be modified
|
||||
* @param AssociativeArray The required NS values. The key-value paired array should have the key as ns1...ns13 as required, with the value as the NS to be used. ex. {ns1=ns.foundationapi.com,ns2=ns2.foundationapi.com}
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the modification.
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=ModNS
|
||||
* <br> actiontypedesc=Modification of Nameservers of apitest04.org to [ns3.foundationapi.com, ns2.foundationapi.com]
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Modification Completed Successfully.
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function modifyNameServer($userName,$password,$role,$langpref,$parentid,$orderId,$nsHash)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId,$nsHash);
|
||||
$return = $this->s->call("modifyNameServer",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to Register the specified domain name(s).
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param AssociativeArray This should contain the domain name(s) which are to be registered. The key-value paired array should have the domainname as the key, and the number of years to register the domain for as the value. ex. {domain1.com=1,domain2.net=2}
|
||||
* @param Array The NameServers to be used for the domains being registered. The same NS's will be used for all the domain names specified in the domain hash. It is an array with no keys specified.
|
||||
* @param int The contact to be used as the Registrant for all the specified domains.
|
||||
* @param int The contact to be used as the Admin Contact for all the specified domains.
|
||||
* @param int The contact to be used as the Tech Contact for all the specified domains.
|
||||
* @param int The contact to be used as the Billing Contact for all the specified domains.
|
||||
* @param int The customer under whom the orders should be added
|
||||
* @param string This parameter will decide how the Customer Invoices will be handled. NoInvoice - If this value is passed, then no customer invoice will be generated for the domains. PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid and the domains will be registered. If a customer has less balance than required, then as many domains as possible will be registered with the existing funds. All other orders will remain pending in the system. KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains. However, these invoices will not be paid. They will be kept pending, while the orders will be executed.
|
||||
* <br><br>This method performs the action in two steps - 1. It adds an order in the system for the domain name. 2. It attempts to register the domainname in the Registry. Your Reseller account must have sufficient funds to register the domain names since this is a billable action.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the domain registration. The AssociativeArray has the domainnames as the key, and a AssociativeArray as the value. The inner AssociativeArray will have key-values as follows:
|
||||
* <br> entityid=434
|
||||
* <br> description=apitest04.info
|
||||
* <br> actiontype=AddNewDomain
|
||||
* <br> actiontypedesc=Registration of apitest04.info for 1 years
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Domain registration Completed Successfully
|
||||
* <br> status=Success
|
||||
* <br> eaqid=1168
|
||||
* <br>Incase you have chosen "KeepInvoice" or "PayInvoice", the return AssociativeArray will also contain the following data:
|
||||
* <br> customerid=8
|
||||
* <br> invoiceid=727
|
||||
* <br> sellingcurrencysymbol=INR
|
||||
* <br> sellingamount=-500.000
|
||||
* <br> unutilisedsellingamount=-500.000
|
||||
* <br>invoiceid is the Id that you will need to pass to Fund.payCustomerTransaction if you wish to pay the invoice at a later date. selllingamount is the Invoice amount in your Selling Currency unutilisedselllingamount is the Pending Invoice amount in your Selling Currency. In case of "KeepInvoice", the pending amount will always be equal to the invoice amount. In case of "PayInvoice", if the Customer does not have sufficient funds to pay the entire invoice amount, unutilisedsellingamount will reflect the balance amount that is pending. If the invoice has been completely paid, the unutilisedsellingamount will be 0.
|
||||
*
|
||||
*/
|
||||
function registerDomain($userName,$password,$role,$langpref,$parentid,$domainHash,$ns,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$domainHash,$ns,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption);
|
||||
$return = $this->s->call("registerDomain",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* UnLocks the specified Domain name.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId of the domain to be locked
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the action
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=Lock
|
||||
* <br> actiontypedesc=Removal of customerlock
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Locking removed successfully
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function removeCustomerLock($userName,$password,$role,$langpref,$parentid,$orderId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId);
|
||||
$return = $this->s->call("removeCustomerLock",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to Renew the specified domain name(s).
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param AssociativeArray This should contain the domain name(s) which are to be renewed. In $domainHash one has to send Assosiative Array containing Inside one more Assosiative Array containing following info. array(<domain name> => array("entityid" => <orderId>,"noofyears" => <No ofyears>,"expirydate" => <expiry date in seconds>) and so on.....); e.g. array("directi.com" => array("entityid" => "123","noofyears" => "1","expirydate" => "2000");
|
||||
* @param string This parameter will decide how the Customer Invoices will be handled. NoInvoice If this value is passed, then no customer invoice will be generated for the domains. PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid and the domains will be registered. If a customer has less balance than required, then as many domains as possible will be registered with the existing funds. All other orders will remain pending in the system. KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains. However, these invoices will not be paid. They will be kept pending, while the orders will be executed.
|
||||
* <br><br>Attempts to Renew the specified domain name(s). This method performs the action in two steps - 1. It adds an action for the Renewal of the Domain. 2. It attempts to renew the domainname in the Registry. Your Reseller account must have sufficient funds to register the domain names since this is a billable action.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the Renwwal. The AssociativeArray has the domainnames as the key, and a AssociativeArray as the value. The inner AssociativeArray will have key-values as follows:
|
||||
* <br> entityid=435
|
||||
* <br> description=apitest04.com
|
||||
* <br> actiontype=RenewDomain
|
||||
* <br> actiontypedesc=Renewal of apitest04.com for 1 years
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Domain renewed successully
|
||||
* <br> status=Success
|
||||
* <br> eaqid=1169
|
||||
* <br>Incase you have chosen "KeepInvoice" or "PayInvoice", the return AssociativeArray will also contain the following data:
|
||||
* <br> customerid=8
|
||||
* <br> invoiceid=727
|
||||
* <br> sellingcurrencysymbol=INR
|
||||
* <br> sellingamount=-500.000
|
||||
* <br> unutilisedsellingamount=-500.000
|
||||
* <br>invoiceid is the Id that you will need to pass to Fund.payCustomerTransaction if you wish to pay the invoice at a later date. selllingamount is the Invoice amount in your Selling Currency unutilisedselllingamount is the Pending Invoice amount in your Selling Currency. In case of "KeepInvoice", the pending amount will always be equal to the invoice amount. In case of "PayInvoice", if the Customer does not have sufficient funds to pay the entire invoice amount, unutilisedsellingamount will reflect the balance amount that is pending. If the invoice has been completely paid, the unutilisedsellingamount will be 0.
|
||||
*
|
||||
*/
|
||||
function renewDomain($userName,$password,$role,$langpref,$parentid,$domainHash,$invoiceOption)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$domainHash,$invoiceOption);
|
||||
$return = $this->s->call("renewDomain",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Locks the specified Domain name. When a domain name is locked, no changes can be made to ir unless it is unlocked.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The orderId of the domain to be locked
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the action
|
||||
* <br> entityid=327
|
||||
* <br> description=apitest04.org
|
||||
* <br> actiontype=Lock
|
||||
* <br> actiontypedesc=Addition of customerlock
|
||||
* <br> actionstatus=Success
|
||||
* <br> actionstatusdesc=Locking completed successfully
|
||||
* <br> status=Success
|
||||
*
|
||||
*/
|
||||
function setCustomerLock($userName,$password,$role,$langpref,$parentid,$orderId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$orderId);
|
||||
$return = $this->s->call("setCustomerLock",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to place a Transfer order for the specified domain name(s).
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param AssociativeArray This should contain the domain name(s) which are to be registered. The AssociativeArray should have the domainname as the key, and the domain transfer secret as the value. In case of domains which do not have a transfer secret, an empty string should be passed. ex. {domain1.com=secret1,domain2.net=secret2}
|
||||
* @param int The contact to be used as the Registrant for all the specified domains.
|
||||
* @param int The contact to be used as the Admin Contact for all the specified domains.
|
||||
* @param int The contact to be used as the Tech Contact for all the specified domains.
|
||||
* @param int The contact to be used as the Billing Contact for all the specified domains.
|
||||
* @param int The customer under whom the orders should be added
|
||||
* @param string This parameter will decide how the Customer Invoices will be handled. NoInvoice - If this value is passed, then no customer invoice will be generated for the domains. PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid and the domains will be registered. If a customer has less balance than required, then as many domains as possible will be registered with the existing funds. All other orders will remain pending in the system. KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains. However, these invoices will not be paid. They will be kept pending, while the orders will be executed.
|
||||
* <br><br>This method performs the action in two steps - 1. It adds an order in the system for the domain name. 2. It attempts to register the domainname in the Registry. Your Reseller account must have sufficient funds to register the domain names since this is a billable action.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>AssociativeArray.
|
||||
* <br>A AssociativeArray with the result of the Transfer order. The AssociativeArray has the domainnames as the key, and a AssociativeArray as the value. The inner AssociativeArray will have key-values as follows:
|
||||
* <br> entityid=435
|
||||
* <br> description=apitest04.com
|
||||
* <br> actiontype=AddTransferDomain
|
||||
* <br> actiontypedesc=Transfer of apitest04.com from old Registrar alongwith 1 year Renewal
|
||||
* <br> actionstatus=RFASent
|
||||
* <br> actionstatusdesc=Transfer waiting for Admin Contact Approval
|
||||
* <br> status=Success
|
||||
* <br> eaqid=1169
|
||||
* <br>Incase you have chosen "KeepInvoice" or "PayInvoice", the return key-value paired array will also contain the following data:
|
||||
* <br> customerid=8
|
||||
* <br> invoiceid=727
|
||||
* <br> sellingcurrencysymbol=INR
|
||||
* <br> sellingamount=-500.000
|
||||
* <br> unutilisedsellingamount=-500.000
|
||||
* <br>invoiceid is the Id that you will need to pass to Fund.payCustomerTransaction if you wish to pay the invoice at a later date. selllingamount is the Invoice amount in your Selling Currency unutilisedselllingamount is the Pending Invoice amount in your Selling Currency. In case of "KeepInvoice", the pending amount will always be equal to the invoice amount. In case of "PayInvoice", if the Customer does not have sufficient funds to pay the entire invoice amount, unutilisedsellingamount will reflect the balance amount that is pending. If the invoice has been completely paid, the unutilisedsellingamount will be 0.
|
||||
*
|
||||
*/
|
||||
function transferDomain($userName,$password,$role,$langpref,$parentid,$domainHash,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$domainHash,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption);
|
||||
$return = $this->s->call("transferDomain",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
82
plugins/registrar/_directi/domuscontact.class.php
Normal file
82
plugins/registrar/_directi/domuscontact.class.php
Normal file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
include_once("nusoap.php");
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
$debugfunction = $DEBUG;
|
||||
|
||||
/**
|
||||
* This class consist of functions related to .US contacts.
|
||||
*/
|
||||
class DomUsContact
|
||||
{
|
||||
/**
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
var $s; // This will hold an instance of soapclient class in nusoap.php
|
||||
|
||||
/**
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
var $wsdl; // wsdl URL
|
||||
|
||||
/**
|
||||
* The constructor which takes soap-url as a parameter.
|
||||
*
|
||||
* @param string url of wsdl
|
||||
*
|
||||
* wsdlurl can be passed explicitly.
|
||||
* <br>By default wsdl in wsdl dir is used.
|
||||
*
|
||||
*/
|
||||
function DomUsContact($wsdlurl="wsdl/domainuscontact.wsdl")
|
||||
{
|
||||
$this->wsdl = $wsdlurl;
|
||||
$this->s = new soapclient($this->wsdl,"wsdl");
|
||||
}
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
//This function is to diaplay xml Request/Response.
|
||||
function debugfunction()
|
||||
{
|
||||
global $debugfunction;
|
||||
if($debugfunction)
|
||||
{
|
||||
print "<b>XML Sent:</b><br><br>";
|
||||
print "<xmp>" . $this->s->request . "</xmp>";
|
||||
print "<br><b>XML Received:</b><br><br>";
|
||||
print "<xmp>" . $this->s->response . "</xmp>";
|
||||
print "<br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This function need to be called for any contact used as Registrant contact for .US.
|
||||
*
|
||||
* @return void
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int The Registrant contactId for which applicationPurposedetails, nexusCategory are required.
|
||||
* @param string applicationPurpose e.g P1,P2 etc.
|
||||
* @param string nexusCategory e.g. C31
|
||||
*
|
||||
*/
|
||||
function setContactDetails($userName,$password,$role,$langpref,$parentid,$contactId,$applicationPurpose,$nexusCategory)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$contactId,$applicationPurpose,$nexusCategory);
|
||||
$return = $this->s->call("setContactDetails",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
?>
|
107
plugins/registrar/_directi/fund.class.php
Normal file
107
plugins/registrar/_directi/fund.class.php
Normal file
@@ -0,0 +1,107 @@
|
||||
<?php
|
||||
|
||||
include_once("nusoap.php");
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
$debugfunction = $DEBUG;
|
||||
|
||||
/**
|
||||
* Fund class contains Transaction related functions.
|
||||
*/
|
||||
class Fund
|
||||
{
|
||||
/**
|
||||
* @access private
|
||||
* @var object
|
||||
*/
|
||||
var $s; // This will hold an instance of soapclient class in nusoap.php
|
||||
|
||||
/**
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
var $wsdl; // wsdl URL
|
||||
|
||||
/**
|
||||
* The constructor which takes soap-url as a parameter.
|
||||
*
|
||||
* @param string url of wsdl
|
||||
*
|
||||
* wsdlurl can be passed explicitly.
|
||||
* <br>By default wsdl in wsdl dir is used.
|
||||
*
|
||||
*/
|
||||
function Fund($wsdlurl="wsdl/fund.wsdl")
|
||||
{
|
||||
$this->wsdl = $wsdlurl;
|
||||
$this->s = new soapclient($this->wsdl,"wsdl");
|
||||
}
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
//This function is to diaplay xml Request/Response.
|
||||
function debugfunction()
|
||||
{
|
||||
global $debugfunction;
|
||||
if($debugfunction)
|
||||
{
|
||||
print "<b>XML Sent:</b><br><br>";
|
||||
print "<xmp>" . $this->s->request . "</xmp>";
|
||||
print "<br><b>XML Received:</b><br><br>";
|
||||
print "<xmp>" . $this->s->response . "</xmp>";
|
||||
print "<br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This function allows you to pay a Customer's pending Invoices or Debit Notes.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int[] int[] of Invoice Ids for which you wish to make the payment.
|
||||
* @param int[] int[] of Debit Note Ids for which you wish to make the payment.
|
||||
* <br><br><b>Returns:</b>
|
||||
*<br>AssociativeArray with the payment details for each of the Invoices and Debit Notes.
|
||||
*<br>The returned AssociativeArray will have the Invoice/DebitNote Id as the key, and a AssociativeArray as the value. This inner AssociativeArray will have all the details of the transaction. Each inner AssociativeArray will have a key "status", which will be set to either "Success" or "Error". After payment, an Invoice/Debit Note can be either fully paid or partly paid. If it is partly paid, then the AssociativeArray will also include a key called "pendingamount".
|
||||
*
|
||||
*/
|
||||
function payCustomerTransaction($userName,$password,$role,$langpref,$parentid,$invoiceTransIdArr,$debitNoteIdArr)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$invoiceTransIdArr,$debitNoteIdArr);
|
||||
$return = $this->s->call("payCustomerTransaction",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function returns the available balance of a customer.
|
||||
*
|
||||
* @return AssociativeArray
|
||||
* @param string Username.
|
||||
* @param string Password.
|
||||
* @param string Role.
|
||||
* @param string Language Preference.
|
||||
* @param int Parent id.
|
||||
* @param int Customer id.
|
||||
* <br><br><b>Returns:</b>
|
||||
* <br>An Associative Array with balance details.
|
||||
*
|
||||
*/
|
||||
function getCustomerAvailableBalance($userName,$password,$role,$langpref,$parentid,$customerId)
|
||||
{
|
||||
$para = array($userName,$password,$role,$langpref,$parentid,$customerId);
|
||||
$return = $this->s->call("getCustomerAvailableBalance",$para);
|
||||
$this->debugfunction();
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
4583
plugins/registrar/_directi/nusoap.php
Normal file
4583
plugins/registrar/_directi/nusoap.php
Normal file
File diff suppressed because it is too large
Load Diff
79
plugins/registrar/_directi/register.php
Normal file
79
plugins/registrar/_directi/register.php
Normal file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
include_once('../../../config.inc.php');
|
||||
require_once(PATH_ADODB . 'adodb.inc.php');
|
||||
require_once(PATH_CORE . 'database.inc.php');
|
||||
require_once(PATH_CORE . 'setup.inc.php');
|
||||
require_once(PATH_CORE . 'vars.inc.php');
|
||||
|
||||
$C_debug = new CORE_debugger;
|
||||
$C_vars = new CORE_vars;
|
||||
$VAR = $C_vars->f;
|
||||
$C_db = &DB();
|
||||
$C_setup = new CORE_setup;
|
||||
|
||||
$SERVICE_URL = $VAR['DIRECTI_URL'];
|
||||
$DEBUG = $VAR['DIRECTI_DEBUG'];
|
||||
$domainHash = Array($VAR['DOMAIN_NAME'] => $VAR['TERM']);
|
||||
$nsHash = Array($VAR['NS1'] => $VAR['NS2']);
|
||||
$USERNAME = $VAR['DIRECTI_USERNAME'];
|
||||
$PASSWORD = $VAR['DIRECTI_PASSWORD'];
|
||||
$PARENTID = $VAR['DIRECTI_PARENTID'];
|
||||
$LIB_DIR = "";
|
||||
$iserror = false;
|
||||
|
||||
require_once($LIB_DIR."domorder.class.php");
|
||||
require_once($LIB_DIR . "customer.class.php");
|
||||
require_once($LIB_DIR."response.class.php");
|
||||
|
||||
$DomOrder = new DomOrder($LIB_DIR . "wsdl/domain.wsdl"); // Creating an instance of DomOrder by passing wsdl url.
|
||||
$Customer = new Customer($LIB_DIR . "wsdl/customer.wsdl"); // Creating an instance of DomOrder by passing wsdl url.
|
||||
|
||||
// create/get the accounts id:
|
||||
$return = $Customer->getCustomerId($USERNAME,$PASSWORD,"reseller","en",$PARENTID,$VAR['ACCT_USER']);
|
||||
|
||||
if(is_array($return))
|
||||
{
|
||||
# add account
|
||||
$return = $Customer->addCustomer($USERNAME,$PASSWORD,"reseller","en",$PARENTID,
|
||||
$VAR['ACCT_USER'],
|
||||
$VAR['ACCT_PASS'],
|
||||
$VAR['ACCT_NAME'],
|
||||
$VAR['ACCT_ADDR'],
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
$VAR['ACCT_CITY'],
|
||||
$VAR['ACCT_STATE'],
|
||||
$VAR['ACCT_COUNTRY'],
|
||||
$VAR['ACCT_ZIP'],
|
||||
"01","8885551212","01","8885551212","01","8885551212","en");
|
||||
|
||||
}
|
||||
|
||||
// Register domain
|
||||
if(!is_array($return))
|
||||
{
|
||||
$account = $return;
|
||||
$return = $DomOrder->registerDomain($USERNAME,$PASSWORD,"reseller","en",$PARENTID,$domainHash,$nsHash,$account,$account,$account,$account,$account,'NoInvoice');
|
||||
}
|
||||
|
||||
$response = new Response($return);
|
||||
|
||||
// Status
|
||||
if(@$return['status'] == 'Success')
|
||||
echo 'REGISTER SUCCESS!';
|
||||
|
||||
// Common Output for all above functions.
|
||||
print "<BR><b>Output</b><br><br>";
|
||||
if($response->isError())
|
||||
{
|
||||
$response->printError();
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $response->getResult();
|
||||
$response->printData($result);
|
||||
}
|
||||
|
||||
?>
|
188
plugins/registrar/_directi/response.class.php
Normal file
188
plugins/registrar/_directi/response.class.php
Normal file
@@ -0,0 +1,188 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This class is basically used to get formatted o/p.
|
||||
*/
|
||||
|
||||
class Response
|
||||
{
|
||||
/**
|
||||
* Holds an Error code.
|
||||
*
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
var $errorCode;
|
||||
|
||||
/**
|
||||
* Holds an Class which throws Error.
|
||||
*
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
var $errorClass;
|
||||
|
||||
/**
|
||||
* Holds an Error Description.
|
||||
*
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
var $errorMsg;
|
||||
|
||||
/**
|
||||
* Holds an Error Level.
|
||||
*
|
||||
* @access public
|
||||
* @var string
|
||||
*/
|
||||
var $errorLevel;
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
var $seperator = "#~#"; // seperator used in Error string.
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
var $data; // Holds data.
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*/
|
||||
var $error = false; //Holds error string.
|
||||
|
||||
/**
|
||||
* The constructor which takes data to be analysed as a parameter.
|
||||
*
|
||||
* @param string data to be analysed
|
||||
*
|
||||
*/
|
||||
function Response($value)
|
||||
{
|
||||
$this->data = $value;
|
||||
if(is_array($this->data))
|
||||
{
|
||||
$this->errorAnalyse();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @access private
|
||||
*
|
||||
*/
|
||||
// This function analyse the data for error.
|
||||
// If data consists of Error string it fills the variables $errorCode,$errorClass,$errorMsg $errorLevel and $error.
|
||||
|
||||
function errorAnalyse()
|
||||
{
|
||||
foreach($this->data as $key => $value)
|
||||
{
|
||||
if ($key == "faultstring")
|
||||
{
|
||||
$error = array();
|
||||
$counter = 1;
|
||||
$start = 0;
|
||||
|
||||
while($pos = strpos($value,$this->seperator,$start))
|
||||
{
|
||||
$error[$counter] = substr($value,$start,$pos-$start);
|
||||
$start = $pos+strlen($this->seperator);
|
||||
$counter = $counter+1;
|
||||
}
|
||||
$this->errorCode = $error[1];
|
||||
$this->errorClass = $error[2];
|
||||
$this->errorMsg = $error[3];
|
||||
$this->errorLevel = $error[4];
|
||||
$this->error = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* This function returns true/false depending upon whether data is an error string or not.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
*/
|
||||
function isError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function returns the data if no error occured .
|
||||
*
|
||||
* @return Any
|
||||
*
|
||||
*/
|
||||
function getResult()
|
||||
{
|
||||
if(!$this->error)
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "<b>Error Occured</b>.<br><br> Access Member Variables of the Response class for Error Description<br>";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This fuction print the Error in proper format.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
function printError()
|
||||
{
|
||||
if($this->error)
|
||||
{
|
||||
print "<b>Error Code:</b><br>" . $this->errorCode . "<br>";
|
||||
print "<b>Error Class:</b><br>" . $this->errorClass. "<br>";
|
||||
print "<b>Error Description:</b><br>" . $this->errorMsg . "<br>";
|
||||
print "<b>Error Level:</b><br>" . $this->errorLevel . "<br>";
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<b>No Error:</b> Call printData(\$dataToPrint) to print Result<br><br>";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This fuction print the passed data in proper format.
|
||||
*
|
||||
* @return void
|
||||
* @param string Data to print.
|
||||
*
|
||||
*/
|
||||
function printData($dataToPrint)
|
||||
{
|
||||
if(!$this->error)
|
||||
{
|
||||
if(is_array($dataToPrint))
|
||||
{
|
||||
foreach($dataToPrint as $key => $value)
|
||||
{
|
||||
if(is_array($value))
|
||||
{
|
||||
$this->printData($value);
|
||||
}
|
||||
else
|
||||
{
|
||||
print "$key ---><b> $value </b><br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
print "$dataToPrint<br>";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<b>Error Occured:</b> Call printError() to print Error<br><br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
406
plugins/registrar/_directi/wsdl/customer.wsdl
Normal file
406
plugins/registrar/_directi/wsdl/customer.wsdl
Normal file
@@ -0,0 +1,406 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions targetNamespace="com.logicboxes.foundation.sfnb.user.Customer" xmlns:impl="com.logicboxes.foundation.sfnb.user.Customer" xmlns:intf="com.logicboxes.foundation.sfnb.user.Customer" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.apache.org/xml-soap">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="Vector">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:anyType"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Vector" nillable="true" type="apachesoap:Vector"/>
|
||||
<complexType name="Map">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded">
|
||||
<complexType>
|
||||
<all>
|
||||
<element name="key" type="xsd:anyType"/>
|
||||
<element name="value" type="xsd:anyType"/>
|
||||
</all>
|
||||
</complexType>
|
||||
</element>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Map" nillable="true" type="apachesoap:Map"/>
|
||||
</schema>
|
||||
</wsdl:types>
|
||||
|
||||
<wsdl:message name="authenticateCustomerResponse">
|
||||
|
||||
<wsdl:part name="authenticateCustomerReturn" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="authenticateCustomerRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="username" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="passwd" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getCustomerIdRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerUsername" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getDetailsRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="option" type="apachesoap:Vector"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modDetailsResponse">
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getDetailsResponse">
|
||||
|
||||
<wsdl:part name="getDetailsReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="changePasswordRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="newPasswd" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getCustomerIdResponse">
|
||||
|
||||
<wsdl:part name="getCustomerIdReturn" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addCustomerResponse">
|
||||
|
||||
<wsdl:part name="addCustomerReturn" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modDetailsRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerUserName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="name" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="company" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langPref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address1" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address2" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address3" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="city" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="state" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="country" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="zip" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="altTelNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="altTelNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNo" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="changePasswordResponse">
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addCustomerRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerUserName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="customerPassword" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="name" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="company" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address1" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address2" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address3" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="city" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="state" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="country" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="zip" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="altTelNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="altTelNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="customerLangPref" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="Customer">
|
||||
|
||||
<wsdl:operation name="addCustomer" parameterOrder="userName password role langpref parentid customerUserName customerPassword name company address1 address2 address3 city state country zip telNoCc telNo altTelNoCc altTelNo faxNoCc faxNo customerLangPref">
|
||||
|
||||
<wsdl:input name="addCustomerRequest" message="impl:addCustomerRequest"/>
|
||||
|
||||
<wsdl:output name="addCustomerResponse" message="impl:addCustomerResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modDetails" parameterOrder="userName password role langpref parentid customerId customerUserName name company langPref address1 address2 address3 city state country zip telNoCc telNo altTelNoCc altTelNo faxNoCc faxNo">
|
||||
|
||||
<wsdl:input name="modDetailsRequest" message="impl:modDetailsRequest"/>
|
||||
|
||||
<wsdl:output name="modDetailsResponse" message="impl:modDetailsResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="changePassword" parameterOrder="userName password role langpref parentid customerId newPasswd">
|
||||
|
||||
<wsdl:input name="changePasswordRequest" message="impl:changePasswordRequest"/>
|
||||
|
||||
<wsdl:output name="changePasswordResponse" message="impl:changePasswordResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getDetails" parameterOrder="userName password role langpref parentid customerId option">
|
||||
|
||||
<wsdl:input name="getDetailsRequest" message="impl:getDetailsRequest"/>
|
||||
|
||||
<wsdl:output name="getDetailsResponse" message="impl:getDetailsResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getCustomerId" parameterOrder="userName password role langpref parentid customerUsername">
|
||||
|
||||
<wsdl:input name="getCustomerIdRequest" message="impl:getCustomerIdRequest"/>
|
||||
|
||||
<wsdl:output name="getCustomerIdResponse" message="impl:getCustomerIdResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="authenticateCustomer" parameterOrder="userName password role langpref parentid username passwd">
|
||||
|
||||
<wsdl:input name="authenticateCustomerRequest" message="impl:authenticateCustomerRequest"/>
|
||||
|
||||
<wsdl:output name="authenticateCustomerResponse" message="impl:authenticateCustomerResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:portType>
|
||||
|
||||
<wsdl:binding name="CustomerServiceSoapBinding" type="impl:Customer">
|
||||
|
||||
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
|
||||
<wsdl:operation name="addCustomer">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="addCustomerRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="addCustomerResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modDetails">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modDetailsRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modDetailsResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="changePassword">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="changePasswordRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="changePasswordResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getDetails">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="getDetailsRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="getDetailsResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getCustomerId">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="getCustomerIdRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="getCustomerIdResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="authenticateCustomer">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="authenticateCustomerRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="authenticateCustomerResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.user.Customer"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:binding>
|
||||
|
||||
<wsdl:service name="CustomerService">
|
||||
|
||||
<wsdl:port name="CustomerService" binding="impl:CustomerServiceSoapBinding">
|
||||
|
||||
<wsdlsoap:address location="http://prog.internal.directi.com:9090/anacreon/servlet/rpcrouter"/>
|
||||
|
||||
</wsdl:port>
|
||||
|
||||
</wsdl:service>
|
||||
|
||||
</wsdl:definitions>
|
971
plugins/registrar/_directi/wsdl/domain.wsdl
Normal file
971
plugins/registrar/_directi/wsdl/domain.wsdl
Normal file
@@ -0,0 +1,971 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions targetNamespace="com.logicboxes.foundation.sfnb.order.DomOrder" xmlns:impl="com.logicboxes.foundation.sfnb.order.DomOrder" xmlns:intf="com.logicboxes.foundation.sfnb.order.DomOrder" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="com.logicboxes.foundation.sfnb.order.DomOrder">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="ArrayOf_xsd_int">
|
||||
<complexContent>
|
||||
<restriction base="soapenc:Array">
|
||||
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/>
|
||||
</restriction>
|
||||
</complexContent>
|
||||
</complexType>
|
||||
<element name="ArrayOf_xsd_int" nillable="true" type="impl:ArrayOf_xsd_int"/>
|
||||
<complexType name="ArrayOf_xsd_string">
|
||||
<complexContent>
|
||||
<restriction base="soapenc:Array">
|
||||
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
|
||||
</restriction>
|
||||
</complexContent>
|
||||
</complexType>
|
||||
<element name="ArrayOf_xsd_string" nillable="true" type="impl:ArrayOf_xsd_string"/>
|
||||
</schema>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.apache.org/xml-soap">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="Map">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded">
|
||||
<complexType>
|
||||
<all>
|
||||
<element name="key" type="xsd:anyType"/>
|
||||
<element name="value" type="xsd:anyType"/>
|
||||
</all>
|
||||
</complexType>
|
||||
</element>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Map" nillable="true" type="apachesoap:Map"/>
|
||||
<complexType name="Vector">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:anyType"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Vector" nillable="true" type="apachesoap:Vector"/>
|
||||
</schema>
|
||||
</wsdl:types>
|
||||
|
||||
<wsdl:message name="deleteDomainRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="setCustomerLockRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="checkAvailabilityRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="domainName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="suggestAlternative" type="xsd:boolean"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getDetailsResponse">
|
||||
|
||||
<wsdl:part name="getDetailsReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getLockListRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyChildNameServerNameResponse">
|
||||
|
||||
<wsdl:part name="modifyChildNameServerNameReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="removeCustomerLockRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="checkAvailabilityResponse">
|
||||
|
||||
<wsdl:part name="checkAvailabilityReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyDomainSecretResponse">
|
||||
|
||||
<wsdl:part name="modifyDomainSecretReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="renewDomainRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="domainHash" type="apachesoap:Map"/>
|
||||
|
||||
<wsdl:part name="invoiceOption" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="deleteChildNameServerIpResponse">
|
||||
|
||||
<wsdl:part name="deleteChildNameServerIpReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="transferDomainRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="domainHash" type="apachesoap:Map"/>
|
||||
|
||||
<wsdl:part name="registrantContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="adminContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="techContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="billingContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="invoiceOption" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="listResponse">
|
||||
|
||||
<wsdl:part name="listReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="deleteChildNameServerIpRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="cns" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="ipAddress" type="apachesoap:Vector"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyDomainSecretRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="newSecret" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getDetailsRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="option" type="apachesoap:Vector"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="setCustomerLockResponse">
|
||||
|
||||
<wsdl:part name="setCustomerLockReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addChildNameServerResponse">
|
||||
|
||||
<wsdl:part name="addChildNameServerReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="transferDomainResponse">
|
||||
|
||||
<wsdl:part name="transferDomainReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getLockListResponse">
|
||||
|
||||
<wsdl:part name="getLockListReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyNameServerRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="nsHash" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="registerDomainResponse">
|
||||
|
||||
<wsdl:part name="registerDomainReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="listRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="impl:ArrayOf_xsd_int"/>
|
||||
|
||||
<wsdl:part name="resellerId" type="impl:ArrayOf_xsd_int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="impl:ArrayOf_xsd_int"/>
|
||||
|
||||
<wsdl:part name="showChildOrders" type="xsd:boolean"/>
|
||||
|
||||
<wsdl:part name="domainType" type="impl:ArrayOf_xsd_string"/>
|
||||
|
||||
<wsdl:part name="currentStatus" type="impl:ArrayOf_xsd_string"/>
|
||||
|
||||
<wsdl:part name="description" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="creationDTRangStart" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="creationDTRangEnd" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="endTimeRangStart" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="endTimeRangEnd" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="numOfRecordPerPage" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="pageNum" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderBy" type="impl:ArrayOf_xsd_string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="removeCustomerLockResponse">
|
||||
|
||||
<wsdl:part name="removeCustomerLockReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyChildNameServerNameRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="oldCns" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="newCns" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="registerDomainRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="domainHash" type="apachesoap:Map"/>
|
||||
|
||||
<wsdl:part name="ns" type="apachesoap:Vector"/>
|
||||
|
||||
<wsdl:part name="registrantContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="adminContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="techContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="billingContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="invoiceOption" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyChildNameServerIpRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="cns" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="oldIp" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="newIp" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyContactResponse">
|
||||
|
||||
<wsdl:part name="modifyContactReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="deleteDomainResponse">
|
||||
|
||||
<wsdl:part name="deleteDomainReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="renewDomainResponse">
|
||||
|
||||
<wsdl:part name="renewDomainReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyContactRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="registrantContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="adminContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="techContactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="billingContactId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addChildNameServerRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="cns" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="ipAddress" type="apachesoap:Vector"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyNameServerResponse">
|
||||
|
||||
<wsdl:part name="modifyNameServerReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modifyChildNameServerIpResponse">
|
||||
|
||||
<wsdl:part name="modifyChildNameServerIpReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="Domain">
|
||||
|
||||
<wsdl:operation name="list" parameterOrder="userName password role langpref parentid orderId resellerId customerId showChildOrders domainType currentStatus description creationDTRangStart creationDTRangEnd endTimeRangStart endTimeRangEnd numOfRecordPerPage pageNum orderBy">
|
||||
|
||||
<wsdl:input name="listRequest" message="impl:listRequest"/>
|
||||
|
||||
<wsdl:output name="listResponse" message="impl:listResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getDetails" parameterOrder="userName password role langpref parentid orderId option">
|
||||
|
||||
<wsdl:input name="getDetailsRequest" message="impl:getDetailsRequest"/>
|
||||
|
||||
<wsdl:output name="getDetailsResponse" message="impl:getDetailsResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="checkAvailability" parameterOrder="userName password role langpref parentid domainName suggestAlternative">
|
||||
|
||||
<wsdl:input name="checkAvailabilityRequest" message="impl:checkAvailabilityRequest"/>
|
||||
|
||||
<wsdl:output name="checkAvailabilityResponse" message="impl:checkAvailabilityResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="registerDomain" parameterOrder="userName password role langpref parentid domainHash ns registrantContactId adminContactId techContactId billingContactId customerId invoiceOption">
|
||||
|
||||
<wsdl:input name="registerDomainRequest" message="impl:registerDomainRequest"/>
|
||||
|
||||
<wsdl:output name="registerDomainResponse" message="impl:registerDomainResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="transferDomain" parameterOrder="userName password role langpref parentid domainHash registrantContactId adminContactId techContactId billingContactId customerId invoiceOption">
|
||||
|
||||
<wsdl:input name="transferDomainRequest" message="impl:transferDomainRequest"/>
|
||||
|
||||
<wsdl:output name="transferDomainResponse" message="impl:transferDomainResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="renewDomain" parameterOrder="userName password role langpref parentid domainHash invoiceOption">
|
||||
|
||||
<wsdl:input name="renewDomainRequest" message="impl:renewDomainRequest"/>
|
||||
|
||||
<wsdl:output name="renewDomainResponse" message="impl:renewDomainResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyNameServer" parameterOrder="userName password role langpref parentid orderId nsHash">
|
||||
|
||||
<wsdl:input name="modifyNameServerRequest" message="impl:modifyNameServerRequest"/>
|
||||
|
||||
<wsdl:output name="modifyNameServerResponse" message="impl:modifyNameServerResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="addChildNameServer" parameterOrder="userName password role langpref parentid orderId cns ipAddress">
|
||||
|
||||
<wsdl:input name="addChildNameServerRequest" message="impl:addChildNameServerRequest"/>
|
||||
|
||||
<wsdl:output name="addChildNameServerResponse" message="impl:addChildNameServerResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyChildNameServerName" parameterOrder="userName password role langpref parentid orderId oldCns newCns">
|
||||
|
||||
<wsdl:input name="modifyChildNameServerNameRequest" message="impl:modifyChildNameServerNameRequest"/>
|
||||
|
||||
<wsdl:output name="modifyChildNameServerNameResponse" message="impl:modifyChildNameServerNameResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyChildNameServerIp" parameterOrder="userName password role langpref parentid orderId cns oldIp newIp">
|
||||
|
||||
<wsdl:input name="modifyChildNameServerIpRequest" message="impl:modifyChildNameServerIpRequest"/>
|
||||
|
||||
<wsdl:output name="modifyChildNameServerIpResponse" message="impl:modifyChildNameServerIpResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="deleteChildNameServerIp" parameterOrder="userName password role langpref parentid orderId cns ipAddress">
|
||||
|
||||
<wsdl:input name="deleteChildNameServerIpRequest" message="impl:deleteChildNameServerIpRequest"/>
|
||||
|
||||
<wsdl:output name="deleteChildNameServerIpResponse" message="impl:deleteChildNameServerIpResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyContact" parameterOrder="userName password role langpref parentid orderId registrantContactId adminContactId techContactId billingContactId">
|
||||
|
||||
<wsdl:input name="modifyContactRequest" message="impl:modifyContactRequest"/>
|
||||
|
||||
<wsdl:output name="modifyContactResponse" message="impl:modifyContactResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="deleteDomain" parameterOrder="userName password role langpref parentid orderId">
|
||||
|
||||
<wsdl:input name="deleteDomainRequest" message="impl:deleteDomainRequest"/>
|
||||
|
||||
<wsdl:output name="deleteDomainResponse" message="impl:deleteDomainResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyDomainSecret" parameterOrder="userName password role langpref parentid orderId newSecret">
|
||||
|
||||
<wsdl:input name="modifyDomainSecretRequest" message="impl:modifyDomainSecretRequest"/>
|
||||
|
||||
<wsdl:output name="modifyDomainSecretResponse" message="impl:modifyDomainSecretResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="setCustomerLock" parameterOrder="userName password role langpref parentid orderId">
|
||||
|
||||
<wsdl:input name="setCustomerLockRequest" message="impl:setCustomerLockRequest"/>
|
||||
|
||||
<wsdl:output name="setCustomerLockResponse" message="impl:setCustomerLockResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="removeCustomerLock" parameterOrder="userName password role langpref parentid orderId">
|
||||
|
||||
<wsdl:input name="removeCustomerLockRequest" message="impl:removeCustomerLockRequest"/>
|
||||
|
||||
<wsdl:output name="removeCustomerLockResponse" message="impl:removeCustomerLockResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getLockList" parameterOrder="userName password role langpref parentid orderId">
|
||||
|
||||
<wsdl:input name="getLockListRequest" message="impl:getLockListRequest"/>
|
||||
|
||||
<wsdl:output name="getLockListResponse" message="impl:getLockListResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:portType>
|
||||
|
||||
<wsdl:binding name="DomainServiceSoapBinding" type="impl:Domain">
|
||||
|
||||
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
|
||||
<wsdl:operation name="list">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="listRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="listResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getDetails">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="getDetailsRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="getDetailsResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="checkAvailability">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="checkAvailabilityRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="checkAvailabilityResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="registerDomain">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="registerDomainRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="registerDomainResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="transferDomain">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="transferDomainRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="transferDomainResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="renewDomain">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="renewDomainRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="renewDomainResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyNameServer">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modifyNameServerRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modifyNameServerResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="addChildNameServer">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="addChildNameServerRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="addChildNameServerResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyChildNameServerName">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modifyChildNameServerNameRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modifyChildNameServerNameResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyChildNameServerIp">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modifyChildNameServerIpRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modifyChildNameServerIpResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="deleteChildNameServerIp">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="deleteChildNameServerIpRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="deleteChildNameServerIpResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyContact">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modifyContactRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modifyContactResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="deleteDomain">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="deleteDomainRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="deleteDomainResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="modifyDomainSecret">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modifyDomainSecretRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modifyDomainSecretResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="setCustomerLock">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="setCustomerLockRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="setCustomerLockResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="removeCustomerLock">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="removeCustomerLockRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="removeCustomerLockResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getLockList">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="getLockListRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="getLockListResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomOrder"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:binding>
|
||||
|
||||
<wsdl:service name="DomainService">
|
||||
|
||||
<wsdl:port name="DomainService" binding="impl:DomainServiceSoapBinding">
|
||||
|
||||
<wsdlsoap:address location="http://www.myorderbox.com:9090/anacreon/servlet/rpcrouter"/>
|
||||
|
||||
</wsdl:port>
|
||||
|
||||
</wsdl:service>
|
||||
|
||||
</wsdl:definitions>
|
433
plugins/registrar/_directi/wsdl/domaincontact.wsdl
Normal file
433
plugins/registrar/_directi/wsdl/domaincontact.wsdl
Normal file
@@ -0,0 +1,433 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions targetNamespace="com.logicboxes.foundation.sfnb.order.DomContact" xmlns:impl="com.logicboxes.foundation.sfnb.order.DomContact" xmlns:intf="com.logicboxes.foundation.sfnb.order.DomContact" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="com.logicboxes.foundation.sfnb.order.DomContact">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="ArrayOf_xsd_int">
|
||||
<complexContent>
|
||||
<restriction base="soapenc:Array">
|
||||
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/>
|
||||
</restriction>
|
||||
</complexContent>
|
||||
</complexType>
|
||||
<element name="ArrayOf_xsd_int" nillable="true" type="impl:ArrayOf_xsd_int"/>
|
||||
<complexType name="ArrayOf_xsd_string">
|
||||
<complexContent>
|
||||
<restriction base="soapenc:Array">
|
||||
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
|
||||
</restriction>
|
||||
</complexContent>
|
||||
</complexType>
|
||||
<element name="ArrayOf_xsd_string" nillable="true" type="impl:ArrayOf_xsd_string"/>
|
||||
</schema>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.apache.org/xml-soap">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="Map">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded">
|
||||
<complexType>
|
||||
<all>
|
||||
<element name="key" type="xsd:anyType"/>
|
||||
<element name="value" type="xsd:anyType"/>
|
||||
</all>
|
||||
</complexType>
|
||||
</element>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Map" nillable="true" type="apachesoap:Map"/>
|
||||
<complexType name="Vector">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:anyType"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Vector" nillable="true" type="apachesoap:Vector"/>
|
||||
</schema>
|
||||
</wsdl:types>
|
||||
|
||||
<wsdl:message name="listNamesRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addDefaultContactRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addDefaultContactResponse">
|
||||
|
||||
<wsdl:part name="addDefaultContactReturn" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="listRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="contactId" type="impl:ArrayOf_xsd_int"/>
|
||||
|
||||
<wsdl:part name="currentStatus" type="impl:ArrayOf_xsd_string"/>
|
||||
|
||||
<wsdl:part name="creationDTRangStart" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="creationDTRangEnd" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="contactName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="companyName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="emailAddr" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="numOfRecordPerPage" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="pageNum" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="orderBy" type="impl:ArrayOf_xsd_string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getDetailsResponse">
|
||||
|
||||
<wsdl:part name="getDetailsReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addResponse">
|
||||
|
||||
<wsdl:part name="addReturn" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="contactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="name" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="company" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="emailAddr" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address1" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address2" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address3" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="city" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="state" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="country" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="zip" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNo" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="addRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="name" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="company" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="emailAddr" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address1" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address2" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="address3" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="city" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="state" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="country" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="zip" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="telNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNoCc" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="faxNo" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="modResponse">
|
||||
|
||||
<wsdl:part name="modReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="listNamesResponse">
|
||||
|
||||
<wsdl:part name="listNamesReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="listResponse">
|
||||
|
||||
<wsdl:part name="listReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getDetailsRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="contactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="option" type="apachesoap:Vector"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="DomainContact">
|
||||
|
||||
<wsdl:operation name="add" parameterOrder="userName password role langpref parentid name company emailAddr address1 address2 address3 city state country zip telNoCc telNo faxNoCc faxNo customerId">
|
||||
|
||||
<wsdl:input name="addRequest" message="impl:addRequest"/>
|
||||
|
||||
<wsdl:output name="addResponse" message="impl:addResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="list" parameterOrder="userName password role langpref parentid customerId contactId currentStatus creationDTRangStart creationDTRangEnd contactName companyName emailAddr numOfRecordPerPage pageNum orderBy">
|
||||
|
||||
<wsdl:input name="listRequest" message="impl:listRequest"/>
|
||||
|
||||
<wsdl:output name="listResponse" message="impl:listResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="mod" parameterOrder="userName password role langpref parentid contactId name company emailAddr address1 address2 address3 city state country zip telNoCc telNo faxNoCc faxNo">
|
||||
|
||||
<wsdl:input name="modRequest" message="impl:modRequest"/>
|
||||
|
||||
<wsdl:output name="modResponse" message="impl:modResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getDetails" parameterOrder="userName password role langpref parentid contactId option">
|
||||
|
||||
<wsdl:input name="getDetailsRequest" message="impl:getDetailsRequest"/>
|
||||
|
||||
<wsdl:output name="getDetailsResponse" message="impl:getDetailsResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="addDefaultContact" parameterOrder="userName password role langpref parentid customerId">
|
||||
|
||||
<wsdl:input name="addDefaultContactRequest" message="impl:addDefaultContactRequest"/>
|
||||
|
||||
<wsdl:output name="addDefaultContactResponse" message="impl:addDefaultContactResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="listNames" parameterOrder="userName password role langpref parentid customerId">
|
||||
|
||||
<wsdl:input name="listNamesRequest" message="impl:listNamesRequest"/>
|
||||
|
||||
<wsdl:output name="listNamesResponse" message="impl:listNamesResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:portType>
|
||||
|
||||
<wsdl:binding name="DomainContactServiceSoapBinding" type="impl:DomainContact">
|
||||
|
||||
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
|
||||
<wsdl:operation name="add">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="addRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="addResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="list">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="listRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="listResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="mod">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="modRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="modResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getDetails">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="getDetailsRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="getDetailsResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="addDefaultContact">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="addDefaultContactRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="addDefaultContactResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="listNames">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="listNamesRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="listNamesResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.DomContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:binding>
|
||||
|
||||
<wsdl:service name="DomainContactService">
|
||||
|
||||
<wsdl:port name="DomainContactService" binding="impl:DomainContactServiceSoapBinding">
|
||||
|
||||
<wsdlsoap:address location="http://www.foundationapi.com:9090/anacreon/servlet/rpcrouter"/>
|
||||
|
||||
</wsdl:port>
|
||||
|
||||
</wsdl:service>
|
||||
|
||||
</wsdl:definitions>
|
75
plugins/registrar/_directi/wsdl/domainuscontact.wsdl
Normal file
75
plugins/registrar/_directi/wsdl/domainuscontact.wsdl
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions targetNamespace="com.logicboxes.foundation.sfnb.order.domus.DomUsContact" xmlns:impl="com.logicboxes.foundation.sfnb.order.domus.DomUsContact" xmlns:intf="com.logicboxes.foundation.sfnb.order.domus.DomUsContact" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types/>
|
||||
|
||||
<wsdl:message name="setContactDetailsRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="contactId" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="applicationPurpose" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="nexusCategory" type="xsd:string"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="setContactDetailsResponse">
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="UsDomainContact">
|
||||
|
||||
<wsdl:operation name="setContactDetails" parameterOrder="userName password role langpref parentid contactId applicationPurpose nexusCategory">
|
||||
|
||||
<wsdl:input name="setContactDetailsRequest" message="impl:setContactDetailsRequest"/>
|
||||
|
||||
<wsdl:output name="setContactDetailsResponse" message="impl:setContactDetailsResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:portType>
|
||||
|
||||
<wsdl:binding name="UsDomainContactServiceSoapBinding" type="impl:UsDomainContact">
|
||||
|
||||
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
|
||||
<wsdl:operation name="setContactDetails">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="setContactDetailsRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.domus.DomUsContact"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="setContactDetailsResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.order.domus.DomUsContact"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:binding>
|
||||
|
||||
<wsdl:service name="UsDomainContactService">
|
||||
|
||||
<wsdl:port name="UsDomainContactService" binding="impl:UsDomainContactServiceSoapBinding">
|
||||
|
||||
<wsdlsoap:address location="http://www.foundationapi.com:9090/anacreon/servlet/rpcrouter"/>
|
||||
|
||||
</wsdl:port>
|
||||
|
||||
</wsdl:service>
|
||||
|
||||
</wsdl:definitions>
|
151
plugins/registrar/_directi/wsdl/fund.wsdl
Normal file
151
plugins/registrar/_directi/wsdl/fund.wsdl
Normal file
@@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions targetNamespace="com.logicboxes.foundation.sfnb.management.Fund" xmlns:impl="com.logicboxes.foundation.sfnb.management.Fund" xmlns:intf="com.logicboxes.foundation.sfnb.management.Fund" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="com.logicboxes.foundation.sfnb.management.Fund">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="ArrayOf_xsd_int">
|
||||
<complexContent>
|
||||
<restriction base="soapenc:Array">
|
||||
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/>
|
||||
</restriction>
|
||||
</complexContent>
|
||||
</complexType>
|
||||
<element name="ArrayOf_xsd_int" nillable="true" type="impl:ArrayOf_xsd_int"/>
|
||||
</schema>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.apache.org/xml-soap">
|
||||
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
|
||||
<complexType name="Map">
|
||||
<sequence>
|
||||
<element name="item" minOccurs="0" maxOccurs="unbounded">
|
||||
<complexType>
|
||||
<all>
|
||||
<element name="key" type="xsd:anyType"/>
|
||||
<element name="value" type="xsd:anyType"/>
|
||||
</all>
|
||||
</complexType>
|
||||
</element>
|
||||
</sequence>
|
||||
</complexType>
|
||||
<element name="Map" nillable="true" type="apachesoap:Map"/>
|
||||
</schema>
|
||||
</wsdl:types>
|
||||
|
||||
<wsdl:message name="payCustomerTransactionRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="invoiceTransIdArr" type="impl:ArrayOf_xsd_int"/>
|
||||
|
||||
<wsdl:part name="debitNoteIdArr" type="impl:ArrayOf_xsd_int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getCustomerAvailableBalanceRequest">
|
||||
|
||||
<wsdl:part name="userName" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="password" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="role" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="langpref" type="xsd:string"/>
|
||||
|
||||
<wsdl:part name="parentid" type="xsd:int"/>
|
||||
|
||||
<wsdl:part name="customerId" type="xsd:int"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getCustomerAvailableBalanceResponse">
|
||||
|
||||
<wsdl:part name="getCustomerAvailableBalanceReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="payCustomerTransactionResponse">
|
||||
|
||||
<wsdl:part name="payCustomerTransactionReturn" type="apachesoap:Map"/>
|
||||
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="Fund">
|
||||
|
||||
<wsdl:operation name="payCustomerTransaction" parameterOrder="userName password role langpref parentid invoiceTransIdArr debitNoteIdArr">
|
||||
|
||||
<wsdl:input name="payCustomerTransactionRequest" message="impl:payCustomerTransactionRequest"/>
|
||||
|
||||
<wsdl:output name="payCustomerTransactionResponse" message="impl:payCustomerTransactionResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getCustomerAvailableBalance" parameterOrder="userName password role langpref parentid customerId">
|
||||
|
||||
<wsdl:input name="getCustomerAvailableBalanceRequest" message="impl:getCustomerAvailableBalanceRequest"/>
|
||||
|
||||
<wsdl:output name="getCustomerAvailableBalanceResponse" message="impl:getCustomerAvailableBalanceResponse"/>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:portType>
|
||||
|
||||
<wsdl:binding name="FundServiceSoapBinding" type="impl:Fund">
|
||||
|
||||
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
|
||||
<wsdl:operation name="payCustomerTransaction">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="payCustomerTransactionRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.management.Fund"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="payCustomerTransactionResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.management.Fund"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getCustomerAvailableBalance">
|
||||
|
||||
<wsdlsoap:operation soapAction=""/>
|
||||
|
||||
<wsdl:input name="getCustomerAvailableBalanceRequest">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.management.Fund"/>
|
||||
|
||||
</wsdl:input>
|
||||
|
||||
<wsdl:output name="getCustomerAvailableBalanceResponse">
|
||||
|
||||
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="com.logicboxes.foundation.sfnb.management.Fund"/>
|
||||
|
||||
</wsdl:output>
|
||||
|
||||
</wsdl:operation>
|
||||
|
||||
</wsdl:binding>
|
||||
|
||||
<wsdl:service name="FundService">
|
||||
|
||||
<wsdl:port name="FundService" binding="impl:FundServiceSoapBinding">
|
||||
|
||||
<wsdlsoap:address location="http://www.foundationapi.com:9090/anacreon/servlet/rpcrouter"/>
|
||||
|
||||
</wsdl:port>
|
||||
|
||||
</wsdl:service>
|
||||
|
||||
</wsdl:definitions>
|
Reference in New Issue
Block a user