-
-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create_service for AsyncClient #1168
Comments
Your assumption is correct, I just had the same issue. I resolved in my project by creating a custom class that extends the AsyncClient class and overrides the create_service method to return an AsyncServiceProxy:
|
We had the same problem in our project and had to solve it the same way. Can this solution be merged into zeep itself? |
This was referenced Nov 30, 2021
This is fixed in #1202 but not sure why it's still unmerged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: zeep 4.0.0
WSDL: 'http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL'
Hi guys,
i am starting developing a soap interface based on zeep. Our application works mostly async, so I try to use the AsyncClient. Additional I test the interface against a mock, placed in soap_ui. For using the mock, it is necessary to define the endpoint to the mock, so I used the create_service method.
The expception log:
After some research, the reason is the create_service method, defined in the sync client, which returns a sync ServiceProxy object, but exected will be a AsyncServiceProxy object.
Is my assumption right?
BR Jens
The text was updated successfully, but these errors were encountered: