Topic: 兄弟们帮助小弟 (WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at ...)

  Print this page

1.兄弟们帮助小弟 (WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at ...) Copy to clipboard
Posted by: dany
Posted on: 2003-02-27 11:01

[h:\webservice\wsif-all-2.0\wsif-2.0]java clients.DynamicInvoker http://localhost:7001/soap/HelloService.wsdl sayHello world
Reading WSDL document from 'http://localhost:7001/soap/HelloService.wsdl'
- WSIF0002E:从‘http://localhost:7001/soap/HelloService.wsdl’装入 WSDL 时发生
故障
Exception in thread "main" WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'http://localhost:7001/soap/HelloService.wsdl'.: no cont
ent-type: java.net.UnknownServiceException: no content-type
at java.net.URLConnection.getContentHandler(URLConnection.java:1059)
at java.net.URLConnection.getContent(URLConnection.java:583)
at java.net.URL.getContent(URL.java:974)
at com.ibm.wsdl.util.StringUtils.getContentAsReader(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
at clients.DynamicInvoker.invokeMethod(Unknown Source)
at clients.DynamicInvoker.main(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
at clients.DynamicInvoker.invokeMethod(Unknown Source)
at clients.DynamicInvoker.main(Unknown Source)
不知道如何解决?谢谢!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923