0 Replies Latest reply on Apr 26, 2010 6:56 PM by TonyHatch

    Why can't Flex decode this response from Axis2?


      Flex 4 is having a problem decoding the message below.  Specifically, it seems to choke on the first element called "ct".  I've traced the problem into "XMLDecoder.as", and the following test fails:

                  // If no name to match was passed, we take the next element, regardless
                  // of name. If name is unqualified we match local names only.
                  if (name == null || valueElements[i].name() == name
                      || ((name.uri == "" || name.uri == null)
                          && name.localName == valueElements[i].name().localName))
                      applicableValues += valueElements[i];


      I know this is probably a basic issue--maybe you could point me to some Flex documentation that would help me to understand the specifics of how Flex consumes web services.  Not to strong-arm anyone, but I am giving a presentation to 30-40 software engineers at our company in a few weeks.  The topic is "Practical Experience with RIA Technologies".  I'm evaluating Flex alongside others, and I need to get through these basic configuration issues so that I can really show Flex in its best light.  I'd be happy to pay for some "hand-holding", if that's what it takes.




      -Tony Hatch

      Life Technologies



      HTTP/1.1 200 OK
      Server: Apache-Coyote/1.1
      Content-Type: text/xml;charset=utf-8
      Transfer-Encoding: chunked
      Date: Tue, 27 Apr 2010 01:19:51 GMT


      <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getSimpleExperimentResultResponse xmlns="http://service.lifetech.com"><getSimpleExperimentResultReturn><ct>28.280773</ct><ctAverage>28.260696</ctAverage><ctMe dian>0.0</ctMedian><ctStddev>0.019628802</ctStddev><ctStderr>NaN</ctStderr><detectorName>R Nase P TAMRA</detectorName><quantity>2772.3655</quantity><quantityAverage>2807.5085</quantityAve rage><quantityStddev>0.0</quantityStddev><quantityStderr>0.0</quantityStderr><sampleName xsi:nil="true"/><task>UNKNOWN</task><wellNumber>3</wellNumber></getSimpleExperimentResult Return></getSimpleExperimentResultResponse></soapenv:Body></soapenv:Envelope>