[ https://issues.apache.org/jira/browse/CXF-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15152295#comment-15152295 ]
ASF GitHub Bot commented on CXF-6768: ------------------------------------- GitHub user nwbirnie opened a pull request: https://github.com/apache/cxf/pull/108 [CXF-6768] Add ws-addr schema to catalog for offline support in WS-Discovery This patch addresses the issue with the ws-addr schema not being available without an internet connection. You can merge this pull request into a Git repository by running: $ git pull https://github.com/nwbirnie/cxf cxf6768 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cxf/pull/108.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #108 ---- commit 749cf41ce2a410526041018cbd8b485a0a488518 Author: Nick Birnie <nick.bir...@seebyte.com> Date: 2016-02-16T17:15:03Z [CXF-6768] Add ws-addr schema to catalog for offline support ---- > WS-Discovery missing schema when internet connection not present > ---------------------------------------------------------------- > > Key: CXF-6768 > URL: https://issues.apache.org/jira/browse/CXF-6768 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 3.1.4 > Reporter: Nick Birnie > > When running WS-Discovery without an internet connection, it would appear > that a document (ws-addr.xsd) referenced in the WS-D schema is not available. > The WS-Discovery service is published based on a schema that is included in > cxf-services-ws-discovery-api.jar with the name > wsdd-discovery-1.1-wsdl-os.xsd. This is located by > WSDiscoveryServiceImpl.java directly from the classpath. However, that schema > fails to parse without an internet connection, due to a missing miport on > ws-addr.xsd, which can be found in in cxf-core.jar/schemas.wsdl. However, I > believe there's no reason to expect this to be available to the XML parser, > since it's never registered in a OASIS catalog. > I did try compiling CXF and registering ws-addr.xsd via the > META-INF/jax-ws-catalog.xml format, but didn't get it to work. > Can anyone confirm if this is expected behaviour or if I'm doing something > wrong? -- This message was sent by Atlassian JIRA (v6.3.4#6332)