On Mon November 16 2009 12:15:51 pm Christian Schneider wrote: > Hi Dan, > > that is very interesting. Will this feature also work for the > wsdlLocation in the binding.xml ? > This would partly solve my problem with the issue of reading wsdls from > maven repos.
I don't think so. The locations in the binding.xml are, per spec, I think, system locations. The catalogs are meant to map from public locations to system locations. Since the binding.xml things are already system locations, I don't think they apply. Dan > > Greetings > > Christian > > Daniel Kulp schrieb: > > This is exactly what the XML catalogs are designed for (and the -catalog > > flag on wsdl2java). Basically, they allow URL patterns and such used > > for imports to be mapped into new URL's where the stuff really lives. > > Thus, you can have "http://..." type URL's in the wsdl's/xsd's, but have > > those remapped into file things or such. > > > > Dan > > > > On Sat November 14 2009 9:31:43 am Dominik Raymann wrote: > >> Hi there, > >> > >> I use WSDL2JAVAto generate client code from a WSDL. I'd like to store > >> the WSDL (and all referenced dependencies) locally so that the stubs can > >> be generated offline. However, the WSDL references (imports) other WSDLs > >> as well as schema files. These references are absolute URLs. > >> > >> Is it possible to map these URLs to local files somehow or do I have to > >> edit the WSDL manually and change to URLs so that they point to the > >> local files? > >> > >> Or is there a tool (wsdl2java itself?) that downloads everything needed > >> for codegeneration and changes the references so that they point to the > >> local copies of the files? > >> > >> Thanks for your answer, > >> > >> Dominik > -- Daniel Kulp [email protected] http://www.dankulp.com/blog
