开发者

wsimport try to resolve by namespace

开发者 https://www.devze.com 2023-01-13 15:04 出处:网络
Is it possible for wsimport to ignore \"import\" tags in wsdl that are http-linked to som开发者_StackOverflow中文版e XSD files and insted use XSD files provided next to the wsdl file?. I know svcutil

Is it possible for wsimport to ignore "import" tags in wsdl that are http-linked to som开发者_StackOverflow中文版e XSD files and insted use XSD files provided next to the wsdl file?. I know svcutil is able to do so.


you can use an XML catalog to help tell wsimport how/where to resolve schema elements.

xmlcatalog ant docs

defines the xmlcatalog task for ant. you can reference the catalog via the "catalog" attribute of the wsimport ant task, or via the -catalog command line option of wsimport.

jaxws xml catalog docs

I hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消