cancel
Showing results for 
Search instead for 
Did you mean: 

web service and map query

former_member183906
Active Contributor
0 Kudos

hi,

i am using PI 7.31 single stack system.

the requirement is -

A message comes from web tool - SOAP sender

PI has to get the message and check the message details AND call a web service from a different application - this webservice will tel which mapping to be executed in PI.

After that PI will execute d mapping.

Can you please share your thoughts how web service will be called from PI.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

>>PI has to get the message and check the message details AND call a web service from a different application - this webservice will tel which mapping to be executed in PI.

U should have phrased ur question in a better manner.

I believe ur call is async? Secondly what do u mean by checking message details?

Executing different mapping means u have one inbound (sender) and different outbound (target) structures, but the output of mapping (let it be any structure) needs to be send to one target system or u have multiple receiver systems involved?

In case u have only one receiver system then u can think of using multimapping concept, so using soap lookup query WS and depending upon the response execute correct mapping.

In case u have multiple receiver systems, then the answer has already been provided above where u can use Extended RD.

Thanks

Amit Srivastava

former_member184720
Active Contributor
0 Kudos

Hi - AFAIK - You can not decide which graphical mapping needs to be executed through a webservice call.

isn't it possible to keep those conditions in PI ? (Whatever the validation that your second webservice does for determining the mapping)

if not either you have to go for Java mapping /

Try the below approach if it works.

Use enhanced receiver determination - in the receivers mapping call the second webservice and determine the receiver system (you might have to define multiple receiver systems)

Based on that mapping you'll determine the receiver and execute the required mapping.

Former Member
0 Kudos

Can you please refer the below post  if it helps.