我有一個NetBeans項目,並試圖創造一個Web服務客戶端與WSO2 ESB下面的WSDL在這example 4.6.0,如:WSO2 ESB使用AuthenticationAdmin
https://localhost:9443/services/AuthenticationAdmin?wsdl
但當NetBeans的嘗試創建客戶端我收到一個錯誤:
爲什麼會發生這種情況?我創建了其它Web服務客戶端,他們的工作,但這不是工作,我不知道爲什麼......
如果我嘗試用eclipse我也得到一個錯誤:
IWAB0399E Error in generating Java from WSDL: java.io.IOException: ERROR: Missing <soap:fault> element inFault "AuthenticationAdminAuthenticationException" in operation "AuthenticationAdminAuthenticationException", in binding logout
java.io.IOException: ERROR: Missing <soap:fault> element inFault "AuthenticationAdminAuthenticationException" in operation "AuthenticationAdminAuthenticationException", in binding logout
at org.apache.axis.wsdl.symbolTable.SymbolTable.faultsFromSOAPFault(SymbolTable.java:2858)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.java:2549)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:744)
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:722)
也許WSDL有錯誤?