开发者

wsimport import fails with NCBI/Blast

开发者 https://www.devze.com 2023-04-03 06:39 出处:网络
I\'m trying to generate the files handling the SOAP services documented here: http://www.ncbi.nlm.nih.gov/books/NBK55699/

I'm trying to generate the files handling the SOAP services documented here: http://www.ncbi.nlm.nih.gov/books/NBK55699/

But wsimport fails:

 $ 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.g开发者_C百科ov/blast/netblast/blastws.cgi?WSDL

However, the WSDL validators I tested didn't show any error ( http://xmethods.net/ve2/Tools.po , http://www.validwsdl.com/ ...)

How can I fix this problem ?

Thanks,

0

精彩评论

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

关注公众号