Title: Unable to use castor and java web services in the same application

Hi,

I was using Castor to do the marshalling and unmarshalling for me in my appplication. Everything worked beautifully and I was extremely happy with castor's ease of use.

However, my application is now having to communicate with other web applications over the network. I am using Java web services to handle the communication and have had to add the following jar files on my classpath.

1. axis.jar
2. jaxrpc.jar
3. wsdl4j.jar
4. saaj.jar
5. common-logging.jar
6. common-discovery.jar

These jars are in addition to castor-0.9.5.3-xml.jar and xercesImpl2.2.1.jar already present on my classpath.

The problem is that because of the presence of the xerces jar, I am unable to use web services. If I remove the xerces jar from my classpath I encounter no problems, but then I cannot use castor for my data binding.

Does anyone know how I can overcome this problem? Is there any way that I can get castor to use some xml parser and which will not conflict with java web services. Using java web services is a requirement set in stone.

Lyudmila Mishra

 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to