Implementing a simple OWS service

13 篇文章 0 订阅

实现一个简单的OWS服务

This section explains How to Create a Simple GeoServer OWS service for GeoServer using the following scenario. The service should supply a capabilities document which advertises a single operation called “sayHello”. The result of a sayHello operation is the simple string “Hello World”.

本节介绍了如何在以下场景中创建一个简单的GeoServer OWS服务。该服务应该提供一个功能文档,为名叫“sayHello”的操作做介绍。sayHello操作的结果是一个简单的字符串“Hello World”。

目录

1. Setup

第一步是创建一个maven工程。

(1)创建一个hello目录。

(2)创建一个pom.xml

(3)创建src/main/java文件夹

2. Creating the Plug-in

A plug-in is a collection of extensions realized as spring beans. In this example the extension point of interest is a HelloWorld POJO (Plain Old Java Object).

一个插件就是一系列的spring bean,实现功能扩展。本例中扩展的兴趣点是一个HelloWorld POJO。

(1)Create a class called HelloWorld

(2)Create an applicationContext.xml declaring the above class as a bean.

3. Trying it Out

 

https://docs.geoserver.org/stable/en/developer/programming-guide/ows-services/implementing.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值