beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Johnson (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Closed: (BEEHIVE-105) Complex types require implementation of java.io.Serializable
Date Fri, 03 Jun 2005 17:47:53 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-105?page=all ]
     
Jeremiah Johnson closed BEEHIVE-105:
------------------------------------

    Assign To: Jeremiah Johnson  (was: Jonathan Colwell)

Verified in dist built from SVN 179502.

Here is an example of a complex type being used in a simple Web service:
package web.jira;

import java.util.Date;

/**
 * This is some data type to test result name spaces.
 */
public class PastTradePrice {

    private float price;

    private Date tradeDate;

    public PastTradePrice( float price, Date tradeDate ) {
        this.price = price;
        this.tradeDate = tradeDate;
    }

    public float getPrice() {
        return price;
    }

    public Date getTradeDate() {
        return tradeDate;
    }

    public void setPrice( float price ) {
        this.price = price;
    }

    public void setTradeDate( Date tradeDate ) {
        this.tradeDate = tradeDate;
    }

}

The Web service works as expected and the relevant clip from WSDL looks like this:
      <complexType name="PastTradePrice">
        <sequence>
          <element name="price" nillable="true" type="xsd:float"/>
          <element name="tradeDate" nillable="true" type="xsd:dateTime"/>
        </sequence>
      </complexType>

> Complex types require implementation of java.io.Serializable
> ------------------------------------------------------------
>
>          Key: BEEHIVE-105
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-105
>      Project: Beehive
>         Type: Bug
>   Components: Web Services (181)
>     Versions: V1Beta
>     Reporter: Michael Merz
>     Assignee: Jeremiah Johnson
>      Fix For: V1Beta

>
> Currently, custom complex types are required to implement the java.io.Serializable interface.
This requirement needs to be removed (not part of JAX RPC).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message