I had the same problem, after a few hours I found that the problem was related to IPv6.
When I go to the service url, I can see and check the wsdl file. There were no problems.
http:
But when I add this URL to SoapUI, it gives an Unexpected element: TAG_END . I found the reason using cURL, curl http://localhost/SoapServer.php?wsdl returns 404 !!
So I realized that my Apache listens for both IPv4 and IPv6, the browser goes to IPv6 and gets wsdl, but cURL and SoapUI go to IPv4 and get a 404 error.
I disabled IPv6 on my Apache by deleting the line Listen [::0]:80 in the httpd.conf file, this solved the problem.
endo64
source share