Yes... 12/09/2002 10:40a <DIR> . 12/09/2002 10:40a <DIR> .. 12/08/2002 01:54p 2,551 Default.java 12/08/2002 01:54p 2,957 DefaultDescriptor.java 12/08/2002 01:54p 2,544 Latest.java 12/08/2002 01:54p 2,952 LatestDescriptor.java 12/08/2002 01:54p 3,713 Parameter.java 12/08/2002 01:54p 6,317 ParameterDescriptor.java 12/08/2002 01:54p 2,572 Parameters.java 12/08/2002 01:54p 2,972 ParametersDescriptor.java 12/08/2002 01:54p 7,819 Service.java 12/08/2002 01:54p 693 ServiceClientNameType.java 12/08/2002 01:54p 2,943 ServiceClientNameTypeDescriptor.java 12/08/2002 01:54p 15,699 ServiceDescriptor.java 12/08/2002 01:54p 693 ServiceEntityNameType.java 12/08/2002 01:54p 2,943 ServiceEntityNameTypeDescriptor.java 12/08/2002 01:54p 675 ServiceNameType.java 12/08/2002 01:54p 2,913 ServiceNameTypeDescriptor.java 12/08/2002 01:54p 681 ServiceObjectType.java 12/08/2002 01:54p 2,923 ServiceObjectTypeDescriptor.java 12/09/2002 10:40a <DIR> types
AND 12/09/2002 10:40a <DIR> . 12/09/2002 10:40a <DIR> .. 12/08/2002 01:54p 4,174 ServiceClientIdType.java 12/08/2002 01:54p 2,951 ServiceClientIdTypeDescriptor.java 12/08/2002 01:54p 9,152 ServiceEntityIdType.java 12/08/2002 01:54p 2,951 ServiceEntityIdTypeDescriptor.java 12/08/2002 01:54p 4,456 ServiceIdType.java 12/08/2002 01:54p 2,921 ServiceIdTypeDescriptor.java 12/08/2002 01:54p 3,286 ServiceTypeType.java 12/08/2002 01:54p 2,931 ServiceTypeTypeDescriptor.java -----Original Message----- From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 1:19 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] newbie - help reading in an xml file Hi Jonathan, Are the descriptors generated by Castor compiled and in the classpath? Arnaud > -----Original Message----- > From: Asbell, Jonathan [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 7:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] newbie - help reading in an xml file > > Xml file attached > using castor-0.9.4.1 > > EXECPTION IS: > TEST_VALID.xml > PROBLEMS LOADING TASK DATA FROM THE XML: TEST_VALID.xml unable to find > FieldDescriptor for 'parameters' in ClassDescriptor of service > > > > -----Original Message----- > From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 12:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] newbie - help reading in an xml file > > > Hi Jonathan, > > Can you please be more specific about the problem you are encountering: > > 1- which version of Castor are you using? > 2- what is the exception? > 3- can you post your schema and your XML document? > > > Thanks, > > Arnaud > -----Original Message----- > From: Asbell, Jonathan [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 5:18 PM > To: [EMAIL PROTECTED] > Subject: [castor-dev] newbie - help reading in an xml file > > Hello All. > 1) I created a schema > 2) I generated the classes with the build tool > 3) I included the Castor libraries and the generated classes into my > project (which successfully compiles) > > My problem occurs when I try to do the following: > > GeneratedSchemaRootTag generatedObject = (GeneratedSchemaRootTag ) > Unmarshaller.unmarshal( GeneratedSchemaRootTag .class, new FileReader( > xmlFile ) ); > > Am I using the generated classes incorrectly? > I am merely trying to "suck in" (read unmarshall) the xml file. > That�xml file conforms to the schema�used to generate the classes, and�I > am trying to use the class that represents the root element in the > schema�as the "bean" that holds the xml data. > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
