0

我在 WSO2 ESB 有一个非常简单的 API,如下所示:

    <resource methods="POST" uri-template="/query">
  <inSequence>
     <property name="messageType" value="application/json" scope="axis2"></property>
     <property name="ContentType" value="application/json; charset=utf-8" scope="axis2"></property>

     <payloadFactory media-type="xml">

        <format>
            <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <soap:Body>
                <Query xmlns="http://testws.example.com/">
                  <foo>$1</foo>
                </Query>
              </soap:Body>
            </soap:Envelope>
        </format>

        <args>
           <arg evaluator="json" expression="$.foo"></arg>
        </args>
     </payloadFactory>
     <header name="Action" value="http://testws.example.com/query"></header>

     <send>
        <endpoint>
           <address uri="https://testws.example.com/query.asmx" format="soap11"></address>
        </endpoint>
     </send>
  </inSequence>

我更改了一些信息。我的端点是一个基于 .NET 的 Web 服务。当我使用此查询服务时,出现 101507 错误并取消端点。我真的不知道该怎么做这个问题。一些附加信息:

  • Endpoint 支持 SSLV3,但它也支持 TLS1。
  • WSO2 也支持 SSLV3
  • 当我尝试 SoapUI、Java 或 C# 客户端时;这个查询网络服务就像一个魅力!
  • 尽管证书在浏览器中显示为安全。我必须将端点地址证书添加到 WSO2 密钥库。因为 WSO2 不接受证书作为“安全”

我应该怎么办?有没有什么?提前致谢...

4

0 回答 0