Slow response calling webservice from task vs soap ui

We are invoking a web service from a task and it seems to be taking on average 10seconds longer than if we invoke the service from soap ui using the same input.
Does anyone have any experience with a similar problem? Are there any configuration settings we can look at to solve this issue?

If you have 8.2, you could use the diagnostic tools to evaluate the time spent executing the webservice. What is probably happening is that the javascript is taking a long time to swap out the new UI for the old UI.

To verify that you could use some of the fancier browser tools like Firebug.

If possible try to minimize the amount of UI that needs to be refreshed.