I read most of the archive and tried every sample code I could get my hands
on with no avail. So here I go again.
Using SOAP 1.1 schema untouched I generated source code and instead of Body
having n-anyObjects is throwing an exception:
org.xml.sax.SAXException: unable to find FieldDescriptor for 'myNode' in
ClassDescriptor of Body
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1033)
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:555)
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:487)
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:627)
Most of the posts I've read are from sometime ago, so I'm assuming things
have changed (for the better I hope). I know about mapping files, but I'm
trying to avoid them. I read the post from Eric that talks about reading the
nspackages at run time by implementing your own CDResolver, I've tried that
but is still throwing the same error. I just don't understand why it's not
treating 'myNode' as an anyNode like I would think it's supposed to.
Please someone let me know what the current best practice for using SOAP and
Castor is.. Thanks in advanced.
Regards,
Elias Torres
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev