【问题标题】:invoke external webservice in openesb在openesb中调用外部Web服务
【发布时间】:2015-06-10 05:48:59
【问题描述】:

我在本地创建了一个简单的网络服务。 在 bpel 项目中导入其 wsdl 并尝试调用它。 我直接从浏览器测试了网络服务,它工作正常。 但是在 CA 中运行测试用例会给我以下错误。

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
  <faultcode>SOAP-ENV:Server</faultcode>
  <faultstring>BPCOR-6135: A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&amp;lt;jbi:message xmlns:sxeh=&amp;quot;http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling&amp;quot; type=&amp;quot;sxeh:faultMessage&amp;quot; version=&amp;quot;1.0&amp;quot; xmlns:jbi=&amp;quot;http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper&amp;quot;&amp;gt;&amp;lt;jbi:part&amp;gt;The server sent HTTP status code 500: Unable to connect&amp;lt;/jbi:part&amp;gt;&amp;lt;/jbi:message&amp;gt;. Sending errors for the pending requests in the process scope before terminating the process instance</faultstring>
  <faultactor>sun-bpel-engine</faultactor>
  <detail>
    <detailText>BPCOR-6135: A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&amp;lt;jbi:message xmlns:sxeh=&amp;quot;http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling&amp;quot; type=&amp;quot;sxeh:faultMessage&amp;quot; version=&amp;quot;1.0&amp;quot; xmlns:jbi=&amp;quot;http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper&amp;quot;&amp;gt;&amp;lt;jbi:part&amp;gt;The server sent HTTP status code 500: Unable to connect&amp;lt;/jbi:part&amp;gt;&amp;lt;/jbi:message&amp;gt;. Sending errors for the pending requests in the process scope before terminating the process instance
Caused by: BPCOR-6131: An Error status was received while doing an invoke (partnerLink=PartnerLink2, portType={http://testWs/}TestWebService, operation=hello)
BPCOR-6129: Line Number is 44
BPCOR-6130: Activity Name is Invoke1
Caused by: The server sent HTTP status code 500: Unable to connect</detailText>
  </detail>
</SOAP-ENV:Fault>

【问题讨论】:

    标签: web-services soap bpel open-esb


    【解决方案1】:

    您能否准确地说出您正在使用的版本和版本。 您能否先使用诸如 SOAP UI 之类的工具来查看您的 WSDL(具体部分:端口、IP)是否正常。 然后,如果 wsdl 没问题,那么您尝试做的事情必须有效。 你看过 OpenESB 文档吗? www.open-esb.net 您必须登录才能访问文档。

    如果您没有成功,请尝试通过 contact@open-esb.net 联系社区

    问候

    保罗

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-23
      相关资源
      最近更新 更多