# OR if you have SOAP::Lite object you can do $s->transport->credentials('host_port', 'realm', 'user' => 'password'); # see LWP::UserAgent for difference and more documentation # OR add user and password to your URL as follows: # proxy => 'http://user:password@localhost/'