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 09:16:23 GMT
Hi Anne,
After upgarding to Axis 1.4 sometimes I am getting correct SOAP Response
like
<OuterObject>
    <ArrayOfInnerObjects>
      <InnerObject>....</InnerObject>
      <InnerObject>....</InnerObject>
    </ArrayOfInnerObjects>
  </OuterObjects>

But some times I get
<OuterObject>
    <ArrayOfInnerObjects>
      <ArrayOfInnerObjects>....</ArrayOfInnerObjects>   # WRONG
      <ArrayOfInnerObjects>....</ArrayOfInnerObjects>   # WRONG
    </ArrayOfInnerObjects>
  </OuterObjects>

Even if I get correct SOAP Response, my problem is not solved.
I still get Zero Length Inner Array "ProductComponentViews" inside
"ProductViews" array.


Amit




On 7/5/06, Amit Andhale <amit.andhale@gmail.com> wrote:
>
>  Hi Anne,
> I have upgraed Axis 1.3 to Axis 1.4.
> I am getting the correct SOAP Response but getting *Zero Length Inner
> Array* "ProductComponentViews" when I call this web service from .NET.
>
> Please Help me to resolve this issue.
>
> Please find SOAP Response I am getting 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
> <http://localhost:7103/tide/main/1.1.1.1.2.42.1@xsi:type>xsi:type="
> ns3:ProductComponentView">
>                   -  + <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>
>
> ...
>
> [Message clipped]

Mime
View raw message