I've found a solution - changing the targetNamespace to targetNamespace="http://tempuri.org/wspp/wsdl" and replacing all the ". $CFG->wwwroot ." from the wsdl_pp.php to http://tempuri.org. I have left the same only the location, at the bottom of the file (location="' . $CFG->wwwroot . '/wspp/service_pp.php") so that this URL might be changed dinamically at runtime, as in the attached file
Error on dynamically changing the WS URL
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.