
seltzer
Novice
Dec 17, 2007, 5:46 AM
Post #3 of 3
(1349 views)
|
|
Re: [cool] How to call .net web service in Perl
[In reply to]
|
Can't Post
|
|
Your code would only work if your web service was set to allow anonymous logon. Otherwise, you need to authenticate. To authenticate using NTLM, make your proxy line look like this: -> proxy('http://myserver/mywebservice/Service.asmx', credentials => ['myserver:80','', 'mydomain\\myuserid' , 'mypassword'], keep_alive => '1') also, to see any errors in the response, put the following line in your soap block: ->on_debug( sub { print @_ } )
|