cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Web Service Call

Former Member
0 Kudos

Hi Experts,

I have a scenario : IDoc to Web Service. Multiple IDocs will be recieved by PI . The Web service's WSDL had occurence of 1..1. Is it possible in PI to call the web service for each individual IDoc? Kindly Suggest.

We are working on PI 7.3 Java stack . Please let me know if more information is needed.

Thanks,

Pankaj

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>Is it possible in PI to call the web service for each individual IDoc? Kindly Suggest.

yes -  use java idoc adapter and you can do the split mapping to call WS

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

A correction, PI will recieve a single IDoc with multiple PO data. The WS should be called the number of times the PO data occurs. As WS can only handle single PO.

Thanks,

Pankaj

rajasekhar_reddy14
Active Contributor
0 Kudos

Try using multi mapping and build mapping loggic to generate multiple WS record based on PO data.

or

check with Web service team , if you change occurance to 1 to unbounded and if you post all PO records in one shot will it create any problem, if they confirm Target system handles multiple PO's in one call then change occurance in WSDL and buld mapping logic to send multiple POs.

This is good design

Regards,

Raj

Former Member
0 Kudos

Hi Raja,

The change in occurance of the WSDL would be the last resort as the web service is als being used by multiple systems already and this change would be impacting other systems. Could you please provide the mapping logic to generate multiple WS record based on PO data.

Thanks

Pankaj