Guest User

Untitled

a guest
Nov 11th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Login(Username: xsd:string, Password: xsd:string, TenantID: xsd:string) -> xsd:string
  2.  
  3. Logout(SessionID: xsd:string)
  4.  
  5. Query(body: ns0:_____Query, header:ns0:Auth, _soapheaders={header:ns0:Auth}) -> Code: xsd:String, Records: ns0: ___Records, Slice: ns0: ___SliceResult
  6.  
  7. from zeep import Client, Settings
  8.  
  9. wsdl = 'wsdl_resource'
  10. settings = Settings(strict=False)
  11. client = Client(wsdl=wsdl, settings=settings)
  12.  
  13. client.service.Login(Username='user_name', Password='pass_word)
  14.  
  15. client.service.Query( , , ,)
  16.  
  17. client.service.Query(body=' __Query', header='Auth')
  18.  
  19. {
  20. 'Code': None,
  21. 'Records': None,
  22. 'Slice': None,
  23. '_raw_elements': deque()
  24. }
Add Comment
Please, Sign In to add comment