I'm trying to access the attributes in an incoming message to my soap server. I can get any tagged elements but everything I try - even data dumper - cannot access the attributes. Here's the incoming message. You can see the Section tag has the 'type' attribute and the Entity tags have the name,sectionEntityMapId,and value attributes and nothing else. I need to get to these attributes but nothing I've tried is working. I really appreciate any help.

<sendMsg2ABC><Request_Update_Message><Action>APPROVE</Action><Request_ +Id>999999</Request_Id><NegotiatorName>MICHELLE</NegotiatorName><Negot +iatorPhone>800-555-5555</NegotiatorPhone><VtacContactName>CYNTHIA</Vt +acContactName><VtacContactPhone>555-555-5555</VtacContactPhone><Reque +stType>CHANGE</RequestType><RequestStatus>PENDING</RequestStatus><Iss +uedDate>12/10/2015 09:29:02 AM</IssuedDate><Section type="A"><Entity +name="requestdate" sectionEntityMapId="176" value="12/14/2015"/><Enti +ty name="servicetype" sectionEntityMapId="177" value="LOCAL"/><Entity + name="npanxx" sectionEntityMapId="178" value="732270"/><Entity name= +"host" sectionEntityMapId="179" value="NJ01D5"/><Entity name="clli" s +ectionEntityMapId="182" value="NJ01D5"/><Entity name="area" sectionEn +tityMapId="183" value="NJ"/><Entity name="nodetype" sectionEntityMapI +d="184" value="100"/><Entity name="serviceorders" sectionEntityMapId= +"185" value="R622"/><Entity name="englishname" sectionEntityMapId="18 +6" value="EAST NOWHERE"/><Entity name="ratecenter" sectionEntityMapId +="8045" value="TOMS HOUSE"/></Section><Section type="B"><Entity name= +"customername" sectionEntityMapId="188" value="USA"/><Entity name="ad +dress" sectionEntityMapId="189" value="857 Big Road"/><Entity name="c +ity" sectionEntityMapId="190" value="EAST NOWHERE"/><Entity name="sta +te" sectionEntityMapId="191" value="NJ"/><Entity name="customercontac +t" sectionEntityMapId="192" value="MORGAN"/><Entity name="contactnumb +er" sectionEntityMapId="193" value="555-555-5555"/><Entity name="main +phone" sectionEntityMapId="194" value="555-555-5555"/><Entity name="T +LI" sectionEntityMapId="195" value="555-555-7000"/><Entity name="rems +tationrange" sectionEntityMapId="201" value="555-555-7000"/><Entity n +ame="numoflinesrem" sectionEntityMapId="202" value="1"/><Entity name= +"port" sectionEntityMapId="203" value="N"/><Entity name="pset" sectio +nEntityMapId="206" value="N"/><Entity name="special" sectionEntityMap +Id="207" value="N"/><Entity name="tg" sectionEntityMapId="209" value= +"0615"/><Entity name="rti" sectionEntityMapId="210" value="NA"/><Enti +ty name="remarks" sectionEntityMapId="212" value="NO WORK; SAME DATE +FOR PORT; THANKS"/></Section><Section type="N"><Entity name="swc" sec +tionEntityMapId="217" value="732555"/><Entity name="wirecenter" secti +onEntityMapId="218" value="EAST NOWHERE"/><Entity name="serviceorders +" sectionEntityMapId="219" value="R6622"/><Entity name="vremarks" sec +tionEntityMapId="222" value="No Work Required]"/></Section></Request_ +Update_Message></sendMsg2ABC>

In reply to Accessing Attributes in Web Servie message - Server Side by gackles

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.