Hi Andrew,

Thanks for your response.

The issues can be very easily reproduced with just a few steps in NetBeans IDE 6.8 and without any hand-coded modification at all (the project only contains generated code for the web service client and UI):

1. Create a new project (Java Web - Web Application).
2. Create new "Web Service Client"
2.1 In WSDL URL, select, for instance "http://www.webservicex.net/stockquote.asmx?WSDL"
2.3 package: test
2.4 Click finish
3. Build the project

=> Build successful

4. Now add saxon9ee.jar to the libraries folder
5. build the project

=> Build fails with a Java Exception (see my previous email)

Libraries included in the project:
* Metro 2.0
* saxon9ee.jar
* JDK 1.6
* Tomcat 6.0




From: Andrew Welch <andrew.j.welch@gmail.com>
To: Mailing list for the SAXON XSLT and XQuery processor <saxon-help@lists.sourceforge.net>
Sent: Mon, June 14, 2010 11:40:45 AM
Subject: Re: [saxon] Conflict between saxon9ee, jar and Java web services in Netbeans

> I'm working on a Java web application developed in Netbeans (6.8) that needs
> both the Saxon library (saxon9ee) and the a web service client. Each one
> work fine on their own. But once they are both part of my project the
> building process fails with a java exception telling me that I "need the
> Enterprise Edition of Saxon for this operation" (see the end of this email
> for a complete dump of the output).
>
> I can't figure out why adding the saxon library to my working project
> suddenly makes the build fail. Obviously the "operation" in question does
> not need Saxon at all since the build works fine when I remove the library.

You probably just need to be more explicit with the classes used,
rather than letting it pick up the first impl it finds on the
classpath.... post back with the relevant part of the code.


--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help