Dobry den.
Mam tento kod pre soap sluzbu:
from suds.client import Client
url="https://moja_url/Access.svc?wsdl"
client = Client(url)
print client
vrati mi toto:
Suds ( https://fedorahosted.org/suds/ ) version: 0.4.1 (beta) build: R703-20101015
Service ( Access ) tns="http://tempuri.org/"
Prefixes (2)
ns0 = "http://schemas.datacontract.org/2004/07/WebSluzby"
ns1 = "http://schemas.microsoft.com/2003/10/Serialization/"
Ports (1):
(BasicHttpBinding_IAccess)
Methods (1):
Login(xs:string login_name, xs:string password, )
Types (4):
ns0:LoginResult
ns1:char
ns1:duration
ns1:guid
Ako mam vytvorit dotaz na sluzbu Login s username a password?