[
https://issues.apache.org/jira/browse/CXF-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607643#action_12607643
]
Freeman Fang commented on CXF-1666:
-----------------------------------
Hi Brice,
Just paste comment from Dan Kulp about SM-1398
Related to this....
In CXF 2.1.1 (not in any of the 2.0.x series), I updated the java first stuff
to consult the OASIS catalogs. Thus, with 2.1.1, you can add a catalog to
your application that would point the w3c schemas to local copies and such.
With straight CXF, it's just adding a META-INF/jax-ws-catalog.xml file your
application. Not sure how to do it with ServiceMix.
Obviously, that doesn't help the 2.0.x stuff much. :-(
Dan
I believe in servicemix trunk (which use cxf 2.1.1 snapshot) we also can take
advantage of this feature, but I have no time to get it a try yet. Hopefully I
can figure it out ASAP.
Freeman
> org.apache.cxf.databinding.AbstractDataBinding.class, ws-addressing and
> offline workstation
> -------------------------------------------------------------------------------------------
>
> Key: CXF-1666
> URL: https://issues.apache.org/jira/browse/CXF-1666
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.1.1
> Environment: Used in servicemix during the creation of a webservice
> Reporter: Brice
>
> Hi all,
> Actually I am using CXF in Apache servicemix and I have a problem when I want
> to use a proxy. This "proxy" is some kind of webservice client created thanks
> to an annotated class.
> In this annotated class I am using wsaddressing classes either JAXWS
> compliant (javax.xml.ws.addressing.W3CEnpointReference) or CXF
> (org.apache.cxf.addressing.EndpointReferenceType).
> I work on an offline computer and I have an error during the creation of the
> proxy (done by spring)
> I found the problem: it changes the schemaLocation (ws-addr.xsd) and gives an
> internet address http://www.w3.org/2006/03/addressing/ws-addr.xsd
> As I can't access internet, it crashes, in debug mode I changed ("hot
> change") the value to ws-addr.xsd (my file) and it works.
> Is there another solution such as put the ws-addr somewhere in an
> archive/resource folder that can be automatically detect?
> TY
> Brice
> -------------------------------------------------------------------------------------------------------------------------------------
> I have already posted on servicemix forum:
> http://www.nabble.com/CXF-SE%3A-Error-during-the-creation-of-proxy-ts17819062.html
>
> If you need more information, but in fact I was quite wrong at the
> beginning...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.