2

每次使用 SOAPUI 运行我的脚本时,我都会收到以下错误。它说连接被拒绝。请帮忙。在我看来,存在一些防火墙问题,但是当我与我的网络人员交谈时,他们认为这不是防火墙。

java.lang.NullPointerException
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlMessageExchangeResponseView.writeHttpBody(HttpHtmlMessageExchangeResponseView.java:211)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlMessageExchangeResponseView.setEditorContent(HttpHtmlMessageExchangeResponseView.java:190)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlMessageExchangeResponseView.buildContent(HttpHtmlMessageExchangeResponseView.java:106)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlMessageExchangeResponseView.getComponent(HttpHtmlMessageExchangeResponseView.java:66)
at com.eviware.soapui.support.editor.Editor.addEditorView(Editor.java:83)
at com.eviware.soapui.impl.support.components.ResponseMessageXmlEditor.<init>(ResponseMessageXmlEditor.java:49)
at com.eviware.soapui.impl.wsdl.support.MessageExchangeResponseMessageEditor.<init>(MessageExchangeResponseMessageEditor.java:33)
at com.eviware.soapui.impl.wsdl.support.MessageExchangeResponseMessageEditor.<init>(MessageExchangeResponseMessageEditor.java:28)
at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildResponseTab(ShowMessageExchangeAction.java:192)
at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildContent(ShowMessageExchangeAction.java:98)
at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildFrame(ShowMessageExchangeAction.java:88)
at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.actionPerformed(ShowMessageExchangeAction.java:76)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$LogListMouseListener.mouseClicked(JTestRunLog.java:228)
at java.awt.AWTEventMulticaster.mouseClicked(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.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
4

3 回答 3

17

肥皂用户界面

尝试在 SOAP-UI 中禁用代理,如附加的屏幕截图所示。或在 SOAP UI 全局首选项中的代理设置下提供有效的代理连接。

通过禁用代理首选项 SOAP UI 可以离线工作。

希望它可以解决您的问题。

谢谢,马丹

于 2013-08-28T09:07:43.560 回答
0

Is this servie or your server is password protected? You can try these things, Find end point url in ur wsdl (under soap: address location tag), execute it in browser. Hopefully it will be returning some error, That means this particular webservice or connection is not available. If it is executing succesfully then try to find the logs or error from server for your request and post here.

Thanks, ambuj

于 2013-12-13T12:51:09.407 回答
0

我对旧版本的soapUI 有同样的错误。当我使用 SoapUI 5.2.0 时,它起作用了。

于 2015-09-14T18:19:39.027 回答