当我在 Jboss 4.2.3 中实例化可能的 Webservice 客户端时,我得到以下异常。
看起来 Web 服务客户端只是从类路径加载 WSDL。
当 Jboss 尝试打开以下 URL 时出现问题:“file:/C:/ta30/progs/JBoss423_EntwicklerVersion/jboss-4.2.3.GA.ZPV/server/default/tmp/jbossws/JBossWS_xx.xx.xx_namespace_xxx-xx_xxx_20040201 #967130196328257771.xsd"
有谁知道这个问题可能是什么原因?
Caused by: java.lang.NullPointerException
at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:179)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:401)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:86)
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:140)
at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:64)
at javax.xml.ws.Service.<init>(Service.java:81)