This property appeared in my 999 XML from the EDISend port IsGeneratedAck="true"
I had a SOAP message that contained a EDI 270. In the orchestration when I sent it out I got a 999 that I needed to put back in the SOAP message to return to sender. This property appeared on the XML root node.
<ns0:X12_999_Root IsGeneratedAck="true">
<ns0:ST>
<ST01>999</ST01>
<ST02>0065</ST02>
<ST03>005010X231A1</ST03>
</ns0:ST>
<AK1>
<>
Hey some days you gotta cheat. I converted the 999 XML to a string and removed the property that was giving us grief.
String2
= MQXMLRec.OuterXml;
String2
= String2.Replace("IsGeneratedAck=\"true\"","");
MQXMLRec3
= new System.Xml.XmlDocument();
MQXMLRec3.LoadXml(String2);
the IsGeneratedAck="true" Was not in any schema I could find.
This solved the problem and the XML loaded to X12_5010_999 without an issue.
Good Coding
Kent
No comments:
Post a Comment