|
| I have written a portlet client that runs on WebSphere Portal Server 6.0 that uses SOAP to access webservices running on a Websphere 6.0 application
server. I am using systinet wasp for Java 6.5.1. The client gets the following wsdl exception when parsing the wsdl file, which looks to be related to
the import statement inside the wsdl file.
[2/23/07 13:25:56:277 PST] 00000041 SystemErr R Caused by: WSDLException: faultCode=PARSER_ERROR: Cannot process import: 'null'
(java.lang.NullPointerException):
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:677)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:551)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:309)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:272)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:198)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:338)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wasp.wsdl.WSDLRepositoryImpl.getDefinition(WSDLRepositoryImpl.java:158)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.idoox.wasp.SOAPServiceInfoCache.getServiceInfos(SOAPServiceInfoCache.java:46)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.systinet.wasp.webservice.ServiceClientImpl.lookup(ServiceClientImpl.java:556)
[2/23/07 13:25:56:464 PST] 00000041 SystemErr R at com.systinet.wasp.webservice.ServiceClientImpl.createProxy(ServiceClientImpl.java:437)
[2/23/07 13:25
Based on my wsdl file I don't know why I am getting a error when parsing the import tag. Any ideas why I would get this exception for this wsdl file?
Here is my wsdl file:
<?xml version="1.0"?>
<definitions
name="FNCEWS40DIME"
targetNamespace="http://www.mycompany.com/ns/fnce/2006/11/ws/DIME/wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:ddef="http://www.mycompany.com/ns/fnce/2006/11/ws/DIME/wsdl"
xmlns:cdef="http://www.mycompany.com/ns/fnce/2006/11/ws/wsdl"
xmlns:ctyp="http://www.mycompany.com/ns/fnce/2006/11/ws/schema"
xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:ref="http://schemas.xmlsoap.org/ws/2002/04/reference/" >
<import location="FNCEWS40.wsdl" namespace="http://www.mycompany.com/ns/fnce/2006/11/ws/wsdl"/>
..
..
..
..
FNCEWS40.wsdl exists. I also wrote a JSF servlet client (with the same code) that runs on WebLogic 9.1 that uses SOAP (and the same wsdl files) to
access the same webservices running on the same Websphere 6.0 application server without getting the wsdl exception above.
Thanks in advance.
|
|