Forum Discussion

SuhasPothedar's avatar
SuhasPothedar
New Contributor II
8 years ago

How to expose a rest/soap call as a soap api

hi,
I have a use-case where I have to consume a SOAP/REST call/ service and expose the result to a webservice endpoint in SOAP way. How can we achieve this in snaplogic without using ultra pipeline?

thanks.

  • If you generate a separate Avro schema for each data file, you could save the schema to a file on sldb, then invoke a child pipeline using Pipe Exec, setting a pipeline parameter to specify the Avro schema file’s path. In the Avro Formatter in the child pipeline, the schema setting would be an expression you’d set to the value of the pipeline parameter.

    • Majid's avatar
      Majid
      New Contributor III

      Thank You @ptaylor … I am looking directions on ways to generate Avro schema dynamically using data file or copybook structure. Once the schema is generated and created in sldb I can sue above method to pass that to child pipeline so that Avro formatter can use it while creating Avro target file in S3.