Hello All ,
I have a B2B gateway service that receives XML Payload from AS2 protocol and puts it on to MQ Queue. However, during the process we have encountered issues with the message; the received message is getting altered than original. In other words, 'XML Declaration' at the top of XML original message is getting stripped off during the process.
when we used the option in XML Manager to ignore the reference to the external dtd and parse the payload. At this time DataPower replaces the external reference with empty space but we need the reference declaration also to be parsed along with XML.
Please let me know if anyone has met with similar problem and resolution.
Pinned topic B2Bgateway XML parsing issue
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-30T03:32:16Z at 2012-11-30T03:32:16Z by SFBK_Sridhar_Pilla
Re: B2Bgateway XML parsing issue2012-11-29T20:24:06ZThis is the accepted answer. This is the accepted answer.Hello guys ,
I am really struck at the defined issue any suggestion/solution would help me great !!
Thank for looking into the issue..
HermannSW 2700006U545498 Posts
Re: B2Bgateway XML parsing issue2012-11-29T22:29:24ZThis is the accepted answer. This is the accepted answer.
- SFBK_Sridhar_Pilla 270002SFBK
No xml-declaration is the same as '<?xml version="1.0" encoding="utf-8"?>'.
So if your output is UTF-8 encoded any compliant XML processor would not need an xml-declaration.
Re: B2Bgateway XML parsing issue2012-11-30T03:32:16ZThis is the accepted answer. This is the accepted answer.
- HermannSW 2700006U54
Its not XML declaration ..I want to parse and avail external reference tag with out validation.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE ichicsr PUBLIC "-//ICHM2//DTD ICH ICSR Vers. 2.1//EN" "http://safety-prd.bsci.bossci.com/edc-icsr-v2.1.dtd">
I am looking forward to parse external reference dtd without validation ...I mean parse reference tag along with payload .