yubangzi
落雨流伤
采纳率0%
2017-10-27 09:19 阅读 1.5k

xfire 调用远程webservice接口 no protocol: null

java.lang.RuntimeException: java.net.MalformedURLException: no protocol: null
at org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:71)
at org.codehaus.xfire.wsdl11.parser.XmlSchemaURIResolver.resolveEntity(XmlSchemaURIResolver.java:34)
at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:684)
at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:538)
at org.apache.ws.commons.schema.SchemaBuilder.handleSchemaElementChild(SchemaBuilder.java:1516)
at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:659)
at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:551)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:360)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:188)
at org.codehaus.xfire.client.Client.initFromDefinition(Client.java:264)
at org.codehaus.xfire.client.Client.(Client.java:236)
at org.codehaus.xfire.client.Client.(Client.java:246)
at cn.com.XfireClient.main(XfireClient.java:14)
Caused by: java.net.MalformedURLException: no protocol: null
at java.net.URL.(URL.java:585)
at java.net.URL.(URL.java:482)
at java.net.URL.(URL.java:431)
at org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:67)
... 12 more

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • liuyaoerer liuyaoerer 2017-10-27 12:01

    org.apache.ws.commons.schema.resolver.DefaultURIResolver.resolveEntity(DefaultURIResolver.java:67

    点赞 评论 复制链接分享

相关推荐