try
{
m_context.setSecure(false);
instance = new Instance(metaclass, m_context);
State state = new State(service, true);
state.setReservedValue(0, instance);
state.setReservedValue(1, state);
state.setValue(Service.OUTPUT, sOutput);
state.setToken(service, message);
int i = 0;
for (Pair pair = args; pair != null; pair = pair.getNext())
{
if (i >= service.getArgumentCount())
{
i = -1;
break;
}
state.setValue(service.getArgument(i++), pair.getHead());
}
if (i != service.getArgumentCount())
{
throw new IntegrationException("err.integration.service.argCount",