Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 40054 invoked from network); 5 Jul 2006 14:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 14:49:33 -0000 Received: (qmail 71360 invoked by uid 500); 5 Jul 2006 14:49:16 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 70965 invoked by uid 500); 5 Jul 2006 14:49:15 -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: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 70954 invoked by uid 99); 5 Jul 2006 14:49:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 07:49:14 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of amit.andhale@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 07:49:13 -0700 Received: by nf-out-0910.google.com with SMTP id x4so1312757nfb for ; Wed, 05 Jul 2006 07:48:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WuALNiEwdaF8HkOX190qGcbA0PUiSTEWHv+TXDV9p0lUwP9cy/R1RGH696lHbLjjseROwzqibt+fyisgCRXXEZiddPCrQO+jYGq4wWpl0l6j8NcdcyO6b2SGRysRYVfVNFy5os7jujMuwGPW4MzVrqoIxRaFp0bB3oBY5pCXBlA= Received: by 10.49.65.8 with SMTP id s8mr3963066nfk; Wed, 05 Jul 2006 07:48:51 -0700 (PDT) Received: by 10.48.208.10 with HTTP; Wed, 5 Jul 2006 07:48:51 -0700 (PDT) Message-ID: <497a65630607050748x546edd1fp5fc2141833a5074e@mail.gmail.com> Date: Wed, 5 Jul 2006 20:18:51 +0530 From: "Amit Andhale" To: axis-user@ws.apache.org Subject: Re: Need Help: Axis 1.3 Array Problem. In-Reply-To: <38b7b1cd0607050705v5dbfb1d8nef206ebaa39e6171@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_71947_3527091.1152110931389" References: <497a65630607040601s6de93e45x17545244fd4b0e15@mail.gmail.com> <497a65630607042341o55732fbav6878cbc3534ab96f@mail.gmail.com> <497a65630607050216o63a4b5f9ifd5d2c71ccf13ef6@mail.gmail.com> <497a65630607050608o78c6acf9x1b0dd1ed623181b3@mail.gmail.com> <38b7b1cd0607050705v5dbfb1d8nef206ebaa39e6171@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_71947_3527091.1152110931389 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks John! I also tried out removing ArrayMapping from WSDD. But issue still persists. On 7/5/06, john andersen wrote: > > I ran into the exact same issue with both Axis 1.4 and Axis 1.3 but I used > a gSOAP client instead of .NET - the array member tags were set to the name > of the enclosing array. This problem does not exist in Axis2. Unless this > is a valid way to represent an array in XML, this seems to be an Axis 1.3/1.4 > issue. > > Can this be a configuration issue? I have added/removed ArrayMappings in > the wsdd and have no idea what else I can poke to alter this behavior. > > > > > On 7/5/06, Amit Andhale wrote: > > > Hi Anne, > I rebooted the server and redeployed the service. > I am still getting the SOAP Response in following fashion, > > > > .... # WRONG > .... # WRONG > > > > Please find actual SOAP response below: > > 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 "> > > - + > - + < getProductListResponse > xmlns=" > urn:ProductsAndComponentsService"> > > - + xsi:type=" > ns1:ProductView" > xmlns :ns1 ="urn:ProductsAndComponentsService"> > - + 10000010 > - + 10000010 > - + -1 > - + 10000000 > - + false > - + 0 > - + implement > - + 2006-06-26T10:22:02.000Z > > - + 0.0 > - + false > - + implementation > - + 10000039 > - + P1 > - + true > - + 10000010 > - + User, Implement > - + 10000010 > - + User, Implement > - + 0 > - + Implement > - + User > - + 0 > - + implement > - + 2006-06-26T10:22:02.000Z > - + P1 > - + 0 > - + 10000010 > - + User, Implement > - + 10000010 > - + User, Implement > - + 0 > - + Implement > - + User > - + false > xsi:nil="true" /> > - + false > > - + 1 > - + Public - Read Only > > xsi:nil =" true " /> > - + true > > xsi:nil="true" /> > - + -1 > > - + xsi:type=" > ns3:ProductView" > xmlns :ns3 ="urn:ProductsAndComponentsService"> > > - + 10000010 > - + 10000010 > - + -1 > - + 10000020 > - + false > - + 0 > - + implement > - + 2006-06-27T10:42:07.000Z > > - + 0.0 > - + false > - + implementation > - + 10000039 > - + P2 > - + true > - + 10000010 > - + User, Implement > - + 10000010 > - + User, Implement > - + 0 > - + Implement > - + User > - + 0 > - + implement > - + 2006-06-28T10:04:25.000Z > - + P2 > - + 2 > - + 10000010 > - + User, Implement > - + 10000010 > - + User, Implement > - + 0 > - + Implement > - + User > - + false > xsi:nil="true" /> > - + false > > - + 1 > - + Public - Read Only > > - + > - + > - + 10000000 > > xsi:nil="true"/> > - + 0 > xsi:nil="true"/> > - + 0 > > xsi:nil ="true"/> > > > > < customFieldValue /> > xsi:nil="true"/> > - + 0 > - + false > xsi:nil="true"/> > - + 0 > xsi:nil="true"/> > < modifiedStamp > xsi:nil="true"/> > - + 0 > - + 0 > ... > > [Message clipped] > > > > ------=_Part_71947_3527091.1152110931389 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks John! I also tried out removing ArrayMapping from WSDD. But issue still persists.

On 7/5/06, john andersen <jander68@gmail.com> wrote:
I ran into the exact same issue with both Axis 1.4 and Axis 1.3 but I used a gSOAP client instead of .NET - the array member tags were set  to the name of the enclosing array.  This problem does not exist in Axis2.  Unless this is a valid way to represent an array in XML, this seems to be an Axis 1.3/1.4 issue.

Can this be a configuration issue?  I have added/removed ArrayMappings in the wsdd and have no idea what else I can poke to alter this behavior.




On 7/5/06, Amit Andhale <amit.andhale@gmail.com > wrote:
Hi Anne,
I rebooted the server and redeployed the service.
I am still getting the SOAP Response in following fashion,
 
<OuterObject>
    <ArrayOfInnerObjects>
      <ArrayOfInnerObjects>....</ArrayOfInnerObjects>   # WRONG
      <ArrayOfInnerObjects>....</ArrayOfInnerObjects>   # WRONG
    </ArrayOfInnerObjects>
  </OuterObjects>
 
Please find actual SOAP response below:
 

   <soapenv:Body>
      < getProductListResponse xmlns="urn:ProductsAndComponentsService">

         <getProductListReturn xsi:type="ns1:ProductView" xmlns :ns1 ="urn:ProductsAndComponentsService">
            <CSAssignableID>10000010 </ CSAssignableID>
            < CSManagerAssignableID> 10000010</CSManagerAssignableID>
            <CSParentProductID>-1 </ CSParentProductID>
            < ID>10000000 </ID>
            <allowComponentAdd>false </allowComponentAdd>
            <createdLoginID> 0 </createdLoginID>
            <createdLoginName>implement </createdLoginName>
            <createdStamp> 2006-06-26T10:22:02.000Z </createdStamp>
              <customFieldMap />
            < defaultValue> 0.0</defaultValue>
            <defaultValueLocked>false </defaultValueLocked >
            <department > implementation</department>
            <departmentID>10000039 </departmentID>
            <description> P1</ description>
            < editable>true </editable>
            <managerAssignableID> 10000010</managerAssignableID>
            <managerEntityName>User, Implement </managerEntityName>
            <managerID>10000010 </managerID>
            <managerName>User, Implement </ managerName>
            < managerType> 0</managerType>
            <managerUserFirstName>Implement </managerUserFirstName>
            <managerUserLastName> User </managerUserLastName>
            <modifiedLoginID>0 </modifiedLoginID>
            <modifiedLoginName> implement </modifiedLoginName>
            <modifiedStamp>2006-06-26T10:22:02.000Z </modifiedStamp>
            <name>P1 </ name>
            < numberOfComponent> 0</numberOfComponent>
            <ownerAssignableID>10000010 </ ownerAssignableID>
            < ownerEntityName> User, Implement</ownerEntityName>
            <ownerID>10000010 </ownerID >
            <ownerName >User, Implement </ownerName>
            <ownerType>0 </ownerType>
            <ownerUserFirstName> Implement</ ownerUserFirstName>
            < ownerUserLastName>User </ownerUserLastName>
            <parentEntityEditable> false</ parentEntityEditable>
              <parentEntityName xsi:nil="true" />
            <parentEntityReadable> false</parentEntityReadable>
              <parentProductName />
            <privacyCode> 1</ privacyCode>
            < privacyCodeLabel>Public - Read Only </privacyCodeLabel>
              <productAttributeRegistryViews />
              <productComponentViews xsi:nil =" true " />
            <readable>true </readable>
              <sku />
              < synapseCurrentErrorLevel xsi:nil="true" />
            <typeCode>-1 </typeCode>
        
  </ getProductListReturn>

         <getProductListReturn xsi:type="ns3:ProductView" xmlns :ns3 ="urn:ProductsAndComponentsService">

            <CSAssignableID> 10000010 </CSAssignableID>
            <CSManagerAssignableID> 10000010</CSManagerAssignableID>
            <CSParentProductID>-1 </CSParentProductID>
            <ID>10000020 </ID>
            <allowComponentAdd>false </ allowComponentAdd>
            < createdLoginID> 0</createdLoginID>
            <createdLoginName>implement </createdLoginName>
            <createdStamp> 2006-06-27T10:42:07.000Z </createdStamp>
              <customFieldMap />
            < defaultValue> 0.0</defaultValue>
            <defaultValueLocked>false </defaultValueLocked >
            <department > implementation</department>
            <departmentID>10000039 </departmentID>
            <description> P2</ description>
            < editable>true </editable>
            <managerAssignableID> 10000010</managerAssignableID>
            <managerEntityName>User, Implement </managerEntityName>
            <managerID>10000010 </managerID>
            <managerName>User, Implement </ managerName>
            < managerType> 0</managerType>
            <managerUserFirstName>Implement </managerUserFirstName>
            <managerUserLastName> User </managerUserLastName>
            <modifiedLoginID>0 </modifiedLoginID>
            <modifiedLoginName> implement </modifiedLoginName>
            <modifiedStamp>2006-06-28T10:04:25.000Z </modifiedStamp>
            <name>P2 </ name>
            < numberOfComponent> 2</numberOfComponent>
            <ownerAssignableID>10000010 </ ownerAssignableID>
            < ownerEntityName> User, Implement</ownerEntityName>
            <ownerID>10000010 </ownerID >
            <ownerName >User, Implement </ownerName>
            <ownerType>0 </ownerType>
            <ownerUserFirstName> Implement</ ownerUserFirstName>
            < ownerUserLastName>User </ownerUserLastName>
            <parentEntityEditable> false</ parentEntityEditable>
              <parentEntityName xsi:nil="true" />
            <parentEntityReadable> false</parentEntityReadable>
              <parentProductName />
            <privacyCode> 1</ privacyCode>
            < privacyCodeLabel>Public - Read Only </privacyCodeLabel>
              <productAttributeRegistryViews />
            <productComponentViews>
               <productComponentViews >
                  <ID> 10000000</ID>

                    <createdBy xsi:nil="true" />
                  <createdLoginID> 0</createdLoginID>
                    <createdStamp xsi:nil="true" />
                  <csAssignableID> 0</csAssignableID>
                    <customFieldID />
                    <customFieldMap xsi:nil ="true" />
                    <customFieldName />
                    <customFieldTagName />
                    <customFieldType />
                    < customFieldValue />
                    < department xsi:nil="true" />
                  <departmentID> 0</departmentID>
                  <editable> false</ editable>
                    <lastUpdated xsi:nil="true" />
                  <modifiedLoginID> 0</modifiedLoginID>
                    <modifiedLoginName xsi:nil="true" />
                    < modifiedStamp xsi:nil="true" />
                  <numberOfProduct> 0</numberOfProduct>
                  <ownerAssignableID> 0 </ownerAssignableID>
                    <ownerEntityName
...

[Message clipped]  

 

------=_Part_71947_3527091.1152110931389--