从WSDL生成Java时出错:java.io.IOException:发射器失败

时间:2014-10-20 09:20:51

标签: java eclipse web-services wsdl aramex

我正在尝试整合Aramex Shipments Tracking API。我下载了WSDL文件并完成了 Web服务→Web服务客户端→为WSDL文件提供服务定义→单击下一步并完成。但后来我收到以下错误:

IWAB0399E Error in generating Java from WSDL:  java.io.IOException: Emitter failure.  
There is an undefined binding (BasicHttpBinding_Service_1_0) in the WSDL document.
Hint: make sure <port binding=".."> is fully qualified.
java.io.IOException: Emitter failure.  There is an undefined binding (BasicHttpBinding_Service_1_0) in the WSDL document.
Hint: make sure <port binding=".."> is fully qualified.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:570)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:715)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Thread.java:701)

我该如何解决这个问题?

0 个答案:

没有答案