Thanks Glen, thanks Dan,
if I understand this right, CXF can't work with the reference
Implementation, it needs it's own implementation?
I use an ant task defined by taskdef (not a <java ... where I can set the
fork). So I need to solve the issue in a different way.
Ant describes its classloader mechanism in the FAQ under
<style> or <junit> ignores my <classpath>
I'm not quite sure how CXF decides which classes to load as impl for the
jax-ws ri api
Here is my taskdef
<path id="cp-ant-tasks">
<pathelement location="${ant.project.name}.jar" />
<fileset dir="lib">
<include name="**.jar" />
</fileset>
</path>
<target name="use.init" description="Taskdef the ListProjects Task"
depends="jar">
<echo message="${toString:cp-ant-tasks}"/>
<taskdef name="list-projects"
classname="com.example.integration.ant.tasks.ListProjects"
classpathref="cp-protex-ant-tasks" >
</taskdef>
</target>
And the echo of the classpath reads
[echo]
/Volumes/Extra/MyTest/ProtexPendingActionsTask.jar:/Volumes/Extra/MyTest/lib/XmlSchema-1.4.2.jar:/Volumes/Extra/MyTest/lib/ant.jar:/Volumes/Extra/MyTest/lib/asm-2.2.3.jar:/Volumes/Extra/MyTest/lib/bcprov-jdk15-140.jar:/Volumes/Extra/MyTest/lib/commons-logging-1.1.1.jar:/Volumes/Extra/MyTest/lib/cxf-2.0.9.jar:/Volumes/Extra/MyTest/lib/jaxb-api-2.0.jar:/Volumes/Extra/MyTest/lib/jaxb-impl-2.0.5.jar:/Volumes/Extra/MyTest/lib/jaxws-api-2.0.jar:/Volumes/Extra/MyTest/lib/neethi-2.0.4.jar:/Volumes/Extra/MyTest/lib/protex-sdk-client.jar:/Volumes/Extra/MyTest/lib/saaj-api-1.3.jar:/Volumes/Extra/MyTest/lib/saaj-impl-1.3.2.jar:/Volumes/Extra/MyTest/lib/serializer-2.7.1.jar:/Volumes/Extra/MyTest/lib/stax-utils-20060502.jar:/Volumes/Extra/MyTest/lib/wss4j-1.5.4.jar:/Volumes/Extra/MyTest/lib/wstx-asl-3.2.4.jar:/Volumes/Extra/MyTest/lib/xalan-2.7.1.jar:/Volumes/Extra/MyTest/lib/xml-resolver-1.2.jar:/Volumes/Extra/MyTest/lib/xmlsec-1.4.0.jar
What am I missing?
dkulp wrote:
>
>
> As Glen stated, it's definitely picking up the RI built into the JDK and
> not
> CXF. Double check the jars being used for the classloader, check fork
> settings, etc....
>
> Dan
>
> ...
>
--
View this message in context:
http://www.nabble.com/SOAP-in-Ant-Task---RuntimeModelerException%3A-...-BARE-but-it-has-more-than-o-tp23206964p23225667.html
Sent from the cxf-user mailing list archive at Nabble.com.