Selvakumar has asked for the wisdom of the Perl Monks concerning the following question:

Please see the code and i am geting error as below.

The message with Action '#ADD' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

use warnings; use strict; use SOAP::Lite; use Data::Dumper; my $soap = SOAP::Lite -> proxy('http://172.16.1.20:34/PoetData.svc?wsdl') or print "Can' +t connect"; my $method = SOAP::Data->name('getVarianceByStyle_Pattern_Variance') +or print "Can't connect"; my @params = ( SOAP::Data->name(pstrStyleName => "APA"), SOAP::Data->name(pstrPatternName => "Journal"), SOAP::Data->name(pstrVarianceName => "Entire journal w +ith doi") ) or print "Can't connect"; print $soap->call($method => @params)->result; my $res= $soap->ADD(16,10); if ($res->fault) { print $res->faultstring; } else { print $res->result; }

Replies are listed 'Best First'.
Re: Webservice Method
by Anonymous Monk on May 05, 2014 at 12:17 UTC