axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Popa Horia <horiadorup...@gmail.com>
Subject RE: Array serialize Axis 1.2 Final
Date Fri, 03 Jun 2005 20:49:01 GMT
I have started with a WSDD file where I have defined my services and all the
data types that my service is using. WSDL is generated by the server.
Here are two type mappings from my WSDD file:
 
ARRAY:
 
  <typeMapping
 
xmlns:ns="http://beans.dataobjects.matrix.websitepros.com/SerialNumberHistor
yBean"
   qname="ns:ArrayOfSerialNumberHistoryBean"
   type="java:default.SerialNumberHistoryBean[]"
   serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
   deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/
<http://schemas.xmlsoap.org/soap/encoding/> >
 
BEAN:

  <typeMapping
 
xmlns:ns="http://beans.dataobjects.matrix.websitepros.com/SerialNumberHistor
yBean"
   qname="ns:SerialNumberHistoryBean"
   type="java:default.SerialNumberHistoryBean"
   serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
   deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/
<http://schemas.xmlsoap.org/soap/encoding/> >
 
Below is the complete schema as requested:
 
Axis 1.2 Final
<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
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">
      <soapenv:Body>
         <getSerialNumberResponse
xmlns="http://webservices.installer.fusion7.fusion.websitepros.com/FusionAcc
ountsManager">
            <GetSerialNumberResult>
               <dropped>false</dropped>
               <history>
                  <item xmlns="">
                     <IP>113.210.236.206</IP>
                  </item>
               </history>
               <id>45</id>
            </GetSerialNumberResult>
         </getSerialNumberResponse>
      </soapenv:Body>
   </soapenv:Envelope>
 



Axis 1.2 RC3
<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
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">
      <soapenv:Body>
         <getSerialNumberResponse
xmlns="http://webservices.installer.fusion7.fusion.websitepros.com/FusionAcc
ountsManager">
            <GetSerialNumberResult>
               <dropped>false</dropped>
               <history>
                  <history>
                     <IP>113.210.236.206</IP>
                  </history>
               </history>
               <id>45</id>
            </GetSerialNumberResult>
         </getSerialNumberResponse>
      </soapenv:Body>
   </soapenv:Envelope>

-----Original Message-----
From: Anne Thomas Manes [mailto:atmanes@gmail.com]
Sent: 3 iunie 2005 22:30
To: axis-user@ws.apache.org
Subject: Re: Array serialize Axis 1.2 Final

Is there a default namespace specified higher up in the message?
And how does your WSDL describe the structure? (please include the entire
schema)

Anne

On 6/3/05, Popa Horia <horiadorupopa@gmail.com> wrote:
> 
> I moved from Axis 1.2 RC3 to Axis 1.2 final and I have noticed that my
> application doesn't work anymore. The application is a Axis 1.5 C++ stub.
> The reason is that the Array are serialized different in Axis 1.2 RC3
> and Axis 1.2 Final.
> 
> If you have some information about this please write back.
>  
> Thanks
>  
> Below are the samples:
>  
>     Axis 1.2 RC3
>  
>                <history>
>                   <item xmlns="">
>                      <IP>193.230.236.206</IP>
>                      <date>2005-05-27T07:50:08.000Z</date>
>                      <dropped>false</dropped>
>                      <hardwareKey>851830523</hardwareKey>
>                      <id>41</id>
>                      <operation>0</operation>
>                      <reason>nPower installation</reason>
>                      <serialNumberId>0</serialNumberId>
>                      <touched>false</touched>
>                   </item>
>                </history>
>  
>     Axis 1.2 Final
>  
>                   <history>
>                      <IP>193.230.236.206</IP>
>                      <date>2005-05-27T07:50:08.000Z</date>
>                      <dropped>false</dropped>
>                      <hardwareKey>851830523</hardwareKey>
>                      <id>41</id>
>                      <operation>0</operation>
>                      <reason>nPower installation</reason>
>                      <serialNumberId>0</serialNumberId>
>                      <touched>false</touched>
>                   </history>
>  
>  
>



Mime
View raw message