AnsweredAssumed Answered

Using the zeep-library in Arcpy

Question asked by torbjornd on Sep 25, 2017
Latest reply on Sep 25, 2017 by Dan_Patterson

Hi. I'm creating a python script which I'm going to publish as a geoprocessing service. The script is using the Zeep-library for connecting to a webservice (wsdl). I've written the script outside of ArcMap, and the script works fine when I run it. The wsdl is parsed and I can use the methods in the webservice. But when I try to run the script in ArcMap, I get an error 

 

AttributeError: 'NoneType' object has no attribute 'utf_8_decode'

 

when I try to create the client:

 

client = zeep.Client(wsdl = wsdlUrl)

 

If I import the arcpy module, I also get an error saying cannot import name multiarray.

 

Have anyone used zeep in connection with arcpy?

 

I'm using ArcMap 10.5 and the newest version of zeep.

 

Regards, Torbjørn

Outcomes