private String namespace = "http://xml.apache.org/axis/TestBody";
private String request = "<?xml version=\"1.0\"?>\n" + "<soap:Envelope " + "xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" " + "xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\">" + "<soap:Body>\n" + "<method xmlns=\"" + namespace + "\">\n" + "<arg>5</arg>" + "</method>\n" + "</soap:Body>\n" + "</soap:Envelope>\n";
public void testBodyNamespace() throws Exception {
SimpleProvider provider = new SimpleProvider();
// register the service with the engine
SOAPService target = new SOAPService(new RPCProvider());
provider.deployService(new QName(null,namespace), target);
// setup
AxisEngine engine = new AxisServer(provider);
engine.init();