【发布时间】:2017-06-10 08:21:09
【问题描述】:
我的肥皂反应喜欢
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<Response xmlns="http://tempuri.org/">
<Result>
<Result>LOGON FAILED</Result>
</Result>
</Response>
</soapenv:Body>
</soapenv:Envelope>
但是,我需要更改命名空间和响应的前缀,并且必须喜欢这个。
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<Response xmlns="http://tempuri.org/">
<Result>
<Result>LOGON FAILED</Result>
</Result>
</Response>
</soapenv:Body>
</soap:Envelope>
【问题讨论】:
-
看看这篇文章:mqseries.net/phpBB/…
-
您的问题有点令人困惑,因为您在标题中谈论了请求,但您在问题中谈论了响应。无论如何,您是否已经阅读过这个问题? stackoverflow.com/q/2524191/4894900也许有帮助!
-
谢谢,已更改标题
-
命名空间前缀的值在它们引用同一个命名空间之前没有区别,所以我不明白你为什么需要这样做。
标签: messagebroker ibm-integration-bus