Can anyone help me out. I am getting following error,
errorsSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
Perl script does a SOAP:Lite call...
# WebService to validate US Zip code
#
#!/usr/bin/perl
use strict;
use warnings;
use SOAP::Lite;
my $service = SOAP::Lite
-> uri('urn:USZip')
-> proxy('
my $method = SOAP:ata->name('ValidateZip')
->attr({xmlns =>'
my @params = ( SOAP:ata->name("ZipCode" => "22031"));
$service->deserializer(SOAP::Custom::XML:eserializer->new);
my $Results = $service->call($method => @params);
if ($Results->fault)
{
print "errors";
print $Results->faultstring;
}
else
{
print "Content-type: text/html\n\n";
print "<HTML><HEAD>";
print "<TITLE>CGI Test</TITLE>";
print "</HEAD>";
print "<BODY><H2>Groups Operational Passenger System (GOPAX)</H2><br><br>";
print "$Results";
print "</BODY></HTML>";
}
errorsSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
Perl script does a SOAP:Lite call...
# WebService to validate US Zip code
#
#!/usr/bin/perl
use strict;
use warnings;
use SOAP::Lite;
my $service = SOAP::Lite
-> uri('urn:USZip')
-> proxy('
my $method = SOAP:ata->name('ValidateZip')
->attr({xmlns =>'
my @params = ( SOAP:ata->name("ZipCode" => "22031"));
$service->deserializer(SOAP::Custom::XML:eserializer->new);
my $Results = $service->call($method => @params);
if ($Results->fault)
{
print "errors";
print $Results->faultstring;
}
else
{
print "Content-type: text/html\n\n";
print "<HTML><HEAD>";
print "<TITLE>CGI Test</TITLE>";
print "</HEAD>";
print "<BODY><H2>Groups Operational Passenger System (GOPAX)</H2><br><br>";
print "$Results";
print "</BODY></HTML>";
}