gpt4 book ai didi

web-services - 使用 SOAPUI 连接 Web 服务时出错

转载 作者:行者123 更新时间:2023-12-05 08:16:36 26 4
gpt4 key购买 nike

每次使用 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)

最佳答案

Soap UI

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

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

希望它能解决您的问题。

谢谢,马丹

关于web-services - 使用 SOAPUI 连接 Web 服务时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18389415/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com