I have a problem with SUDS , python2.7 and OpenShift . when I try to query the web service WSDL throws me the error:
URLError: <urlopen error [Errno 13] Permission denied>
This is the address of the WSDL that it generates the error.
suds.client import from Client
urlmps = ' http://www.mps.com.co:91/ArticuloDisponible.asmx?wsdl '
c = Client ( urlmps )
print c
URLError: <urlopen error [Errno 13] Permission denied>
When I try to query from webservicex.net if it works.
suds.client import from Client
url = ' http://www.webservicex.net/globalweather.asmx?WSDL '
client = Client ( url )
print client
Suds ( https://fedorahosted.org/suds/ ) version: 0.4 GA build: R699 - 20100913
Service ( GlobalWeather ) tns = " http://www.webserviceX.NET "
Prefixes (0)
Ports ( 2):
( GlobalWeatherSoap )×
Methods ( 2):
GetCitiesByCountry ( xs : string CountryName , )
GetWeather ( xs : string CityName , xs : string CountryName , )
Types ( 0):
( GlobalWeatherSoap12 )
Methods ( 2):
GetCitiesByCountry ( xs : string CountryName , )
GetWeather ( xs : string CityName , xs : string CountryName , )
Types ( 0):
The full track error in the pastebin..
http://pastebin.com/UgxtwPWP
Note: Running virtual environment from my local computer works perfectly, what I find is that the port 91 is denied from OpenShift.
Thanks,
Mario Pardo