首页> 外国专利> Method and system for dynamically specifying a format for data provided by a web service invocation

Method and system for dynamically specifying a format for data provided by a web service invocation

机译:动态指定Web服务调用提供的数据格式的方法和系统

摘要

A method and system for dynamically specifying a format for data provided by a web service invocation. A server providing a web service receives a client request for data residing on the server. The server receives an executable template script within the request. The template script includes an instruction for invoking a function residing in the server and a definition specifying a format to structure the requested data. The server executes the template script to perform the instruction, invoke the function to retrieve the data, and generate formatted data based on the definition. The formatted data is the retrieved data structured in the format specified by the definition. The server sends the formatted data to the client.
机译:一种用于动态指定Web服务调用提供的数据格式的方法和系统。提供Web服务的服务器接收客户端请求,以请求驻留在该服务器上的数据。服务器在请求中接收可执行模板脚本。模板脚本包括用于调用服务器中存在的功能的指令以及用于指定用于构造所请求的数据的格式的定义。服务器执行模板脚本以执行指令,调用该函数以检索数据,并根据该定义生成格式化的数据。格式化的数据是按定义指定的格式构造的检索数据。服务器将格式化的数据发送到客户端。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号