Class HttpTransportBasicAuth

  extended by org.ksoap2.transport.Transport
      extended by org.ksoap2.transport.HttpTransport
          extended by org.ksoap2.transport.HttpTransportBasicAuth

public class HttpTransportBasicAuth
extends HttpTransport

An Http transport layer class which provides a mechanism to login to webservices using Basic Authentication on midp platforms. Thanks to Paul Spencer

Field Summary
Fields inherited from class org.ksoap2.transport.Transport
debug, requestDump, responseDump
Constructor Summary
HttpTransportBasicAuth(java.lang.String url, java.lang.String username, java.lang.String password)
          Constructor with username and password
Method Summary
Methods inherited from class org.ksoap2.transport.HttpTransport
call, reset
Methods inherited from class org.ksoap2.transport.Transport
setUrl, setXmlVersionTag
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public HttpTransportBasicAuth(java.lang.String url,
                              java.lang.String username,
                              java.lang.String password)
Constructor with username and password

url - The url address of the webservice endpoint
username - Username for the Basic Authentication challenge RFC 2617
password - Password for the Basic Authentication challenge RFC 2617