Are you sure you have set your wrapped style to false? i.e., using sth like sf.getServiceFactory().setWrapped(false); or through spring configuration. Your service does look alright as far as I can see, this kind of problems normally happen when you messed up with wrapped style.
Cheers, Jervis On Feb 10, 2008 12:43 AM, Julio Arias <[EMAIL PROTECTED]> wrote: > I have the following service interface: > > @Get > @HttpResource(location = "/student/{id}") > StudentSession startSession(StartSession startSession); > > @XmlAccessorType(XmlAccessType.FIELD) > @XmlType > public class StartSession { > protected long id; > > public long getId() { > return id; > } > > public void setId(long id) { > this.id = id; > } > } > > When the StartSession gets unmarshaled the id is always 0, I debug > JAXBEncoderDecoder and the XMLStreamReader source seams to be fine what can > be the problem?? I attach the WSDL with the schema defs. > > -- > Julio Arias > Java Developer > Roundbox Global : enterprise : technology : genius > ------------------------------------------------------------------------- > Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica > tel: (011) 506.258.3695 ext. 2001 | cell: (011) 506.849.5981 > email: [EMAIL PROTECTED] | www.rbxglobal.com > ------------------------------------------------------------------------- >