Fixed bug with the soap api endpoint