正在加载图片...
FUDAN-adweb MyEclipse开发基于 Restful的 Web Service教程 whh 也可点击菜单栏中测试图标,选择 Launch REST web services Explorer I2 Launch SOAP Web Services Explorer Webs 2 Launch REST Web Services Explorer 4.4.WadlUrl>:http://localhost:8080/mywebserviCedemo/services/apPlication.wadl REST Web Services Ex REST Web Services Explorer DlUrlhttp://ocalhost:8080/mywebserviceDemo/services/application.wadl Select a node on the navigation bar (on the left side of this page)to test 45.展开左侧目录树 MyWebService Demo/ demotes/ example,点击Test按钮即可看到返 回的字符串 ■ REST Web Services Explorer WadlUrLhtTp:/loCaLhost:b080/mywebservicedemo/servIces/applICatioN.wadi 白 demorest 司 example Response: whh 46.如果在浏览器中浏览该地址,将得到一个xm文件 因 localhost soBo/ Mweb x c A Localhost 8080/MywebServiceDermo/services/application, wadl 我的收□技术收 This XL file does not appear to have any style infornation associated with it. The document tree is shown belo dev jwa. net/ jersey:genet exaple”) regenation aediaTypes"text/htl"/> /htal 至此, MyEclipse开发基于 Restful的 Web Service完成 9/9FUDAN-adweb MyEclipse 开发基于 Restful 的 Web Service 教程 whh 9 / 9 也可点击菜单栏中测试图标,选择 Launch REST web services Explorer 4.4. WADL URL 为:http://localhost:8080/MyWebServiceDemo/services/application.wadl 4.5. 展开左侧目录树 MyWebServiceDemo/demotest/example,点击 Test 按钮即可看到返 回的字符串。 4.6. 如果在浏览器中浏览该地址,将得到一个 xml 文件 至此,MyEclipse 开发基于 Restful 的 Web Service 完成
<<向上翻页
©2008-现在 cucdc.com 高等教育资讯网 版权所有