would I need to get it from svn and build on my own or is it in the
nightly drops?

Thanks,
cwd 

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 29, 2005 10:02 AM
To: [email protected]
Subject: Re: Axis 1.3 Serialization of derived types

I think This has been fixed in latest SVN.

-- dims

On 11/29/05, Dovholuk, Clint <[EMAIL PROTECTED]> wrote:
> Christophe,
>
> I personally had to switch back to 1.2.1 as this is a definite issue 
> with 1.3.
>
> I've not had time to create a test case and submit a bug to jira 
> though so I don't know if a bug is out there addressing this or not...
>
> -Clint
>
>
>
> -----Original Message-----
> From: Christophe Roudet [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 5:48 PM
> To: [email protected]
> Subject: Axis 1.3 Serialization of derived types
>
> I am using Axis 1.3 rpc/encoded.
>
> I have problem with the serialization of derived types:
>
> In the wsdl:
>
> <complexType name="RequestMessage">
>   <sequence>
>     <element name="header" type="tns:RequestHeader"/>
>     <element name="payload" type="tns:RequestPayload"/>
>   </sequence>
>  </complexType>
>
> <complexType abstract="true" name="RequestPayload"> </complexType>
>
> <complexType name="CommandRequestPayload">
>   <complexContent>
>      <extension base="tns:RequestPayload">
>        <sequence>
>           <element name="commandId" type="tns:Id"/>
>           <element name="commandName" type="tns:CommandEId"/>
>           <element name="priority" type="xsd:int"/>
>           <element name="timeout" type="xsd:long"/>
>           <element name="parameters" nillable="true"
> type="tns:Parameters"/>
>        </sequence>
>      </extension>
>   </complexContent>
> </complexType>
>
>
> When sending a message containing a CommandRequestPayload I got:
>
> ?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>
>          <ns1:send
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:ns1="http://www.activia.net/CCP";>
>             <message xsi:type="ns2:RequestMessage"
> xmlns:ns2="http://www.activia.net/CCP/types";>
>                <header xsi:type="ns2:RequestHeader">
>                   <sessionId xsi:type="xsd:long">0</sessionId>
>                   <requestId xsi:type="xsd:long">313</requestId>
>                   <envTimestamp xsi:type="xsd:long">0</envTimestamp>
>                </header>
>                <payload xsi:type="ns2:RequestPayload"/>
>             </message>
>          </ns1:send>
>       </soapenv:Body>
>    </soapenv:Envelope>
>
> The payload is not correctly serialized. It used to work fine with 
> Axis
> 1.2.1:
>
> <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>
>       <ns1:send
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:ns1="http://www.activia.net/CCP";>
>          <message xsi:type="ns2:RequestMessage"
> xmlns:ns2="http://www.activia.net/CCP/types";>
>             <header xsi:type="ns2:RequestHeader">
>                <sessionId xsi:type="ns2:Id">88</sessionId>
>                <requestId xsi:type="ns2:Id">88</requestId>
>                <envTimestamp
> xsi:type="xsd:long">1094050360561</envTimestamp>
>             </header>
>             <payload xsi:type="ns2:CommandRequestPayload">
>                <commandId xsi:type="ns2:Id">89</commandId>
>                <commandName
> xsi:type="ns2:CommandEId">upload</commandName>
>
>                <priority xsi:type="xsd:int">1</priority>
>                <timeout xsi:type="xsd:long">20000</timeout>
>                <parameters xsi:type="soapenc:Array"
> soapenc:arrayType="ns2:Parameter[1]"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
>                   <item>
>                      <name xsi:type="xsd:string">url</name>
>                      <value
> xsi:type="xsd:string">ftp://activia.net</value>
>
>                   </item>
>                </parameters>
>             </payload>
>          </message>
>       </ns1:send>
>    </soapenv:Body></soapenv:Envelope>
>
> Does anyone have a fix for this?
>
> Christophe
>
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Reply via email to