Forum Discussion

aaron_ehrensber's avatar
aaron_ehrensber
Contributor
17 years ago

populate multiple webservice nodes from datasource for 1 webservice call

I know how to write a DataSource to select 100 IDs.

I know how to inject them into 100 webservice calls actiing on each ID. 

But, is it possible to take those 100 IDs and put them into 100 IDs as child nodes inside of 1 webservice call?  How would I do that?  Is there an example anywhere on that?  I couldn't easily find one, unfortunately.

aaron

1 Reply

  • Hi Aaron,


    Yes, it is possible.
    You could use Data Sink of type Property to generate a custom request containing an arbitrary number of values that you're loading in a DataSource Loop. Prefix would contain the initial part of your web service request, the Suffix the end part, while Content would be the part that would need to be repeated for each ID you have loaded via DataSource.

    The resulting property you can use as raw text representation for your request.

    Let us know if you managed to build a request composed of multiple IDs.


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla