Skip to main content
Question

Publishing to FME Server using REST

  • June 28, 2013
  • 3 replies
  • 9 views

Forum|alt.badge.img
Hi,

 

 

I'm trying to publish a workspace to FME Server using REST without success.

 

 

There are actually two ways of doing that:

 

http://docs.safe.com/fme/html/FME_Server_Documentation/Default.htm#REST_API_Doc/PUT%20repositories%20repository1.htm#_Toc279139163

 

http://docs.safe.com/fme/html/FME_Server_Documentation/Default.htm#REST_API_Doc/POST%20repositories%20repository.htm#_Toc279139164

 

 

Does anyone succeeded to publish a workspoace using any of those methods and if yes, can you provide a sample piece of code that is working (any language but prefered one is vbscript).

 

 

Thanks,

 

Larry

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • July 2, 2013
I assume you have read this?:

 

 

Required Parameters

Accessing the REST interface requires a security token, which can be generated using the FME Server token service. The security token is a string of encrypted information sent between client and server to manage authentication.

For information about requesting a security token, see Token Service in the FME Server Reference Manual or FME REST Security in the FME Server Developer's Guide.

The following example is a GET request to list all available repositories, and includes the security token parameter:

httpRequest.open("GET", "/fmerest/repositories.json?token="+token_, true);

 

http://docs.safe.com/fme/html/FME_Server_Documentation/Default.htm#REST/REST_Required_Parameters.htm

Forum|alt.badge.img
  • Author
  • July 2, 2013
Yes I read that.

 

 

I fact, we are doing lots of things using REST but we are unable to publish a workspace.

 

 

I've already a support call opened with SAFE but I was wondering if someone actually succedded.

 

 

Larry

 


Forum|alt.badge.img