/**
* This is a generated class and is not intended for modfication. To customize behavior
* of this service wrapper you may modify the generated sub-class of this class - IpAddressSearchWebService.as.
*/
package services.ipaddresssearchwebservice
{
import com.adobe.fiber.core.model_internal;
import com.adobe.fiber.services.wrapper.WebServiceWrapper;
import com.adobe.serializers.utility.TypeUtility;
import mx.rpc.AbstractOperation;
import mx.rpc.AsyncToken;
import mx.rpc.soap.mxml.Operation;
import mx.rpc.soap.mxml.WebService;
[ExcludeClass]internal class _Super_IpAddressSearchWebService extends com.adobe.fiber.services.wrapper.WebServiceWrapper
{
public function _Super_IpAddressSearchWebService()
{
_serviceControl = new mx.rpc.soap.mxml.WebService();
var operations:Object = new Object();
var operation:mx.rpc.soap.mxml.Operation;
operation = new mx.rpc.soap.mxml.Operation(null, "getCountryCityByIp");
operation.resultElementType = String;
operations["getCountryCityByIp"] = operation;
_serviceControl.operations = operations;
try
{
_serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;
}
catch (e: Error)
{ }
_serviceControl.service = "IpAddressSearchWebService";
_serviceControl.port = "IpAddressSearchWebServiceSoap";
wsdl = "http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdl";
model_internal::loadWSDLIfNecessary();
model_internal::initialize();
}
/**
* This method is a generated wrapper used to call the 'getCountryCityByIp' operation. It returns an mx.rpc.AsyncToken whose
* result property will be populated with the result of the operation when the server response is received.
* To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
* You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
*
* @see mx.rpc.AsyncToken
* @see mx.rpc.CallResponder
*
* @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
*/
public function getCountryCityByIp(theIpAddress:String) : mx.rpc.AsyncToken
{
model_internal::loadWSDLIfNecessary();
var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getCountryCityByIp");
var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(theIpAddress) ;
return _internal_token;
}
}
}