Send Multipart XML using FLEX/Actionscript to web service
I need to send a Multipart XML POST request to a web service using FLEX/Actionscript. I would prefer to send it using FLEX, but Actionscript would work as wel开发者_开发知识库l.
Anybody know how to do that?
Use the HTTPService class and Google helps a lot too.
This is typically done using the FileReference class / upload method. You can attach additional values to a parameter object. By the way, Flex components (MXML) get rendered to Actionscript when you compile, so either way, you're doing it with Actionscript.
精彩评论