axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Krishnamurthy <ra...@savvion.com>
Subject Re: Axis 14 vs axis 1.2.1 arrays
Date Fri, 01 Dec 2006 22:10:08 GMT
Thanks Brier.

I will try it out.

Regards,
Ravi

Frederick N. Brier wrote:
> I saw wrapArrays attribute/parameter that can be passed to either the 
> Ant task or the WSDL2Java utility.  I would guess that it would cause 
> Axis 1.4 to generate the same stubs as the 1.2.1.
>
> Fred
>
> Ravi Krishnamurthy wrote:
>> Hello:
>> I was looking at the stubs generated for Axis 1.2.1 and Axis 1.4 that 
>> contains arrays. The complex type mappings is different as below:
>>
>>             // in 1.4
>>            qName = new 
>> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", 
>> "ArrayOfCriticalRoleDTO");
>>            cachedSerQNames.add(qName);
>>            cls = 
>> dto.webservices.xsys.cc.virsa.com.CriticalRoleDTO[].class;
>>            cachedSerClasses.add(cls);
>>            qName = new 
>> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", 
>> "CriticalRoleDTO");
>>            qName2 = new 
>> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", 
>> "CriticalRoleDTO");
>>            cachedSerFactories.add(new 
>> org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
>>            cachedDeserFactories.add(new 
>> org.apache.axis.encoding.ser.ArrayDeserializerFactory());
>>
>>
>>             // in 1.2.1
>>
>>             qName = new 
>> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", 
>> "ArrayOfCriticalRoleDTO");
>>            cachedSerQNames.add(qName);
>>            cls = dto.riskAnalysis.ArrayOfCriticalRoleDTO.class;
>>            cachedSerClasses.add(cls);
>>            cachedSerFactories.add(beansf);
>>            cachedDeserFactories.add(beandf);
>>
>>
>>  Will there be any problem during migration of applications that is 
>> already running in axis1.2.1 to axis1.4 without generating the stubs 
>> with axis 1.4 again.
>>
>> Thanks for your time,
>> Ravi
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message