well, the server side method needs to be built to accept the xml.  in our 
case, we found it easier to build webservice methods and pass it a single 
xml argument, rather than working with a servlet/.asp page to accept it as 
an http get/post.  I'm sure you could do it with httpService, but i havent 
personally done it that way.

At 10:32 AM 8/30/2006, mthielman11 wrote:

>do you mind me asking how.  We can not even get this very simple
>sample to work.
>
><?xml version="1.0" encoding="utf-8"?>
><mx:Application pageTitle="Flex 2 Style Explorer"
>xmlns:mx="http://www.adobe.com/2006/mxml"; width="100%" height="100%" >
>
>   <mx:HTTPService id="srvsave"
>url="http://0.0.0.4:8080/ZebraServer/store?a=b"; method="POST"
>resultFormat="e4x" contentType="application/xml" />
>
>         <mx:XML id="dataModel" format="e4x" >
>                 <physician>
>             <test>abc</test>
>         </physician>
>     </mx:XML>
>
>     <mx:Script>
>                 <![CDATA[
>                         import mx.controls.Alert;
>                         //public var xmldata =
>parentDocument.parentDocument.phyRequest.lastResult;
>
>                           private function storePhysician_Basics():void {
>                 srvsave.send(dataModel);
>             }
>                 ]]>
>         </mx:Script>
><mx:Button label="Save" click="storePhysician_Basics();"/>
>
></mx:Application>
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to