2 Replies Latest reply on Feb 8, 2008 5:50 AM by

    Web Service

      I have created a webservice with java.The web service sends an object which holds two array string arrays.
      when i test the service on sun Application server 9.1, it gives the following SOAP response format with Test on Server,

      <?xml version="1.0" encoding="UTF-8"?>
      <S:Envelope xmlns:S=" http://schemas.xmlsoap.org/soap/envelope/">
      <S:Body>
      <ns2:showResponse xmlns:ns2=" http://data/">
      <return>
      <empnm>Ravi</empnm>
      <empnm>Raj</empnm>
      <empnm>Ram</empnm>
      <empnm>Mahesh</empnm>
      <empid>101</empid>
      <empid>102</empid>
      <empid>103</empid>
      <empid>104</empid>
      </return>
      </ns2:showResponse>
      </S:Body>
      </S:Envelope>

      But when I am accessing this webservice in flex ...the result is an object with two arraycollection , and each element in array collection is also an arraycollection itself which holds nothing that is..empty elements!

      So how can I handle this result object of webservice, and why It is having empty string elements?