service.setOption("className","org.apache.geronimo.axis.testData.echosample.EchoBean");
URI wsdlURL = new URI("echo.wsdl");
URI location = new URI(serviceDesc.getEndpointURL());
Map wsdlMap = new HashMap();
AxisWebServiceContainer continaer =
new AxisWebServiceContainer(location, wsdlURL, service, wsdlMap, cl);
InputStream in = cl.getResourceAsStream("echoString-req.txt");
AxisRequest req =
new AxisRequest(
504,
"text/xml; charset=utf-8",
in,
0,
new HashMap(),
location,
new HashMap());
AxisResponse res =
new AxisResponse("text/xml; charset=utf-8", "127.0.0.1", null, null, 8080, System.out);
req.setAttribute(WebServiceContainer.POJO_INSTANCE, pojoClass.newInstance());
continaer.invoke(req, res);
System.out.flush();
}