cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI Message Mapping: weird XSD validation error

cimerman
Participant
0 Kudos
1,120

Dear colleagues,

I am absolutely confused with the behavior of CPI Message Mapping. When I upload an XSD file as a source message schema, it is just fine. No compaints. When I upload EXACTLY the same file as a target message schema, I get a validation error. Of course, no useful error message, anything that could give me any indication.

Just to be very clear - I am uploading the same file only to confirm my suspection there is a problem in CPI, not in my XSD, after playing around several hours with x variants of XSD file. XSD is really not a rocket science, so it seems there is a bug in the system. Have any of you run into a similar trouble and is there a way to deal with it, please?

To give you some more background, I tried to upload a JSON schema in it first, to see if it would work. Of course it did not, but maybe it broke something somewhere in a buffered table, who knows... any idea how to clear it? Reset to factory settings?

I don't want to resort to Groovy mapping, because I expect frequent changes in the structure, so I would prefer to have it in an independent message mapping artifact. 

Any hints really appreciated!

Best regards

Denis

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello ,

These fields occurrence is 1 to 1 that's the reason you are getting validation error. Either you map this with source data or right click on those field and map with constant.

Answers (0)