public void setUp()
throws Exception
{
super.setUp();
ObjectServiceFactory osf = new ObjectServiceFactory(getTransportManager()) {
protected boolean isOutParam(Method method, int j)
{
if (j >= 1) return true;
return super.isOutParam(method, j);
}
protected boolean isInParam(Method method, int j)
{
if (j >= 1) return false;
return super.isInParam(method, j);
}
protected boolean isHeader(Method method, int j)
{
if (j == 2) return true;
return super.isHeader(method, j);
}
};
service = osf.create(MultipleOutService.class, null, "urn:MultipleOutService", null);
service.setProperty(ObjectInvoker.SERVICE_IMPL_CLASS, MultipleOutServiceImpl.class);
getServiceRegistry().register(service);
}