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 container =
new AxisWebServiceContainer(location, wsdlURL, service, wsdlMap, cl);
InputStream in = cl.getResourceAsStream("echoString-req.txt");
try {
AxisRequest req =
new AxisRequest(
504,
"text/xml; charset=utf-8",
in,
0,
new HashMap(),
location,
new HashMap(),
"127.0.0.1");
ByteArrayOutputStream out = new ByteArrayOutputStream();
AxisResponse res = new AxisResponse("text/xml; charset=utf-8", "127.0.0.1", null, null, 8080, out);
req.setAttribute(WebServiceContainer.POJO_INSTANCE, pojoClass.newInstance());
container.invoke(req, res);
out.flush();
log.debug(new String(out.toByteArray()));
} finally {
if (in != null) {