【发布时间】:2015-02-11 01:17:35
【问题描述】:
我正在尝试解析以下 SOAP 响应:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<TestFunctionResponse xmlns="http://tempuri.org/">
<TestFunctionResult>Verarbeitet: test</TestFunctionResult>
</TestFunctionResponse>
</s:Body>
</s:Envelope>
为此,我运行了一个 PL/SQL 函数:
l_value_xml := apex_web_service.parse_xml( p_xml => l_soap_response,
p_xpath => '/TestFunctionResult/text()',
p_ns => 'xmlns="http://tempuri.org/"'
);
它没有给我任何回应。我在 xpath 在线测试器中尝试了 xpath。也没有回应。我认为这是一个错误的命名空间,但我找不到错误。
【问题讨论】:
标签: xml soap xpath plsql oracle-apex