Here is the dumped output of tmp_data:
$VAR1 = { 'fetchAndLockResponse' => { 'request' => { 'priority' => '1', 'provider' => 'homeFolderWin', 'locked' => 'true', 'externalId' => 'homefoldertest1241', 'actionTime' => '2012-07-13T16:20:34.993Z', 'state' => 'PLACED', 'client' => 'TESTING', 'externalParentId' => 'TODO', 'action' => 'bestMatch', 'arguments' => { 'name' => 'domain', 'valueString' => 'NAEAST' }, 'id' => '210', 'lockedTimes' => '70', 'result' => 'NONE' } } };

Interestingly enough, dumper misses some code that is part of the original soap:Envelope:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> +<soap:Body ><fetchAndLockResponse xmlns="http://myid.jpmchase.net/request/service +/3"><reque st><id>210</id><client>TESTING</client><externalId>homefoldertest1241< +/externalI d><externalParentId>TODO</externalParentId><provider>homeFolderWin</pr +ovider><ac tion>bestMatch</action><priority>1</priority><actionTime>2012-07-13T16 +:20:34.993 Z</actionTime><state>PLACED</state><result>NONE</result><locked>true</ +locked><lo ckedTimes>70</lockedTimes><arguments><name>sid</name><valueString>F030 +624</value String></arguments><arguments><name>domain</name><valueString>NAEAST</ +valueStrin g></arguments></request></fetchAndLockResponse></soap:Body></soap:Enve +lope>

cleaning up the above and making it readable, we see:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <fetchAndLockResponse xmlns="http://myid.jpmchase.net/request/ +service/3"> <request> <id>210</id> <client>TESTING</client> <externalId>homefoldertest1241</externalId> <externalParentId>TODO</externalParentId> <provider>homeFolderWin</provider> <action>bestMatch</action> <priority>1</priority> <actionTime>2012-07-13T16:20:34.993Z</actionTime> <state>PLACED</state> <result>NONE</result> <locked>true</locked> <lockedTimes>43</lockedTimes> <arguments> <name>sid</name> <valueString>F030624</valueString> </arguments> <arguments> <name>domain</name> <valueString>NAEAST</valueString> </arguments> </request> </fetchAndLockResponse> </soap:Body> </soap:Envelope>

note the two sets of "arguments". what I need out of all of the above code is just ID (which is 210), and the valuestring for SID (which is F030624) and the valuestring for domain (which is NAEAST). any ideas would be greatly appreciated.</code>


In reply to Re^2: soap::lite - Can't call method "dataof" on unblessed reference by fritz1968
in thread soap::lite - Can't call method "dataof" on unblessed reference by fritz1968

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.