iics - How to pass the <!DOCTYPE in Informatica Rest service request body - Stack Overflow

I have a rest API which I am trying to call from Informatica (IICS) service call (Integration Applicati

I have a rest API which I am trying to call from Informatica (IICS) service call (Integration Application process).The Target rest API is POST rest API which accept XML in body and the first line of request XML is <!DOCTYPE.

The issue is when I am trying to assign the request in IICS service call as formula I am getting validation error as "XPST0003: Expected '--' or '[CDATA[' after '<!".

Thanks for your help.

I have a rest API which I am trying to call from Informatica (IICS) service call (Integration Application process).The Target rest API is POST rest API which accept XML in body and the first line of request XML is <!DOCTYPE.

The issue is when I am trying to assign the request in IICS service call as formula I am getting validation error as "XPST0003: Expected '--' or '[CDATA[' after '<!".

Thanks for your help.

Share Improve this question asked Jan 17 at 15:51 Upendra SinghUpendra Singh 371 silver badge5 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You cannot directly include a <!DOCTYPE> declaration within the XML payload sent in the body of a REST request within Informatica IICS.

To pass the <!DOCTYPE in the Informatica REST service request body, you can escape the <!DOCTYPE declaration as follows:

<![CDATA[<!DOCTYPE your-doctype-here>]>

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745356854a4624170.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信