def __call__(self, ps, post, action, address=None):
method = self.getCallBack(ps, post, action)<EOL>if (isinstance(method.__self__, WSAResource) or<EOL>isinstance(method.__self__, SimpleWSResource)):<EOL><INDENT>return method(ps, address)<EOL><DEDENT>return method(ps)<EOL>
ps -- ParsedSoap representing the request
           post -- HTTP POST --> instance
           action -- Soap Action header --> method
           address -- Address instance representing WS-Address