开发者

wsimport try to resolve by namespace

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜