Forum Discussion

PhilipASmith's avatar
14 years ago

Null Pointer Importing Service WSDL

Hi,

I have defined a new web service and have split my definition across two wsdl files. One dealing with the 'static' interface definitions such as Types, Messages, and PortTypes. The second wsdl imports this interface definition and simply provides the service endpoint bindings. The advantage being that I can have multiple 'implementation' or 'endpoint' wsdls for differing environments and regions but all implementing the same static interface definition.

This is something I thought was relatively common practice and I have been doing for sometime and implementing with Apache Axis and WCF but I have never previously attempted to build a soapUI project around such wsdl.

I am running soapUI 3.6.1 and when creating my project and atempting to import the 'implementation' wsdl I get the following java.lang.nullPointer:

java.lang.NullPointerException
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.importWsdl(NewWsdlProjectAction.java:223)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(NewWsdlProjectAction.java:154)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(NewWsdlProjectAction.java:54)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Does anyone have any suggestions or advice that may be able to help please?
No RepliesBe the first to reply