Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jax-ws catalog

 
Hany Shafik
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I have a question related to the use of jax-ws-catalog.xml. Is it only beneficial when I have webservice client?
The specification jax-ws jsr 224 section 4.4 clearly says.

use of the catalog is in no way restricted to client uses of WSDL location URIs. In particular, resolutions of URIs to WSDL and schema documents that arise during the publishing of endpoint metadata (see 5.2.5) are subject to the requirements in this section, resulting in catalog-based URI resolutions.


and section 5.2.5 says.


When resolving URI references to other documents when processing metadata documents or any of the documents they may transitively reference, a JAX-WS implementation MUST use the catalog facility defined in section 4.4, except when there is a metadata document whose system id matches the URI in question. In other words, metadata documents have priority over catalog-based mappings.


I couldn't understand what does that means. Please could anyone explains this part of the specification using a valid usecase or an example.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic