cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Message Root Validation

Former Member
0 Kudos

Hi,

I have a sync message interface with a SOAP receiver. The soap service sits outside my network so I can't change anything there. I'd like to know if anyone knows of a way to validate a source structure and respond with a error message back on the sync channel if some element is missing on the source structure? Currently I'm only getting a soap exception cause it's missing a element value. The question isn't specific to this scenario so any sync interface will do. I'm just looking for a way to interrupt the process and respond to the sync service before I send my message on to my target operation.

Cheers,

Jan

Accepted Solutions (1)

Accepted Solutions (1)

ambrish_mishra
Active Contributor
0 Kudos

Hi Jan,

If you are looking to validate the source schema, you can do so in Sender channel (if such an option is available). This will result in an error at adapter level but there is no way to respond back to sender system without a custom design and may involve BPM.

Depends upon your sender system and how you are handling the design.

I am however curious to know why is it required to report back fields missing. Why not mark them as mandatory from source.

Hope it helps!

Ambrish

Former Member
0 Kudos

Thanks Ambrish, that's a good idea for this scenario. I'll try and make the source structure's fields mandatory. But yes, other than ccBpm I can't think of any other way of doing any sort of validation before it gets send out.

sunil_singh13
Active Contributor
0 Kudos

Jan,

There is xml validation available at Adapter engine level.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d026d253-3108-2c10-69a0-a5460fc1f...

If Validation fails and you have alert setup, you can notify sender through email.

Thanks,

Sunil Singh

Answers (1)

Answers (1)

0 Kudos

This message was moderated.