2

我正在尝试生成处理此处记录的 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.pohttp://www.validwsdl.com/ ...)

我该如何解决这个问题?

谢谢,

4

0 回答 0