Hi Alex, can you please create a new Jira issue and attach a simple (sic!) XML schema so that I can generate the sources myself, and a test case that allows me to reproduce the problem you are facing within your client.
Thanks Werner Alex Herriott wrote: > Hi, > > > > I am having a problem marshalling a message between castor 0.9.5.4 and > 1.2.1. > > > > On the server I have castor 0.9.5.4, the message source has been > generated with this version and also this version is being used to > marshal the object so it can be sent to the client > > > > On the client there is castor 1.2.1. Here version 1.2.1 is being used to > generate the message source for the client and unmarshal the incoming > message. > > > > The same xsd is being used for source generation > > > > the message that is generated from the server (0.9.5.4) is the following > > > > <Rq xmlns="http://www.aaa.com">< AbcDet>1</AbcDet></Rq> > > > > When this is unmarshaled on the client (v 1.2.1) the 'AbcDet' is missing > from the object. > > > > If I add and empty namespace declaration to the AbcDet on the incoming > message e.g. > > > > <Rq xmlns="http://www.aaa.com">< AbcDet xmlns="">1</AbcDet></Rq> > > > > Then the whole object is unmarshaled correctly. > > > > I have looked the following suggestion > http://osdir.com/ml/java.castor.devel/2003-03/msg00168.html and added > elementFormDefault="qualified" > > to the xsd however this did not solve the problem > > > > Any suggestions why is castor 1.2.1 not unmarshaling object correctly > when there is no empty namespace? > > > > Thanks, > > Alex. > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

