axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Andhale" <amit.andh...@gmail.com>
Subject Re: Need Help: Axis 1.3 Array Problem.
Date Wed, 05 Jul 2006 14:48:51 GMT
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:Envelope
>     <http://localhost:7103/tide/main/1.1@xmlns:soapenv>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
>     <http://localhost:7103/tide/main/1.1@xmlns:xsd>xmlns:xsd="
> http://www.w3.org/2001/XMLSchema "
>     <http://localhost:7103/tide/main/1.1@xmlns:xsi>xmlns :xsi="
> http://www.w3.org/2001/XMLSchema-instance ">
>
>    - +  <soapenv:Body>
>       -  + < getProductListResponse
> <http://localhost:7103/tide/main/1.1.1.1@xmlns:>xmlns="
> urn:ProductsAndComponentsService">
>
>          - +  <getProductListReturn
> <http://localhost:7103/tide/main/1.1.1.1.1@xsi:type>xsi:type="
> ns1:ProductView" <http://localhost:7103/tide/main/1.1.1.1.1@xmlns:ns1>
> 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
> <http://localhost:7103/tide/main/1.1.1.1.1.36@xsi:nil>xsi:nil="true" />
>             -  + <parentEntityReadable> false</parentEntityReadable>
>               <parentProductName />
>             -  + <privacyCode> 1</privacyCode>
>             -  +  <privacyCodeLabel>Public - Read Only </privacyCodeLabel>
>               <productAttributeRegistryViews />
>               <productComponentViews
> <http://localhost:7103/tide/main/1.1.1.1.1.42@xsi:nil>xsi:nil =" true " />
>             -  +  <readable>true </readable>
>               <sku />
>               <synapseCurrentErrorLevel
> <http://localhost:7103/tide/main/1.1.1.1.1.45@xsi:nil>xsi:nil="true" />
>             -  + <typeCode>-1 </typeCode>
>            </getProductListReturn>
>           -  + <getProductListReturn
> <http://localhost:7103/tide/main/1.1.1.1.2@xsi:type>xsi:type="
> ns3:ProductView" <http://localhost:7103/tide/main/1.1.1.1.2@xmlns:ns3>
> 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
> <http://localhost:7103/tide/main/1.1.1.1.2.36@xsi:nil>xsi:nil="true" />
>             -  + <parentEntityReadable> false</parentEntityReadable>
>               <parentProductName />
>             -  + <privacyCode> 1</privacyCode>
>             -  +  <privacyCodeLabel>Public - Read Only </privacyCodeLabel>
>               <productAttributeRegistryViews />
>             -  + <productComponentViews>
>                -  +  <productComponentViews>
>                   -  + <ID> 10000000</ID>
>
>                     <createdBy
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.2@xsi:nil>xsi:nil="true"/>
>                   -  + <createdLoginID> 0</createdLoginID>
>                     <createdStamp
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.4@xsi:nil>xsi:nil="true"/>
>                   -  + <csAssignableID> 0</csAssignableID>
>                     <customFieldID />
>                     <customFieldMap
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.7@xsi:nil>xsi:nil ="true"/>
>                     <customFieldName />
>                     <customFieldTagName />
>                     <customFieldType />
>                     < customFieldValue />
>                     <department
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.12@xsi:nil>xsi:nil="true"/>
>                   -  + <departmentID> 0</departmentID>
>                   -  + <editable> false</editable>
>                     <lastUpdated
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.15@xsi:nil>xsi:nil="true"/>
>                   -  + <modifiedLoginID> 0</modifiedLoginID>
>                     <modifiedLoginName
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.17@xsi:nil>xsi:nil="true"/>
>                     < modifiedStamp
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1.18@xsi:nil>xsi:nil="true"/>
>                   -  + <numberOfProduct> 0</numberOfProduct>
>                   -  + <ownerAssignableID> 0</ownerAssignableID>
>                     <ownerEntityName
> ...
>
> [Message clipped]
>
>
>
>

Mime
View raw message