span8
span4
span8
span4
本条已计提折旧,for current information on working with FME and REST,see theFME Server REST API Training course.
RPC web services are easier to create than REST web services,因为它们依赖于HTTP标准的一小部分。In another section we'll go through how to deal with the HTTP standard,but let's start with what is common between REST and RPC web services created with FME Server.Whether it's REST or RPC,it all starts with a workspace.Once the workspace is authored it is then published to FME Server to create a web service.
在本节中,我们将创建一个RPC Web服务,它将作为我们稍后创建的RESTWeb服务的基础。
The first we want the web service to provide all of the parks in GeoJSON format.
Use the Service
This service can now be used by an app to get the spatial and attribute information for all parks.
Retrieving all the parks is a good start,但应用程序可能只需要特定类型公园的信息。In this case we need to allow an option to be specified on the URL;HTTP参数。FME Server translates HTTP parameters into published parameters,这是FME工作区理解的选项。
This service can now be used by an app to get the spatial and attribute information for all parks,有狗公园或没有狗公园的人。
正在创建REST Web服务:6。支持HTTP POST (2015)
正在创建REST Web服务:7。Supporting HTTP PUT (2015)
403 Forbidden Error When Making FME Server Request
Creating REST Web Services: 9.Conclusion (2015)
正在创建REST Web服务:1。An Overview of REST and RPC (2015)
Creating REST Web Services: 2.Defining the Web Service (2015)
正在创建REST Web服务:3。Authorization and CORS (2015)
© 2019 亚搏在线Safe Software Inc |Legal