Skip to main content
Question

Datastreaming Service - Workbench content to treat an Upload Body

  • January 3, 2025
  • 1 reply
  • 17 views

fred.haan
Contributor
Forum|alt.badge.img+1

Hello,

I want to create a workbench for a datastreaming service, that will be call through fmedatastreaming.

I want to test and call this service with a FME workbench including an httpcaller transformer.

Il a want to pass information through an Upload Body. How this information will be pass and how to interpete this in the workbench of datastreaming?

 

Do you have an exemple ?

 

Thanks

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • January 5, 2025

When calling the Data Streaming Service, anything in the body is saved to a temporary file and passed through to the reader. As per: https://docs.safe.com/fme/html/FME-Flow/ReferenceManual/service_datastreaming.htm

 

So if you’re building the process to accept JSON, you’ll use a JSON reader. To simulate this in Form, you would have the reader referencing a file that contains the test Body