You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please keep the issues that real bug reports only. Please request help/support on a relevant channel like stackoverflow. This issue will most likely be closed.
Doese Zeep support soap web services return multiple values?
Can add this feature into tests case?
thanks.
The text was updated successfully, but these errors were encountered:
jeffery9
changed the title
does it support multiplie return values?
does it support multiple return values?
Oct 27, 2023
from zeep import Client
wsdl ='http://127.0.0.1:8000/?wsdl'
client = Client(wsdl=wsdl)
func = client.service.add_and_multiply
# add_and_multiply(num1: xsd:integer, num2: xsd:integer) -> add_and_multiplyResult0: xsd:integer, add_and_multiplyResult1: xsd:integer, add_and_multiplyResult2: xsd:string
repl = func(1,2)
print(repl.add_and_multiplyResult0)
print(repl.add_and_multiplyResult1)
print(repl.add_and_multiplyResult2)
print(repl)
# #
# 3
# 2
# The sum of 1 and 2 is 3, and the product is 2
# {
# 'add_and_multiplyResult0': 3,
# 'add_and_multiplyResult1': 2,
# 'add_and_multiplyResult2': 'The sum of 1 and 2 is 3, and the product is 2'
# }
Please keep the issues that real bug reports only. Please request help/support on a relevant channel like stackoverflow. This issue will most likely be closed.
Doese Zeep support soap web services return multiple values?
Can add this feature into tests case?
thanks.
The text was updated successfully, but these errors were encountered: