BizTalk将字符串数据发送到Web服务
我有一个要求,我将接收xml数据,我必须以字符串的形式将此数据发送到Web服务。
I have a requirement where I will be receiving xml data, I have to send this data in form of string to web service.
我的xml数据将具有多个记录和这些完整记录应转换为字符串并发送到网络服务。
My xml data will be having multiple records and this complete records should be converted to string and send to web service.
我如何实现这一目标?
MBH
您好,
您能指定哪些信息需要发送到网络服务?如果必须将完整的XML作为字符串发送,可能最直接的方法是使用CDATA部分。例如:
Can you specify which information do you have to send to the Web Service? If you have to send the full XML as a string, maybe the most direct way is using a CDATA section. For example:
<Root>
<RequestString><![CDATA[<Data>...</Data>]]></RequestString>
</Root>
在CData部分中,您可以设置需要发送到Web服务的XML内容。
Inside the CData section you can set the XML content you need to send to the Web Service.
问候。