By: Burak Tuncel user 13 Dec 2018 at 7:20 a.m. CST

3 Responses
Burak Tuncel gravatar
Hi Gluu Support Team, i'm using duo security for authentication and i added a few codes into the "duo authentication script" to try to provide soap request while it is authenticating. After that, it couldn't dot that also it crashed duo sec. I installed required libs(zeep,requests..). First, Do libraries must be in speacial directory? Second, Is Soap call possible with gluu server? Or, Can you offer me to do something to make real? You can find code that i used. Thanks for attention. from requests import Session from zeep import Client from zeep.transports import Transport session = Session() session.verify = 'path_Of_Certificate.pem' transport = Transport(session=session) client = Client( 'https://...?wsdl', transport=transport) try: with client.settings(raw_response=True): print 'connected' soap_result = client.service.displayMessage(...) except: print 'error'

By Mohib Zico staff 19 Dec 2018 at 4:17 a.m. CST

Mohib Zico gravatar
Hello, [Here]( is the customization doc which might assist you. Thanks!

By Burak Tuncel user 19 Dec 2018 at 6:28 a.m. CST

Burak Tuncel gravatar
Hi, I read []( this document and wrote a script but script includes zeep library and it calls lxml library for TSL connection. lxml library uses c-based api for etree(Element Tree) and jython doesn't support that. Error code is : **from lxml import etree ImportError: cannot import name etree** etree is created as c language-based api and jython can't run the code because of this. Is there any idea to solve this problem? Thanks.

By Aliaksandr Samuseu staff 20 Dec 2018 at 10:36 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Burak. Complex development-related questions like this cannot be covered by Community Support, unfortunately.