NullPointer.PointerException occurs during WSDL import.
book
Article ID: KB0085988
calendar_today
Updated On:
Products
Versions
TIBCO BusinessConnect SOAP Protocol
-
Not Applicable
-
Description
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
Resolution ========== Make sure that a targetnamespace is declared inside the .wsdl file. The WSDL import tool will not work correctly unless one is declared.
Issue/Introduction
NullPointer.PointerException occurs during WSDL import.