gackles has asked for the wisdom of the Perl Monks concerning the following question:
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>
|
---|