/**
* 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 - Xluo.as.
*/
package services.xluo
{
import com.adobe.fiber.core.model_internal;
import com.adobe.fiber.services.wrapper.WebServiceWrapper;
import com.adobe.serializers.utility.TypeUtility;
import mx.collections.ArrayCollection;
import mx.rpc.AbstractOperation;
import mx.rpc.AsyncToken;
import mx.rpc.soap.mxml.Operation;
import mx.rpc.soap.mxml.WebService;
import mx.rpc.xml.SchemaTypeRegistry;
[ExcludeClass]internal class _Super_Xluo extends com.adobe.fiber.services.wrapper.WebServiceWrapper
{
public function _Super_Xluo()
{
_serviceControl = new mx.rpc.soap.mxml.WebService();
mx.rpc.xml.SchemaTypeRegistry.getInstance().registerCollectionClass(new QName("http://tempuri.org/", "ArrayOfAnyType"), ArrayCollection);
var operations:Object = new Object();
var operation:mx.rpc.soap.mxml.Operation;
operation = new mx.rpc.soap.mxml.Operation(null, "add");
operation.resultType = String;
operations["add"] = operation;
operation = new mx.rpc.soap.mxml.Operation(null, "showList");
operation.resultElementType = Object;
operations["showList"] = operation;
operation = new mx.rpc.soap.mxml.Operation(null, "show");
operation.resultElementType = String;
operations["show"] = operation;
_serviceControl.operations = operations;
try
{
_serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;
}
catch (e: Error)
{ }
_serviceControl.service = "xluo";
_serviceControl.port = "xluoSoap";
wsdl = "http://222.73.47.32:88/xluo.asmx?wsdl";
model_internal::loadWSDLIfNecessary();
model_internal::initialize();
}
/**
* This method is a generated wrapper used to call the 'add' 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 add(title:String, content:String) : mx.rpc.AsyncToken
{
model_internal::loadWSDLIfNecessary();
var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("add");
var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(title,content) ;
return _internal_token;
}
/**
* This method is a generated wrapper used to call the 'showList' 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 showList() : mx.rpc.AsyncToken
{
model_internal::loadWSDLIfNecessary();
var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("showList");
var _internal_token:mx.rpc.AsyncToken = _internal_operation.send() ;
return _internal_token;
}
/**
* This method is a generated wrapper used to call the 'show' 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 show() : mx.rpc.AsyncToken
{
model_internal::loadWSDLIfNecessary();
var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("show");
var _internal_token:mx.rpc.AsyncToken = _internal_operation.send() ;
return _internal_token;
}
}
}