AndreaGorreri-1523 avatar image
0 Votes"
AndreaGorreri-1523 asked TheobaldDu-MSFT commented

Python Client on a WCF local service

Hello, my name is Andrea Gorreri.

I recentrly created a WCF service in localhost (using a WCF Service LIbrary) which takes in input from a Client two int values and returns their sum after the service has done it. If I create a Client in C# using an App console (.NET Framework) everything works fine, but now I'd like to try to call the same service from a client created in Python.

I decided to use zeep library to create the client and then I tried to connect my client to the same service using its address. My client succesfully connects to the service, but when I try to send the method "Add(int n1, int n2)" created in the service my python client doesn't recognizes it and returns that there is no "Add()" Method.

Do you have any ideas of how can I use my Python Clients to work with C# service hosted on my PC?

Thank ypu very much

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers