[jboss-user] [JBossWS] - Re: Is it me, JAX-WS, or JBoss?

stevenh do-not-reply at jboss.com
Fri Aug 11 01:21:13 EDT 2006


Try creating a interface for your Cabin object to implement. 

public interface ICabin {
    public int getId(); 
    public void setId(int id);  
    public String getName();
    public void setName();
}


Then have your  travel agent return the ICabin rather than the Cabin. I had a similar problem that the xml mappings.  

I dont know if its a bug or not but i found that it 4.0.4ga would not generate the mappings for any class that had a super class.   


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964526#3964526

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964526



More information about the jboss-user mailing list