Discussion:
Example wsdl2java catalog file
Shannon Hastings
2009-08-18 12:55:26 UTC
Permalink
I am looking for an example of the format of the wsdl2java catalog file. I
notice it has an option to take a catalog file and I am curious if this is a
file where a list of namespace to package mapping can live and if so what is
the format of this file.

--Shannon
Andrew Clegg
2009-08-18 13:26:25 UTC
Permalink
I am looking for an example of the format of the wsdl2java catalog file.  I
notice it has an option to take a catalog file and I am curious if this is a
file where a list of namespace to package mapping can live and if so what is
the format of this file.
AFAIK this is passed straight through to xjc, so try here:

https://jaxb.dev.java.net/guide/Fixing_broken_references_in_schema.html

Andrew.
--
:: http://biotext.org.uk/ ::
Daniel Kulp
2009-08-19 01:33:14 UTC
Permalink
Post by Andrew Clegg
Post by Shannon Hastings
I am looking for an example of the format of the wsdl2java catalog file.
I notice it has an option to take a catalog file and I am curious if
this is a file where a list of namespace to package mapping can live and
if so what is the format of this file.
Actually, no it's not. We handle all the catalog stuff ahead of time as the
catalogs have to apply to wsdl:imports as well. Thus, we process the catalog
things and pass the actual schemas to xjc.
Post by Andrew Clegg
https://jaxb.dev.java.net/guide/Fixing_broken_references_in_schema.html
Also check:


http://xml.apache.org/commons/components/resolver/resolver-
article.html#s.catalog.files
--
Daniel Kulp
dkulp-1oDqGaOF3Lkdnm+***@public.gmane.org
http://www.dankulp.com/blog
Loading...