My favorites | Sign in
Logo
          
Activity: Medium
Code license:
GNU General Public License v3
Labels:
webservice, as3, flash, cs3, operation, wsdl
Blogs:
wellconsidered
External links:
wellconsidered
Feeds:
Project feeds

Open-source Webservice class implementation in AS3 for Flash CS3 IDE.

Download *.mxp extension here.

Browse source here.

Example code:

import be.wellconsidered.services.WebService;
import be.wellconsidered.services.Operation;

import be.wellconsidered.services.events.OperationEvent;

var ws = new WebService("http://www.webservicex.net/WeatherForecast.asmx?wsdl");
var op:Operation = new Operation(ws);

op.addEventListener(OperationEvent.COMPLETE, onResult);
op.addEventListener(OperationEvent.FAILED, onFault);

op.GetWeatherByPlaceName("new york");  

function onResult(e:OperationEvent):void { trace(e.data); }
function onFault(e:OperationEvent):void { trace(e.data); }








Powered by Google Project Hosting