Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 86082 invoked by uid 500); 19 May 2003 18:32:50 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 86071 invoked from network); 19 May 2003 18:32:50 -0000 X-Sent: 19 May 2003 18:32:54 GMT From: "Michal Dorsett" To: Subject: Returning objects with array members Date: Mon, 19 May 2003 11:32:49 -0700 Message-ID: <000b01c31e35$0d8e5ec0$6700a8c0@Michal> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a web service that exposes the following interface method: public GetBranches_Ret getBranches() GetBranches_Ret is defined as follows: public class GetBranches_Ret { public ReturnStatus status; public Branch [] branches; public GetBranches_Ret() {} } ============================================================ The following lines in my Server_config.wsdd define the (de)serializer factories that relate to this method and return object: ... ============================================================ The following is a snippet from the SOAP response generated when a user invokes my service calling getBranches: - - - 0 ============================================================ Previously we used Sun's SOAP toolkit, which returns what seems to be a more appropriate response: - - - 0 - ============================================================ My problem is: The response generated by Axis does not seem to encode the branches array as an array, but rather as an ad-hoc list of objects stored in the return object. If there were 50 branches they would have been returned as 50 individual objects instead of being wrapped in an array. Can someone show me how to set up my Server_config.wsdd so the array is returned as an array wrapping branch objects? Thanks in advance, Michal Dorsett