Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
The Challenge: I am trying to receive an XML file with the cXML routing header using the command RCVXML. But I am getting an error: Trading Partnership used on the RCVXML command can not have an XML Header.
The Solution: Because you are receiving the XML via the RCVXML command, there is no need for the XML header to determine which TPR it goes to. RCVXML does it by Trading Partner ID and translation format. Make the XML routing header to be *NONE.