Hi Monks,

I am facing a problem with web services call. I am using SOAP::lite to achive this. I am parsing the parameter file and and putting it into a hash (actually hash of array. It already has few key=>value and then assigning an array to it like @{$invoke{params}}=@params;).

.

When calling SOAP::Serializer->envelope it's working fine. I am writing envelope to a file as print ENV SOAP::Serializer->envelope(method=>$methodName, @{$invoke{params}}); but after thet when I am invoking the method with "call" function as $result=$client->call($methodName => @{$invoke{params}})->result; where $client has the object for soap::.lite ... I am getting an error "404 not found".

I did investigated bit and found that, @{$invoke{params}} is giving number of parameters (like 5) instead giving the 5 parameters.

.

Is there anything I am doing wrong? Please help me to solve this. Thanks


In reply to Problem SOAP-Lite by Anonymous Monk

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.