RE: WebObjects - old classes in JavaXML (Maven)
RE: WebObjects - old classes in JavaXML (Maven)
- Subject: RE: WebObjects - old classes in JavaXML (Maven)
- From: email@hidden
- Date: Mon, 15 Jul 2013 12:55:27 +0000
- Thread-topic: WebObjects - old classes in JavaXML (Maven)
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=email@hidden [mailto:webobjects-dev-bounces+michael.walters=email@hidden] On Behalf Of Patrick
Sent: Monday, July 15, 2013 7:28 AM
To: email@hidden
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden