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.
This topic has been locked.
3 replies Latest Post - 2012-11-30T03:32:16Z by SFBK_Sridhar_Pilla
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
HermannSW 2700006U544325 PostsACCEPTED ANSWER
Re: B2Bgateway XML parsing issue2012-11-29T22:29:24Z in response to SFBK_Sridhar_PillaWhy do you need an XML declaration?
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:16Z in response to HermannSWThanks for the reply ..
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 .