I am trying to access .Net based web service by a perl web client.
Every thing is going smoothly if the .net web service is based on the file system.
But if it is an Http based web service, a IIS deployed web service, then the my perl web client is not able to access the published methods of the web service. The error message that i get is
HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
More information regarding the .net web service is that
1. I have enabled Anonymous Access on the web site.
2. Execute permissions are set for both scripts and executables.
3. Read , write , directory browsing , indexing and log visits permissions are granted.
So tell me what can be the possible cause of this 500 Internal server error on IIS deployed web service.
The web method is the automated generated web method of the c# web service that is the HelloWorld.
The perl code is as follows:
use SOAP::Lite (+trace => all, maptype => {});
my $soap = SOAP::Lite
   -> uri('http://tempuri.org/')
   -> on_action(sub{join '/', 'http://tempuri.org/', $_[1] })
   -> proxy ('http://localhost/WebSite7/Service.asmx');
my $method = SOAP::Data->name('HelloWorld')
 ->attr({xmlns => 'http://tempuri.org/'});
my $result =  $soap->call($method);
print $result->valueof('//HelloWorldResult');
Thank you..

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.