转载于http://5894434.blog.51cto.com/5884434/986247
InBound编写
创建HTTP_InBound Adapter Rule
填写HTTP_URL为/weather ,找到service id跟operation,增加parameter name list更改data format为promapper message,编码填写为utf-8,点击incoming information的mapping进行映射
把编写好的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
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27716745/viewspace-743012/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27716745/viewspace-743012/