return method;
}
public void testOneWay() throws Exception {
ServiceDescription service = new ServiceDescription(serviceName);
OperationDescription operation = new OperationDescription(operationName);
operation.setMessageReciever(new MessageReceiver() {
public void recieve(MessageContext messgeCtx) throws AxisFault {
envelope = messgeCtx.getEnvelope();
}
});
service.addOperation(operation);
configContext.getAxisConfiguration().addService(service);
Utils.resolvePhases(configContext.getAxisConfiguration(), service);
ServiceContext serviceContext = configContext.createServiceContext(serviceName);
SOAPFactory fac = OMAbstractFactory.getSOAP11Factory();