}
}
public void test2WebServiceHandlers() throws Exception {
String contextPath = "/foo/webservice.ws";
MockWebServiceContainer webServiceInvoker = new MockWebServiceContainer();
container.addWebService(contextPath, null, webServiceInvoker, null, null, null, null,cl);
String contextPath2 = "/bar/webservice.ws";
MockWebServiceContainer webServiceInvoker2 = new MockWebServiceContainer();
container.addWebService(contextPath2, null, webServiceInvoker2, null, null, null, null,cl);
HttpURLConnection connection = (HttpURLConnection) new URL("http://localhost:5678" + contextPath).openConnection();
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));