|
Hi Samuel The line you’ve highlighted is just
a reference to a model group. Model groups are treated as if the reference to
the model group were resolved in place and the names of the elements etc. which
the model group defines inserted in place. From your http://era.nih.gov/Projectmgmt/SBIR/dev/rarschema.xsd
schema it looks as though the model
group ContactPersonType resolves to 2 elements: Name and ContactInformation.
You should see getters/setters for those instead of for ContactPersonType. Cheers, From: Samuel B.
Quiring [mailto:[EMAIL PROTECTED] Greetings, I have successfully compiled a schema. I have an
Eclipse project/program that is utilizing the generated classes. The
program reads in a SOAP file, breaks it apart, hands a SOAPElement to the
parse() member, which returns a Document. The code retrieves a simple
value and prints it. The value is correct! However, the next value it retrieves is not so simple.
And that does not work, I get a null pointer exception. How do I debug
this? The schema in question is http://era.nih.gov/Projectmgmt/SBIR/dev/personinforesponse.xsd.
Here's the excerpt that includes what's working and what's not: <xs:element name="PersonAffiliationInfo"> I am able to successfully retrieve the PositionTitle.
I am not able to retrieve the ContactPersonType, which comes from the schemas: I have my fingers crossed that this works, but I'm starting
to get nervous. -Sam |
- How do I debug? Samuel B. Quiring
- RE: How do I debug? Lawrence Jones
- Re: How do I debug? Samuel B. Quiring
- xmlbeans - generating paths that are too long o... Samuel B. Quiring
- -Xlint? Samuel B. Quiring

