gpt4 book ai didi

payment-gateway - 使用网络资源的 SOAP API 时出错

转载 作者:行者123 更新时间:2023-12-01 03:58:53 25 4
gpt4 key购买 nike

我正在尝试使用基于 SOAP 的 Cyber​​source 支付网关服务。目前我正在尝试使用 Cyber​​source 提供的测试环境来测试示例测试信用卡交易。

  • 使用 WSDL 在 SOAP UI 中创建了一个项目:https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.80.wsdl
  • SOAP UI 生成了测试方法 runTransaction。
  • 我将 Cyber​​source 文档中提供的相同 SOAP 消息复制到 SOAP UI 中作为 SOAP 消息,我在下面给出。
  • 当我发送此请求时,我收到以下错误:

  • 如果有人以前做过这方面的工作或遇到过这个问题,请提供指点。谢谢!

    内存

    回复:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext" xmlns:c="urn:schemas-cybersource-com:transaction-data-1.0">
    <faultcode>soap:Client</faultcode>
    <faultstring>Element ():requestMessage not supported.</faultstring>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>

    SOAP 消息:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/ wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>username</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">TQc3LSaKfGWfgccqYX3mGhXfhBqnjyVzf5g1aeP3mDPFoMlFDfyKrKnhrqt2bHm3QeXTF1l+Aku/v4sFwIctcGtMNkwZDTMjxAAvuqnmedTa/Q9YxCS8OlhdYWOpJOAQGdyvT6bb0496RuzWN07kQZsPExY8BQDBpll6jpLvdQ6qbBK7MFSnO/2YbFaAaZIaFd+EGqePJXN/mDVp4/eYM8WgyUUN/IqsqeGuq3ZsebdB5dMXWX4CS7+/iwXAhy1wa0w2TBkNMyPEAC+6qeZ51Nr9D1jEJLw6WF1hY6kk4BAZ3K9PptvTj3pG7NY3TuRBmw8TFjwFAMGmWXqOku91Dg==</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <urn:requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.80">
    <urn:merchantID>username</urn:merchantID>
    <urn:merchantReferenceCode>MRC-123</urn:merchantReferenceCode>
    <urn:billTo>
    <urn:firstName>John</urn:firstName>
    <urn:lastName>Doe</urn:lastName>
    <urn:street1>1295 Charleston Road</urn:street1>
    <urn:city>Mountain View</urn:city>
    <urn:state>CA</urn:state>
    <urn:postalCode>94043</urn:postalCode>
    <urn:country>US</urn:country>
    <urn:email>null@cybersource.com</urn:email>
    </urn:billTo>
    <urn:item id="0">
    <urn:unitPrice>5.00</urn:unitPrice>
    <urn:quantity>1</urn:quantity>
    </urn:item>
    <urn:item id="1">
    <urn:unitPrice>10.00</urn:unitPrice>
    <urn:quantity>2</urn:quantity>
    </urn:item>
    <urn:purchaseTotals>
    <urn:currency>USD</urn:currency>
    </urn:purchaseTotals>
    <urn:card>
    <urn:accountNumber>4111111111111111</urn:accountNumber>
    <urn:expirationMonth>11</urn:expirationMonth>
    <urn:expirationYear>2020</urn:expirationYear>
    </urn:card>
    <urn:ccAuthService run="true"/>
    </urn:requestMessage>
    </soapenv:Body>
    </soapenv:Envelope>

    最佳答案

    检查服务器上的时间。我最近遇到了完全相同的问题,结果服务器时间关闭了 15 分钟。

    关于payment-gateway - 使用网络资源的 SOAP API 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14990671/

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