0 Replies Latest reply on May 17, 2009 8:51 AM by renevanmil

    Generated web service proxy returns null when array contains exactly 1 object

    renevanmil

      Hi,

       

      I have imported a WSDL from a webservice which returns an array of User objects.

      The generated proxy works fine when the response array contains 2 or more objects. However, when the array contains exactly one object, the proxy returns null.

      I've tried calling the web service without using the generated code, and then the response is not null when the array only contains one object.

      So to me it looks like a bug in the generated code.

      Does anyone know if there's a workaround for this problem?

       

      Thanks,

      René