• Bobby
    • February 13th, 2009

    I was wondering how to do this and just pass a string of ArrayCollection values? I am passing a string(comma-delimited) to a wsdl
    I want the output to look like the following.

    i.e: myStr=”[“1″,”2”,3,4,5]~[“one,”two”,”three”, “four”, “five”]~[1,2,3,4,5]~[“one,”two”,”three”, “four”, “five”]

    I am tracing myStr and all I get is [object Object]~[object Object]~[object Object]~[object Object]

    Any help would be greatly appreciated I’ve been on this for two days now.

    Sincerely,
    Stuck in deep gumbo.

    • The below code is used for decoding String into Object, I hope if you send objects using this way and decode them it will solve your problem
      private function resultHandler(event:ResultEvent):void
      {
      var xmlDoc:XMLDocument = new XMLDocument(String(event.result));
      var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
      var resultObj:Object = decoder.decodeXML(xmlDoc);
      }

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: