Websphere ESB SOAPExtract 节点包络目标的写法

zhou2003737 2013-06-05 09:33:21
一个webservices请求后,返回xml数据,如何使用soapextract 节点只取返回的xml而不要其他数据?
例如
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axis="http://ws.apache.org/axis2">
<soapenv:Header/>
<soapenv:Body>
<axis:getData>
<!--Optional:-->
<i>1</i>
</axis:getData>
</soapenv:Body>
</soapenv:Envelope>

经过我下面的包络设置

后得到的数据是:
<ns:getDataResponse xmlns:ns="http://ws.apache.org/axis2">
<return><![CDATA[<WiotMessage xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:noNamespaceSchemaLocation="WiotMessage.xsd"><Header><ServiceName>Test-serviceName</ServiceName><Sender>Test-Sender</Sender><CreateTime>Wed Jun 05 09:28:31 CST 2013</CreateTime></Header><Body>Test-body</Body></WiotMessage>]]></return>
</ns:getDataResponse>

如何设置至得到<![CDATA[这部分内容]]>?求大神支招。
另外如果要做成动态路由,返回的目标是动态的如何实现?
...全文
110 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
u011028891 2013-06-10
  • 打赏
  • 举报
回复

2,633

社区成员

发帖
与我相关
我的任务
社区描述
WebSphere 是 IBM 的软件平台。它包含了编写、运行和监视全天候的工业强度的随需应变 Web 应用程序和跨平台、跨产品解决方案所需要的整个中间件基础设施,如服务器、服务和工具。
社区管理员
  • WebSphere社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧