|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Esql code for SAP Idoc |
« View previous topic :: View next topic » |
Author |
Message
|
nabin |
Posted: Tue Aug 03, 2010 3:37 am Post subject: Esql code for SAP Idoc |
|
|
Novice
Joined: 11 Mar 2010 Posts: 16
|
Hello All,
I have configured SAP ALE Inbound Adapter. Am getting inbound Idoc from SAP. Then using compute node I am formating the IDoc into proper XMl format as required by destination system.
Here I am facing 1 issue
I have to include below statement in response xml
<!Doctype order orderdetail output.dtd>>
Please tell me the esql code to do the above.
Thanks in Advance. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Aug 03, 2010 4:13 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
nabin |
Posted: Wed Aug 04, 2010 12:47 am Post subject: |
|
|
Novice
Joined: 11 Mar 2010 Posts: 16
|
Thanks for the reply,
Yeah u r correct its 'SYSTEM' before output.dtd
basically it should be as
<!Doctype order SYSTEM output.dtd>
I went through the link provided by you.
My problem is like I have to include this dtd declaration in my xml is there any other way to do it?
Or its not possible?
Please reply
Thanks in Advance. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Aug 04, 2010 2:01 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
You *could* change to XMLNS to output the DTD, but that would mean copying your XMLNSC tree to an XMLNS tree. That's a tricky business, because the two parsers use a different style of tree.
To be honest, I think the easiest option is to convert the XMLNSC tree to a BLOB ( using ASBITSTREAM) and use ESQL's string manipulation functions to insert the DTD. Not pretty, but probably effective. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|