Fix soap client throwing exception, if response is just a string

Some requests my return a simple "OK" string instead of an array. These
caused the client to incorrectly throw an ApiException.