I am trying to access a web service that I created in Eclipse Indigo. I have all the files, the classes and and the Wsdl file all created. Below is my index.jsp and what happens here is that I return a law company depending on the case and court selected. But What I have failed to find is how to connect to them through a dynamic page i.e. a JSP page. Any advice is highly appreciated
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"pageEncoding="ISO- 8859-1"%>
<%@ page import="java.net.URL,javax.xml.namespace.QName,java.net.URL,,javax.xml.ws.Service,org.lao.ws.Findlawyers;"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Law Courts Home Page</title>
</head>
<body>
<form action="index.jsp" method="get">
<select name="selectcourt" id="selectcourt">
<option value="concourt">Constitutional Court</option>
<option value="highcourt">High Court</option>
<option value="magcourt">Magistrates Court</option>
<option value="supremecourt">Supreme Court</option>
</select>
<input type="radio" name="Case Type" value="casecivil" id="CaseType_0" />
Civil</label>
<br />
<label>
<input type="radio" name="Case Type" value="casecriminal" id="CaseType_1" />
Criminal</label>
<%
String casetype = "";
String selcourt = "";
String lawyers = "";
%>
<%=lawyers %></th>
</form>
</body>
</html>