Hi Patrick,

The JavaXML Framework doesn't really mesh with the maven paradigm.
I simply exclude it as a transitive dependency:

        <dependency>
            <groupId>wonder.core</groupId>
            <artifactId>ERExtensions</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>com.webobjects</groupId>
                    <artifactId>JavaXML</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

-mike

-----Original Message-----
From: webobjects-dev-bounces+michael.walters=sungard....@lists.apple.com 
[mailto:webobjects-dev-bounces+michael.walters=sungard....@lists.apple.com] On 
Behalf Of Patrick
Sent: Monday, July 15, 2013 7:28 AM
To: [email protected]
Subject: WebObjects - old classes in JavaXML (Maven)

Hello,

I use Webobjects with Project Wonder 6.1.0 and Maven.

I have to connect to an external SOAP-Interface (yeah, I know - it's unlovely 
but needed ;)).
I use org.apache.cxf in version 2.7.5 for connection.

Well, I found out that the JavaXML-Framework is very old. Especially the 
javax-classes.
To parse wsdl-files, anything inside the apache-cxf use the class 
javax.wsdl.xml.WSDLReader. Normally this class will be imported by wsdl4j.
But in my case, my classloader takes the WSDLReader from JavaXML-Framework. And 
this is an very old one. Older than wsdl4j 1.6.2 from the year 2006.
So, for example the method "readWSDL(WSDLLocator locator, Element 
definitionsElement)" is missing there.

The class WSDLReader is not the only one, it was just an example.


So, my question now: is there any possibilty to change the classpath order 
(JavaXML is the last one), force maven to use the classes from wsdl4j-jar 
instead of JavaXML, replace the classes in JavaXML or something else?

Thank you!



Greetings,
Pati
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/michael.walters%40sungard.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to