B
Ben Edwards (lists)
I have the below code to get info about SOAP services at a wsdl url. It
gets the in parameters OK but does not seem to get out/return
parameters. Any idea why?
Ben
from SOAPpy import WSDL
import sys
wsdlfile = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl"
server = WSDL.Proxy(wsdlfile)
for methodName in server.methods:
print "method = ", methodName
callInfo = server.methods[ methodName ]
for inParam in callInfo.inparams:
print " inparam = ", inParam.name, inParam.type
for outParam in callInfo.outparams:
print " outparam = ", outParam.name, outParam.type
gets the in parameters OK but does not seem to get out/return
parameters. Any idea why?
Ben
from SOAPpy import WSDL
import sys
wsdlfile = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl"
server = WSDL.Proxy(wsdlfile)
for methodName in server.methods:
print "method = ", methodName
callInfo = server.methods[ methodName ]
for inParam in callInfo.inparams:
print " inparam = ", inParam.name, inParam.type
for outParam in callInfo.outparams:
print " outparam = ", outParam.name, outParam.type