Echo


A service that returns the value passed as argument.

WEBSERVICE : http://webservices.vortexauction.com/functions.cfc?wsdl METHOD : Echo ARGUMENT : AUCTIONEER_ID [Numeric] Required | Your auctioneer ID ACCESS_KEY [String] Required | Your web service access key VALUE [String] Required | A test value that will be returned in the response
RETURNS : EchoResponse ON FAILURE : <?xml version="1.0" encoding="utf-8"?> <EchoResponse> <Error> <Code>[Error code]</Code> <Message>[Error message]</Message> </Error> </EchoResponse> ON SUCCESS : <?xml version="1.0" encoding="utf-8"?> <EchoResponse> <Value>[Value supplied in arguments]</Value> </EchoResponse>
ERROR CODES: 00 = An unexpected error occured. 01 = Missing or invalid arguments. 02 = Invalid auctioneer ID and/or access key.
EXAMPLES : COLDFUSION : <cfinvoke webservice="http://webservices.vortexauction.com/functions.cfc?wsdl" method="Echo" returnvariable="result"> <cfinvokeargument name="Auctioneer_ID" value="0" /> <cfinvokeargument name="Access_Key" value="..." /> <cfinvokeargument name="Value" value="..." /> </cfinvoke> <cfdump var=#result# /> PHP : class Echo { function Echo($Auctioneer_ID, $Access_Key, $Value) { $this->Auctioneer_ID = $Auctioneer_ID; $this->Access_Key = $Access_Key; $this->Value = $Value; } } $soapClient = new SoapClient("http://webservices.vortexauction.com/functions.cfc?wsdl"); $params = new Echo(0, "...", "..."); $result = $soapClient->Echo($params); var_dump($result);
TEST FORM: