Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SoapException

Status
Not open for further replies.

hemangm

Programmer
Dec 20, 2006
3
US
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::Data->name('ValidateZip')
->attr({xmlns =>'
my @params = ( SOAP::Data->name("ZipCode" => "22031"));

$service->deserializer(SOAP::Custom::XML::Deserializer->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>";

}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top