tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Nash <n...@apache.org>
Subject Re: Tuscany generated wsdl
Date Tue, 12 Apr 2011 19:04:52 GMT
Antonio De Berardis wrote:
> Hi Simon, 
> I forgot to paste package declarations, I'm sorry...
> This is the complete code for both classes:
> 
> package contrats;
> 
> import java.io.Serializable;
> 
> public class Avenant implements Serializable{
> 
> 	/**
> 	 * 
> 	 */
> 	private static final long serialVersionUID = -4086312879555658070L;
> 
> 	private long id;
> 
> 	private String commentair;
> 	
> 	private TypeAvenant type;
> 	
> 	public long getId() {
> 		return id;
> 	}
> 	public void setId(long id) {
> 		this.id = id;
> 	}
> 	public String getCommentair() {
> 		return commentair;
> 	}
> 	public void setCommentair(String commentair) {
> 		this.commentair = commentair;
> 	}
> 	public TypeAvenant getType() {
> 		return type;
> 	}
> 	public void setType(TypeAvenant type) {
> 		this.type = type;
> 	}
> 
> }
> 
> and 
> 
> package contrats;
> 
> public class AvenantAdh extends Avenant {
> 
> 	/**
> 	 * 
> 	 */
> 	private static final long serialVersionUID = 7076974968473202208L;
> 	private Adhesion adhesion;
> 	
> 	public Adhesion getAdhesion() {
> 		return adhesion;
> 	}
> 	public void setAdhesion(Adhesion adhesion) {
> 		this.adhesion = adhesion;
> 	}
>   
> }
> 
>
Hi Antonio,
I have recreated this problem.  It's caused by a bug in Tuscany,
and I have a fix for it.

Please create a JIRA with the problem description from your original
email.  When the JIRA has been created, I'll assign it to myself and
check my fix into the 1.x trunk.

   Simon

> On lun., 2011-04-11 at 17:31 +0100, Simon Nash wrote:
>> Antonio De Berardis wrote:
>>> On dim., 2011-04-10 at 07:10 +0100, Simon Nash wrote:
>>>> Hi Antonio,
>>>> Please can you post the Java code for myObj and myObjChild.  Thanks.
>>>>
>>>>
>>> Hi, thank you for the response.
>>>
>>> My code is:
>>>
>>> public class Avenant implements Serializable{
>>>
>>> 	/**
>>> 	 * 
>>> 	 */
>>> 	private static final long serialVersionUID = -4086312879555658070L;
>>>
>>> 	private long id;
>>>
>>> 	private String commentair;
>>> 	
>>> 	private TypeAvenant type;
>>> 	
>>> 	...// getters and setters
>>> }
>>>
>>> and
>>>
>>> public class AvenantContr extends Avenant {
>>>
>>> 	/**
>>> 	 * 
>>> 	 */
>>> 	private static final long serialVersionUID = -5534459853405874814L;
>>> 	private ContratCollectif contrat;
>>> 	
>>> 	...// getters and setters
>>> }
>>>
>>> Antonio
>>>
>>>
>>>
>>>
>> Hi Antonio,
>> There aren't any Java package declarations in these files.
>> Can you try adding package declarations to see if that makes
>> any difference to the problem?
>>
>>    Simon
>>
>>
> 
> 
> 


Mime
View raw message