AS3访问WebService
代码 package Charlotte { import flash.events.Event; import flash.events.IOErrorEvent; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.net.URLRequestMethod; public class KitaWebServices{ // private var url:String = new String(); private var ns:String = new String(); private var soap:Namespace = new Namespace( " http://schemas.xmlsoap.org/soap/envelope/ " ); private var soapXML:XML = < soap:Envelope xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " xmlns:soap = " http://schemas