Category : web-services

Hi there I’m trying to test my code in a separate testing folder but every time i try and perform a python3 test on it, it says NameError: name ‘word_count’ is not defined even though I’ve imported the folder that has this name defined as you can see? Can anyone help? ` wordcount code: def ..

Read more

I’m attempting to create a client with the zeep python library from a local WSDL file and getting the errors below. /zeep/wsdl/wsdl.py:352: UserWarning: The wsdl:message for ‘{http://www.example.com/CoreApi}SubmitRequest_InputMessage’ contains an invalid part (‘parameters’): invalid xsd type or elements warnings.warn(str(exc)) /zeep/wsdl/wsdl.py:352: UserWarning: The wsdl:message for ‘{http://www.example.com/CoreApi}SubmitRequest_OutputMessage’ contains an invalid part (‘parameters’): invalid xsd type or elements warnings.warn(str(exc)) ..

Read more

I am running the following code with python 3 and works just fine: #!/usr/bin/env python from pysimplesoap.client import SoapClient import time import sys def get_item(info, item): item = [i[item] for i in info if item in i] return item ppx = sys.argv[1] c = SoapClient(wsdl="http://%s/getwsdl.php" % ppx, soap_server="oracle") ID=9 services=[{"ts":0, "sv":50}, ] pepe = c.getServiceOutFilters(idOut="0", ..

Read more