%@ include file='/jcore/doInitPage.jsp' %>
<%@ page import="org.apache.axis.client.Call,org.apache.axis.client.Service,javax.xml.namespace.QName,net.webservicex.www.*" %>
<%
String inputIP = request.getParameter("IP");
if ( Util.notEmpty(inputIP) ) {
GeoIPService service = new GeoIPServiceLocator();
GeoIPServiceSoap serviceSOAP = service.getGeoIPServiceSoap();
GeoIP geoIP = serviceSOAP.getGeoIP(inputIP);
%>
IP : <%= inputIP %>
<%= geoIP.getCountryName() %>
<% } // fin du if inputIP %>