Posted: Fri Jan 28, 2005 3:21 am Post subject: so your thoughts on this folks would be appreciated
Knight
Joined: 14 Jul 2004 Posts: 550
many thanks for help so far am out of practice i suppose
ok i now route the messafges correctly based on the input
inital failure were due to the fact that i was using domain XMLNS once i switched to XML all was wonderful in the world of me
now output has to be in xmlns as the structure is chaning to HL7
i have out in a RCD to change domain to XMLNS and the code to handle rebuilding the message with correct data however the following error now occurs
Code:
ParserException BIP5010E: XML Writing Errors have occurred.
Errors have occurred during writing of XML.
Review further error messages for an indication to the cause of the errors.
2005-01-28 10:57:38.074745 1076 ParserException BIP5013E: In the XMLNS domain XMLNS attributes must be specified in the ESQL using the NamespaceDecl correlation name.
The XMLNS attribute xmlns was specified as an Attribute not as a NamespaceDecl element.
Modify the ESQL to specify the correlation name NamespaceDecl for the element.
Now this error happens after the last line of esql after the message has been propgated to the out terminal
in the application log the error is
Code:
In the XMLNS domain XMLNS attributes must be specified in the ESQL using the NamespaceDecl correlation name.
The XMLNS attribute xmlns was specified as an Attribute not as a NamespaceDecl element.
Modify the ESQL to specify the correlation name NamespaceDecl for the element.
now am assuming that the error is in
Code:
SET "OutputRoot"."XMLNS"."DispenseNotification".(XML.attr)xmlns = 'urn:hl7-org:v3';
SET "OutputRoot"."XMLNS"."DispenseNotification".(XML.attr)xmlns:xsi= 'http://www.w3.org/2001/XMLSchema-instance';
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
Quote:
Modify the ESQL to specify the correlation name NamespaceDecl for the element.
You need to implement this.
There is an example in ESQL manual (page 109). _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
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