Flex 远程服务详细模式?
有没有办法在使用 Flex 进行远程服务调用期间显示或记录详细通信? 特别是有没有一种方法可以在服务调用发生时获取有关服务调用的非常详细的信息。 有点像从命令行跟踪 HTTP 标头。 基本上,在结果或故障事件发生之前深入了解服务器事务?
我假设必须有一种方便的方法来公开 IP 地址、DNS 查找、跳数、延迟、HTTP 标头、通过网络传输的 AMF 数据等内容。
Is there a way to display or log verbose communication DURING a remote service call with flex? In particular is there a way to get very detailed information about the service call while it is happening. Kind of like tracing HTTP headers from a command line. Basically, getting insight into the server transaction before the result or fault events occur?
I am assuming there must be a convenient way to expose stuff like IP addresses, DNS lookups, number of hops, latency, HTTP headers, AMF data as it is coming over the wire, etc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 http://www.getcharles.com 这是非常非常棒的 mac 和 pc 代理工具,将向您展示一切Flex 和服务器之间传输的数据。
它是我的好朋友,它不仅允许您查看所有 HTTP 详细信息、标头等。它还将显示 AMF 数据的详细信息,甚至允许您编辑这些请求(包括 AMF 数据)并发送再次发送到服务器。 如果您只想让服务器代码正常工作,这非常有用。
它甚至能够捕获响应并允许您对其进行编辑(稍微棘手一些),但功能非常强大。
它是共享软件,因此您可以尝试一下,但它*会节省您的时间。 我可能每天都会使用它,它很值得它的价格,可以轻松节省开发时间。
干杯,约翰。
Use http://www.getcharles.com it's very very awesome mac and pc proxy tool that will show you all the data going between flex and the server.
Its made be a good friend of mine but not only does it allow you to see all the HTTP details, headers etc. It will also show the details of AMF data and even allow you to edit these requests (including the AMF data) and send it to the server again. This is great if you want to just get the server code working.
It even has the ability to capture a response and allow you to edit this (slightly more tricky) but very powerful.
It is shareware so you can try it but it *will save you hours. I use it probably daily and it is well worth it's price in saved development time easily.
Cheers, John.
查尔斯是必须的。
您可以将 TraceTarget 放入主 mx:Application 中,并从 Flex 中的大多数远程处理类获取大量数据:
它将您的应用程序设置为日志记录目标并跟踪到控制台。
阅读您的评论,如果您想要一种有趣的非调试方式来显示数据,Arthropod 是一个很酷的AIR'您可以追踪到的控制台。
Charles is a must have.
You can put TraceTarget in you main mx:Application and get a lot of data back from most of the remoting classes in Flex:
It sets your app as the logging target and traces to the console.
Read your comment, if you want an interesting non-debug way to display data, Arthropod is a cool AIR 'console' that you can trace out to.