Len Josephs wrote:

Hello!

I'm trying to use Spring with a JAX-WS style service endpoint with the
2.0 release version of CXF (binary).  I'm a newbie so I'm trying to work
through this tutorial from the user guide on the wiki:
http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html

Of course I'm seeing the same parse exceptions Christian (and others)
have reported - the public URLs for the schema location are not
available.  This causes runtime issues when Spring starts resolving
dependencies.  In particular http://cxf.apache.org/schema/jaxws.xsd
doesn't seem to be available.
Hi Len,

You should use http://cxf.apache.org/schemas/jaxws.xsd instead.
And you are right, the inavailability of the schemas at http://cxf.apache.org has to do with the incubation status, but - at least as far as Spring's validating parser is concerned - that does not matter as the schemas are on the classpath. See http://cwiki.apache.org/CXF20DOC/schemas-and-namespaces.html

Cheers,
Andrea.

The http://cxf.apache.org/schema schemas currently doesn't resolve;
reading JIRA (cxf-673) and the mailing lists suggest that this problem
has to do with this being the desired URL for the schemas but that
cxf.apache.org is not yet available due to the incubator status of the
project....

Christian seems to have gotten past this by adding a dependency in his
Maven build files (I think)...

My question: what is the easiest and/or best way to work around this
issue?  Do I need to build from source?  Do I need a newer snapshot?  Do
I need to modify all my *.xsd files?

Thanks for helping,

Len

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to