cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle multiple types in response message in Sync interfaces

Former Member
0 Kudos

Dear all,

I have the following case. A synchronous scenario that the response can be one of two possible external XSDs.

(i.e. one request that the response is eithe a succes message or error message). Both success or error response are external defintions (xsd). What is the best way to handle such a case? Do we need to have a BPM to process the request and how? My understanding is that multi-mapping and enhanced Interface determination only works for asynch interface, right? Any help will be appreciated.

S.Socratous

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You could create a datatype with both structures making all fields optinal which could be used in the response of the sync interface.

Former Member
0 Kudos

Yes I have thought of that but the two responses are from external xsd definitions with different namespaces and therefore I can not create such a datatype. As I mention above the web service gets a request and then has two possible replies (the two different xsd). Thanks.

former_member181962
Active Contributor
0 Kudos

Hi Socrates,

I remember a blog on the same issue.

Please search the forum. I'm sure you get the solution in the blog.

Regards,

Ravi