【问题标题】:Sending soap xml on Oracle在 Oracle 上发送肥皂 xml
【发布时间】:2014-07-08 18:50:26
【问题描述】:

我如何在 Oracle 上发送后续的 soap xml。我找到了一些关于这个问题的主题,但我没有根据指定的主题解决这个问题。实际上我基本上想发送这个消息。

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <registerFor xmlns="http://tempuri.org/">
            <composite xmlns:a="http://schemas.datacontract.org/2004/07/ServiceWcf" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <a:AppKey>456DSFSDFDS789DSFSDFSDF</a:AppKey>
                <a:AppSecret>SDFSDF7894DSF465DSF46546DSFSDF</a:AppSecret>
                <a:args xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                    <b:KeyValueOfstringanyType>
                        <b:Key>username</b:Key>
                        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">mjora</b:Value>
                    </b:KeyValueOfstringanyType>
                    <b:KeyValueOfstringanyType>
                        <b:Key>body</b:Key>
                        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">Message detail</b:Value>
                    </b:KeyValueOfstringanyType>
                </a:args>
            </composite>
        </registerFor>
    </s:Body>
</s:Envelope>

【问题讨论】:

    标签: xml oracle soap


    【解决方案1】:

    常用的方法有两种:

    • 使用普通的 PL/SQL 和 UTL_HTTP 包发送请求;
    • 使用UTL_DBWS 包与SOAP 级别的文档样式服务进行交互。

    对于这两种情况,网络上有很多示例,甚至在 StackOverflow(serach-1serach-2)上也是如此,而且这个话题过于笼统,无法在答案中发布完整的解释。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多