in reply to Re^2: Problem SOAP-Lite
in thread Problem SOAP-Lite

Then give us a runnable program that demonstrates the problem. Keep it small. 10 to 20 lines should be plenty.

Replies are listed 'Best First'.
Re^4: Problem SOAP-Lite
by Anonymous Monk on Dec 21, 2009 at 17:18 UTC
    Hi ikegami,

    Thanks for the reply and surely will provide code snippet but before that, I tried digging little more on this and found that problem is not due to what we are thinking (hash of array). Means, I tried calling another method for which no parameter passing is needed. So I just called the methd and still I am getting the same error "404 not found".

    It can't be access problem, cause I have access to the server. Any idea now? Appreciate your help

      Have you tried sacrificing a chicken?

      Don't tell us what you think the problem is, help us reproduce your problem, then we can help you.

        Hi,

        Below is the code snippet I am using but getting 404 not found

        #!c:\perl\bin\perl.exe use strict; use SOAP::Lite; my $user=shift; my $password=shift; my $protocol="http"; my $server="servername"; my $methodName="methodname"; my $endpoint="$protocol://$user:$password@".$server."/services/service +name"; my $client = SOAP::Lite->uri('URI here')->proxy($endpoint); open (ENV, ">envelop.xml") || die "Cannot open file for writing\n"; print ENV SOAP::Serializer->envelope(method=>$methodName); close (ENV); my $result=$client->call($methodName)->result; print "$result\n"; if ($client->call->fault) { open (ERR, ">>errfile.txt") || die "Cannot open errFile for append +ing\n"; print ERR "Oops! We got an error: ".$client->call->faultstring."\n +"; print "Oops! We got an error: ".$client->call->faultstring."\n"; close ERR; }

        Thanks