Implment some funciton the Soap client.

@joostfaassen Please review this.