Fixing soap service bug again.

Not sure what happened, but previous bug fix appears not to have made it in to the merge.