Forum Discussion

rmedeiros's avatar
rmedeiros
New Contributor III
4 years ago

Parallel or Async API call

Hi!
I’m calling an API thats giving me a 500 for some of the requests. I contacted the API admin, and he told me to make parallel or async calls.
How can i make it using Snaplogic?
I read a post here about using concurrency snap, but i cant find the snap.

2 Replies

  • acesario's avatar
    acesario
    Contributor II

    Mithila,
    Apologies for the delayed response, I was out of the country. Here is what you are asking for, let me know if you need more detail.

    The Soap Execute, Customize Envelope contents are exactly as follows:
    #evaluate($XML)

    Upstream from this is a mapper with Expression set to $Content and the Target Path set to $XML.

    The input to the mapper is a SOAP message, which comes from my XSLT. Apologies but I cannot share the soap wrapped XML with you.