Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wsdl_url = 'https://internalserver/cwautoprox.asmx?WSDL'
- username = 'testuser'
- password = 'password'
- apikey = 'dM43B4e'
- # Configure client
- client = Savon.client(wsdl: wsdl_url, ssl_verify_mode: :none)
- # Authenticate
- authResponse = client.call(:authenticate_user, message: {
- username: username,
- password: password,
- APIKey: apikey
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement