You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/03/29 18:24:26 UTC
[GitHub] [royale-asjs] greg-dove commented on issue #404: RemoteObject Calls
FaultHandler in Some Cases Need Help
greg-dove commented on issue #404: RemoteObject Calls FaultHandler in Some Cases Need Help
URL: https://github.com/apache/royale-asjs/issues/404#issuecomment-478101911
Just adding a quick comment for now:
`org.apache.royale.reflection.describeType(shmCompanySetupVO) as XML`
The above will always be null in royale because describeType in royale does not return XML, it returns a TypeDefinition instance (usually) so if this is causing an error somewhere in the result processing it could be the cause of the problem.
Based on descriptions provided ('works in isolated code'), it does not sound like deserialization errors.
The fault handling support in the AMFNetConnection class does tend to swallow error details, so I think this is probably where the information loss is happening for the resulting fault. Or maybe it is faulting from the resulthandler call when it should ignore errors that happen during that. It probably needs some additional work in that part. That would be my guess where things are not working right, so checking the 'reflection' argument processing inside shmUtil.setForm method might be a good start. It should now use royale TypeDefinition instead of XML.
I will be away from my desk a lot this weekend, but I can check back occasionally. If I can help, I will.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services