Adding SOAP outgoing connection

Hello,

I’m learning about zato and I’m trying to convert a SOAP service into REST API.

To do so I followed this topic on zato blog : Zato Blog

I used this site to test the soap request : https://www.ebi.ac.uk/europepmc/webservices/soap?wsdl

When I click “OK” after completing the creation of the outgoing object I get the following errors :

2021-12-07 15:44:18,004 DEBG 'server1' stdout output:
2021-12-07 15:44:18,004 - WARNING - 211:DummyThread-67 - zato.server.connection.http_soap.outgoing:0 - Error while adding a SOAP client to `https://www.ebi.ac.uk/europepmc/webservices/soap?wsdl` (Suds SOAP) e:`Traceback (most recent call last):
  File "/opt/zato/3.2.0/code/zato-server/src/zato/server/connection/http_soap/outgoing.py", line 462, in add_client
    from suds.client import Client
  File "/opt/zato/3.2.0/code/lib/python3.8/site-packages/suds/__init__.py", line 28, in <module>
    from version import __build__, __version__
ModuleNotFoundError: No module named 'version'

This log is repeated again and again.

2021-12-07 15:44:43,009 DEBG 'server1' stdout output:
2021-12-07 15:44:43,009 - INFO - 211:DummyThread-68 - ConnectionQueue:0 - 0/20 Suds SOAP clients obtained to `https://www.ebi.ac.uk/europepmc/webservices/soap?wsdl` (My SOAP Endpoint) after 0:00:25.004741 (cap: 30.0s)

I’m not sure if I made a mistake about it or if my configuration isn’t well set.

Docker image : registry.gitlab.com/zatosource/docker-registry/quickstart:3.2

Zato version : Zato 3.2+rev.ddba784a-py3.8.10-ubuntu.20.04-focal

Can anyone explain what I’m doing wrong?

Hello @lwitz,

thank you for the message.

Your configuration is correct. Could you please try it out again with a new container using the latest Docker quickstart image that I have just published?

https://zato.io/docs/admin/guide/install/docker.html

Thank you.

Hello @dsuch,

Thank you for your answer and for the quick fix.

I tried with the latest Docker quickstart image and it worked as expected:

2021-12-08 21:20:46,049 DEBG 'server1' stdout output:
2021-12-08 21:20:46,049 - INFO - 229:DummyThread-68 - ConnectionQueue:0 - 20/20 Suds SOAP clients obtained to `https://www.ebi.ac.uk/europepmc/webservices/soap?wsdl` (My SOAP Endpoint) after 0:00:05.001066 (cap: 30.0s)

2021-12-08 21:20:46,050 DEBG 'server1' stdout output:
2021-12-08 21:20:46,049 - INFO - 229:DummyThread-68 - ConnectionQueue:0 - Obtained 20 Suds SOAP clients to `https://www.ebi.ac.uk/europepmc/webservices/soap?wsdl` for `My SOAP Endpoint`

Again thank you for your quick help and for all the work you do.