I am currently developing an application with several HttpServices for reading XML data. The last changes i made were to move from a FlashVars orientated configuration to a xml file based one. When i start the application now i get twice the following error message:
[RPC Fault faultString="" faultCode="Server.Error.Request" faultDetail="null"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\4.0.0\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:345]
at mx.rpc::Responder/fault()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:68 ]
at mx.rpc::AsyncRequest/fault()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:113]
at DirectHTTPMessageResponder/errorHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:405]
After that the application works fine.
Any ideas how to prevent these messages from appearing?
Any hint would be great!
What function are you calling onComplete() ?
I suspect that your xml configuration file is not fully loaded when you're trying to do your HTTPServices calls: it could explain the 1st errors and why it's working fine after.