这是从 netConnection.Call 读取响应的类:
public class getCompleteParkOfUser : IPendingServiceCallback
{
public void ResultReceived(IPendingServiceCall call)
{
object result = call.Result;
MessageBox.Show("Server response: " + result);
ArrayCollection items = result as ArrayCollection;
foreach (object item in items)
{
MessageBox.Show("");
}
}
}
结果很好:http ://scr.hu/0tgp/6yxdi 但结果不会保存为 ArrayCollection: http ://scr.hu/0tgp/ovghm 实际上我无法读取响应。
响应/请求是 AMF