Products | Versions |
---|---|
TIBCO BusinessConnect SOAP Protocol | - |
Not Applicable | - |
Resolution:
Description
==========
When using the WSDL import tool, the following exception occurs:
Error parsing WSDL.: java.lang.NullPointerException
at com.tibco.ax.soap.tools.wsdl.BCWSDL.<init>(BCWSDL.java:165)
at com.tibco.ax.soap.tools.BCSOAPWSDLImport.loadWSDL(BCSOAPWSDLImport.java:140)
at com.tibco.ax.soap.tools.BCSOAPWSDLImport.main(BCSOAPWSDLImport.java:71)
Subexception stack trace follows:
java.lang.NullPointerException
at com.tibco.ax.soap.tools.wsdl.BCWSDL.<init>(BCWSDL.java:159)
at com.tibco.ax.soap.tools.BCSOAPWSDLImport.loadWSDL(BCSOAPWSDLImport.java:140)
at com.tibco.ax.soap.tools.BCSOAPWSDLImport.main(BCSOAPWSDLImport.java:71)
Subexception stack trace follows:
java.lang.NullPointerException
at com.tibco.ax.soap.tools.wsdl.BCWSDL.<init>(BCWSDL.java:159)
at com.tibco.ax.soap.tools.BCSOAPWSDLImport.loadWSDL(BCSOAPWSDLImport.java:14
Environment
==========
BusinessConnect SOAP Protocol 5.1
Resolution
==========
Make sure that a targetnamespace is declared inside the .wsdl file. The WSDL import tool will not work correctly unless one is declared.