简体   繁体   English

使用 XML 中的 CDATA 作为参数

[英]Using CDATA in XML as Parameter

I have a soap request xml which takes a xml string as parameter.我有一个 soap 请求 xml ,它将 xml 字符串作为参数。 Using postman I am getting this error.使用 postman 我收到此错误。 Please help me to solve this issue.请帮我解决这个问题。 I tried many ways but failed.我尝试了很多方法,但都失败了。

在此处输入图像描述

Now, facing another issue after using CDATA suggested by @Yitzhak Khabinsky.现在,在使用@Yitzhak Khabinsky 建议的 CDATA 后面临另一个问题。

在此处输入图像描述

As you can see in the above picture I am getting "SUCCSS" message but the tpXmlData parameter which takes xml string always sending null while execution via postman.正如您在上图中看到的那样,我收到“SUCCSS”消息,但采用 xml 字符串的 tpXmlData 参数在通过 Z03D476861AFD384510F2CB80CCFA851Z 执行时始终发送 null

Here is my SOAP Envelop:这是我的 SOAP 信封:

在此处输入图像描述

I have solved the issue like this:我已经解决了这样的问题:

<![CDATA[]]>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM