#2015493 reported by thomashuang025 . Error when test soap webservice without any parameter . Added additional checks to avoid notices for undefined values.