What type of authentication is used in the following Pocket SOAP code?

What type of authentication is used in the following Pocket SOAP code?

Dim Envelope
Dim HTTP
Set Envelope = CreateObject(“PocketSOAP.Envelope.2”)
Set HTTP = CreateObject(“PocketSOAP.HTTPTransport.2)
Envelope.SetMethod “GetSome”, “http://www.mysite.org/message/”
Emvelope.Parameters.Create “SomeParameter”, “SomeValue”
HTTP.SOAPAction = “http://www.mysite.org/action/Service.GetSome”
HTTP.Authentication “Username”, “Password”
HTTP.Send http://www.mysite.org/webservice.WDSL”,Envelope.Serialize
Envelope.Parse HTTP
MsgBox “Result: ” & Envelope.Parameters.Item(0).Value

What type of authentication is used in the following Pocket SOAP code?

Dim Envelope
Dim HTTP
Set Envelope = CreateObject(“PocketSOAP.Envelope.2”)
Set HTTP = CreateObject(“PocketSOAP.HTTPTransport.2)
Envelope.SetMethod “GetSome”, “http://www.mysite.org/message/”
Emvelope.Parameters.Create “SomeParameter”, “SomeValue”
HTTP.SOAPAction = “http://www.mysite.org/action/Service.GetSome”
HTTP.Authentication “Username”, “Password”
HTTP.Send http://www.mysite.org/webservice.WDSL”,Envelope.Serialize
Envelope.Parse HTTP
MsgBox “Result: ” & Envelope.Parameters.Item(0).Value

A.
Digest authentication

B.
SSL authentication

C.
Basic authentication

D.
Integrated authentication

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *