Dear Monks,
i have a probleme, i would like to communicate with WSDL but i have this error message :

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <s:Fault> <faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/ad +dressing/none">a:ActionNotSupported</faultcode> <faultstring xml:lang="fi-FI"> The message with Action 'http://domainws.ficora.fi.ope +rations/DomainNameWS/Ping#Ping' 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 sende +r and the receiver. Check that sender and receiver have the same con +tract and the same binding (including security requirements, e.g. Mes +sage, Transport, None). </faultstring> </s:Fault> </s:Body> </s:Envelope>

Somebody know what is my problem? i tried some code, example :

use SOAP::Lite; my $client = SOAP::Lite ->uri('https:url?wsdl') ->proxy('https://url'); my $var = SOAP::Data->type('string'); $var->name('pingValue'); $var->value("10.10.10.10"); # make the call my $result = $client->Ping($var); # check for error unless ($result->fault) { print $result->result(); } else { # error handling print join ', ', $result->faultcode, $result->faultstring, $result->faultdetail; }

Thanks in advance.


In reply to SOAP WSDL error : a:ActionNotSupported by Kosovar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.