cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple calls to a web service.

Former Member
0 Kudos

We have a requirment in which we are mapping a node "XXX" of an IDOC structure with a web service. Multiple occurences of a node "XXX" in IDOC are possible (1..9999). We want to make a separate webservice call for each occurence of "XXX" node. The occurence of "XXX" node veries between 1 to 9999. Any idea, how this can be implemented?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Amit,

Can you please tell us how did you resolve this issue? we are facing a similar issue.

Thanks for your feeback in advance.

Former Member
0 Kudos

Resolved.

prateek
Active Contributor
0 Kudos

Try with multi-mapping without BPM if the receiver side structure of all the webservices are same and same webservice needs to be called.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

The target strucure will be same for all the calls. Infact we are calling same webservice independently for each occurence of Source Node ("XXX"). For multimapping do I need to define any temporary structure. If yes please explain.

prateek
Active Contributor
0 Kudos

No temporary structure is required. Follow this

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Regards,

Prateek

Former Member
0 Kudos

Hello,

My suggestion is use BPM to split the message and using Block step for each message call webservice.

Regards,

Sreeni.

former_member200962
Active Contributor
0 Kudos

Hi,

If you want to use BPM for this requirtement the you can do it by including a Block in your BPM and having the mode as ForEach.

For more info refer this blog:

/people/milan.thaker/blog/2008/08/05/modes-in-block-step-of-bpm

Just make sure the values that you enter in the Multiline Element and Current Element of the BLock.

If not using BPM then you can also follow this blog:

/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool

Regards,

Abhishek.