Hi, I've been updating my web services to be in sync with the latest CDK
and I've come across an issue or two.

1. Apparently, in my webservice code, I won't get access to the required
jars via the CLASSPATH. This means the autodetection of descriptor
classes (by scanning the CLASSPATH) fails.

Would it be a good idea to include the class of a descriptor in the
dictionary? In that case, I can just drop the CLASSPATH approach

Alternatively if anybody knows whether it is possible to get at jar
files (say in common/lib or shared/lib) via a CLASSPATH within an Axis
web-service that would work too.

2. It appears that when trying to unmarshal the dictionaries, XML type
dictionaries are dependent on gnujaxp.jar (ie Aelfred XML parser)

The problem is that in an Axis+Tomcat setup, a Xerces XML parser is
included. Now, you can only have one such parser in the setup. 

But replacing the Xerces parser with gnujaxp.jar causes Axis+Tomcat to
spew tons of errors.

Thus I'm restricted to the Xerces parser (which is the recomended one).
Does this mean that the Dictionary.unmarshal() method will simply not
work? And is there anyway around this?

[As an aside, are there any plans to shift XML parsing in general, over
to XOM?]

Thanks,

-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
Mathematics is a game played according to certain simple 
rules with meaningless marks on paper.
-- David Hilbert




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to