InBound编写

创建HTTP_InBound Adapter Rule

填写HTTP_URL/weather ,找到service idoperation,增加parameter name list更改data formatpromapper message,编码填写为utf-8,点击incoming informationmapping进行映射

把编写好的HTTP_InBound_Rule进行发布

测试

ie访问如下url

http://192.168.0.218:9080/test/weather?name=beijing

http://192.168.0.218:9080/test/weather?name=nanjing

http://192.168.0.218:9080/test/weather?name=wulumuqi