0 Replies Latest reply on Feb 26, 2009 12:07 PM by mountainman99

    Help passing arguments to WebService

    mountainman99
      I'm calling into some WebServices, and for all of the ones with just a few parameters, everything is working great. There is one WebService I have though that is setup to store a record in the database. The object in the schema has several fields, some ints and a date. Here's what my object should look like when my webservice gets it:

      <arg0>
      <entryId>1</entryId>
      <cycleId>1</cycleId>
      <colorId>1</colorId>
      <groupId>1</groupId>
      <sortId>3</sortId>
      <date>2008-12-18T07:00:00Z</date>
      </arg0>

      I sniffed the traffic though, and that's not what I'm getting. What I'm getting is the following:

      <arg0>
      <colorId>1</colorId>
      <cycleId>1</cycleId>
      <date>2008-12-18T07:00:00Z</date>
      <entryId>1</entryId>
      </arg0>

      I have no problem with flex alphabetizing the fields in my object, but why is it limiting me to 4? Is this limitation in place because I'm using the flex builder demo? I've tried using the <mx:request><arg0>...</arg0></mx:request> way, and I've also created an object with the fields above, and put that in an array, and it still limits me the exact same way. What is going on?

      Thanks in advance!