Skip to main content
Solved

Calling FME Server via C#, I want to report status back to user when calling process

  • September 28, 2017
  • 3 replies
  • 8 views

dfresh
Forum|alt.badge.img

I am using C# to call FME server and want to report messages back to the user. say I have a workbench and I want to post a message "Halfway Complete", then in C#, I would continuously check the feed, and relay any messages posted from that workbench,

Cheers,

Best answer by stalknecht

You can communicate through websockets. For FME you can use the WebSocketSender and WebSocketReceiver. Optionally you can use FME Server Notifications. Here is a C# library that uses websockets (websocket-sharp):https://github.com/sta/websocket-sharp#websocket-client

View original
Did this help you find an answer to your question?

3 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 29, 2017

Hi @dfresh,

That is a interesting topic.

To use the integration between FME Desktop and Server has the FME Server Playground: C# Request to FME Server.

Thanks,

Danilo


stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • September 29, 2017

You can communicate through websockets. For FME you can use the WebSocketSender and WebSocketReceiver. Optionally you can use FME Server Notifications. Here is a C# library that uses websockets (websocket-sharp):https://github.com/sta/websocket-sharp#websocket-client


dfresh
Forum|alt.badge.img
  • Author
  • September 29, 2017
stalknecht wrote:

You can communicate through websockets. For FME you can use the WebSocketSender and WebSocketReceiver. Optionally you can use FME Server Notifications. Here is a C# library that uses websockets (websocket-sharp):https://github.com/sta/websocket-sharp#websocket-client

 

Thanks @stalknecht, I will be using websocket-sharp and the sender/receiver transformers.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings