soap api script output processing