Hi Experts,
We have a PO installation on PI 7.31 SP 03. We developed a BPM process in NWDS 7.31 SP 03 and deployed on PI server.
Scenario -- SOAP --> PI --> BPM
Problem -- BPM process fails and in Log viewer (NWA) we see that PI Operation Mapping that is called inside BPM and fails with error: RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_CombineSapAndPrimaveraReadResponses_Thrown:com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:Messages/ns0:Message1/ns1:MT_Standard/SelectionCriteria/Primavera/QueryElement/attribute. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD.
The problem is the xml from UI (SOAP) to PI has this value and data in it. This is also mapped in the event trigger of the BPM. However, inside the BPM the value seems to be lost.
The data type of "attribute" is string as with other elements in the xml which have the value and pass through the mapping.
Attached is the screenshot of xml before reaching BPM. and screenshot of context data in BPM which does not contain the value.
It may be something very small that we are overlooking but this has become a show stopper for now.
Any help regarding this will be much appreciated.
Thanks,
Latika.