google-code-export / wordpress-web-service

Automatically exported from code.google.com/p/wordpress-web-service
2 stars 1 forks source link

Error parsing the WSDL file: http://172.16.0.137:8080/test/index.php/wpws/?wsdl Error retrieving WSDL file at http://172.16.0.137:8080/test/index.php/wpws/?wsdl #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error parsing the WSDL file: http://172.16.0.137:8080/test/index.php/wpws/?wsdl 
Error retrieving WSDL file at 
http://172.16.0.137:8080/test/index.php/wpws/?wsdl What steps will reproduce 
the problem?

Original issue reported on code.google.com by Peer.Sa...@gmail.com on 19 Apr 2012 at 5:11

GoogleCodeExporter commented 9 years ago
Is port 8080 creating a problem?
the default port on my server is 80 not 8080,

but where to change this ..?

I changed it  in wpws.wsdl 
<wsdl:port name="WordPressWebServiceHttpSoapEndpoint"
            binding="impl:WordPressWebServiceSoapBinding">
            <wsdlsoap:address location="http://localhost:80/test/index.php?/wpws" />
        </wsdl:port>

But it dosen't help??

Original comment by Peer.Sa...@gmail.com on 19 Apr 2012 at 5:20

GoogleCodeExporter commented 9 years ago

Generic SOAP Client

http://www.soapclient.com/soap client?template=/clientform.ht 
ml&fn=soapform&SoapTemplate=no ne&SoapWSDL=http%3A%2F%2F172.1 
6.0.137%3A8080%2Ftest%2Findex. php%2Fwpws%2F%3Fwsdl 

Original comment by Peer.Sa...@gmail.com on 19 Apr 2012 at 5:21

GoogleCodeExporter commented 9 years ago
http://www.soapclient.com/ is somehow buggy itself but I couldn't find an 
alternative online SOAP client.
Please open http://172.16.0.137/test/index.php/wpws/?wsdl and verify that line 
480 reflects you actual address.
If that's the case everything should be fine. Just try out WPWS with you SOAP 
client.

If not you have to find out why your installation uses port 8080.
The file wpws.template.wsdl contains no working address. The address is filled 
in dynamically.
When accessing http://172.16.0.137/test/index.php/wpws/?wsdl the file 
wordpress-web-service.php send the actual wsdl file to the caller. The address 
is retrieved by wpws-access.php method wpws_getBlogUrl() which relies on a 
correctly configured WP_HOME constant.
It seems like you run your WordPress installation on :8080 for test cases and 
now want to run it on port 80. For this you have to configure your WordPress' 
address accordingly.

Original comment by 0x1010...@gmail.com on 20 Apr 2012 at 11:33

GoogleCodeExporter commented 9 years ago

Original comment by 0x1010...@gmail.com on 21 Jun 2013 at 1:44