Added null check for portType and methods[methodname].output

Fixed issue when node-soap was not working when porttype or methods[methodName].output was null/undefined or