在JSF上调用WebService

时间:2016-07-03 19:34:03

标签: web-services jsf

我想在JSF索引页面上调用webservice。我怎么认证? 多数民众赞成我的主要代码没有jsf。

project explorer

我的主要

    GeoIPService service = new GeoIPService();

    GeoIPServiceSoap soap = service.getGeoIPServiceSoap();

    GeoIP geoIP = soap.getGeoIP("195.142.175.195");

    System.out.println(geoIP.getCountryName());

    System.out.println(geoIP.getCountryCode());

    System.out.println(geoIP.getIP());

    System.out.println(geoIP.getReturnCodeDetails());

0 个答案:

没有答案