Skip to main content
Question

Change service name in rest URL

  • January 28, 2018
  • 3 replies
  • 25 views

boubcher
Contributor
Forum|alt.badge.img+11

hello

is it possible to change the service name in Direct URL generated by fme server to run the workspace

this is required by the client in order to follow their internal standard

from :https://" domainename"/fmedatastreaming/parks/parks.fmw?

TO: https://" domainename"/apiservicestream/parks/parks.fmw?

Thanks

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

david_r
Celebrity
  • January 29, 2018

In principle, you should be able to simply rename the service URL in the FME Server admin interface, under Admin > Services.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • January 29, 2018

Not working we get an ( http 404 not found)


Forum|alt.badge.img

Hi @boubcher,

 

this might be possible if, in addition to the service URL, you also change the folder name of the service accordingly in <FME_Server_Install_DIR>\\Utilities\\tomcat\\webapps.

Please note that this is not tested on our side, so proceed with caution as you might need to revert your changes if you experience any problems.

The solution I would recommend is to use a 3rd party application to create an API for your FME services. Here is an article demonstrating this with AWS API Gateway:

 

https://knowledge.safe.com/articles/24147/tutorial-creating-web-services-using-fme-server.html

 

If you want to use a different cloud service provider, you could look into solutions such as Apigee Edge or 3scale. If you're looking for an on-premises solution, you can consider products such as Nginx API Gatewayor Kong.

Hope this helps!