我正在尝试生成处理此处记录的SOAP服务的文件:http://www.ncbi.nlm.nih.gov/books/NBK55699/
但是wsimport失败了:
$ wsimport -d generated "http://www.ncbi.nlm.nih.gov/blast/netblast/blastws.cgi?WSDL"
parsing WSDL...
[ERROR] Schema descriptor {http://www.ncbi.nlm.nih.gov}Blast4-queue-search-request-lite in message part "request" is not defined and could not be bound to Java. Perhaps the schema descriptor {http://www.ncbi.nlm.nih.gov}Blast4-queue-search-request-lite is not defined in the schema imported/included in the WSDL. You can either add such imports/includes or run wsimport and provide the schema location using -b switch.
line 15 of http://www.ncbi.nlm.nih.gov/blast/netblast/blastws.cgi?WSDL
但是,我测试的WSDL验证器没有显示任何错误(http://xmethods.net/ve2/Tools.po,http://www.validwsdl.com/ ...)
如何解决此问题?
谢谢,