I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-03-16 19:01:05.802461-07 by dhorne in response to 12554
Re: Basic Authentication
Ok - I've gotten a little further along the way. The SOAP server returns a 501 when it receives no authentication details, not a 401. Therefore LWP::UserAgent doesn't submit the credentials. I hard-coded the u/p in the set_proxy call in the interface Class and then the SOAP calls worked. My soft-coded workaround is:

my $service = EM6::Interfaces::ScadaService::ScadaServiceSOAPPort->new; my $endpoint = $service->get_endpoint; $endpoint =~ s!://!://$user:$pass@!; $service->set_proxy($endpoint); my $result = $service->getScadaService( ... );


Although it's not ideal, are there any gotchas that I should be aware of?
Direct Responses: 12558 | Write a response