fork(1) download
  1. def xml = """<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://s...content-available-to-author-only...p.org/soap/envelope/"> <SOAP-ENV:Header> <ns2:MessageHeader xmlns="http://c...content-available-to-author-only...r.com/CSI/Namespaces/Types/Public/CingularDataModel.xsd" xmlns:ns2="http://c...content-available-to-author-only...r.com/CSI/Namespaces/Types/Public/MessageHeader.xsd"> <ns2:TrackingMessageHeader> <infrastructureVersion>86</infrastructureVersion> <version>222</version> <messageId>146100035386400076</messageId> <originatorId>PEEPS</originatorId> <timeToLive>120000</timeToLive> <conversationId></conversationId> <dateTimeStamp>2016-04-18T20:16:19.387Z</dateTimeStamp> <uniqueTransactionId>ServiceGateway604796@q100csg67c1_aabc1ee2-744f-4828-a780-4ef92693992b</uniqueTransactionId> </ns2:TrackingMessageHeader> <ns2:SecurityMessageHeader> <userName>bidonline</userName> <userPassword>bidonline0621</userPassword> </ns2:SecurityMessageHeader> <ns2:SequenceMessageHeader> <sequenceNumber>1</sequenceNumber> <totalInSequence>1</totalInSequence> </ns2:SequenceMessageHeader> </ns2:MessageHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <InquireEnterpriseOrderListResponse xmlns="http://c...content-available-to-author-only...r.com/CSI/Namespaces/Container/Public/InquireEnterpriseOrderListResponse.xsd" xmlns:ns2="http://c...content-available-to-author-only...t.com/CSI/Namespaces/SXPOSM/Types/Public/CommonDataModel.xsd"> <Orders> <OrderItems> <OrderDetails> <ns2:orderId>1793647A</ns2:orderId> <ns2:customerOrderId>444461793647A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176845</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44413</orderActionId> <orderActionName>Add UCPE</orderActionName> <orderActionStatus>TC</orderActionStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793702A</ns2:orderId> <ns2:customerOrderId>444471793702A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176845</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44414</orderActionId> <orderActionName>Add UCPE</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793855A</ns2:orderId> <ns2:customerOrderId>444481793855A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176845</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44416</orderActionId> <orderActionName>Add UCPE</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793861A</ns2:orderId> <ns2:customerOrderId>444491793861A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176845</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44417</orderActionId> <orderActionName>Add UCPE</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793947A</ns2:orderId> <ns2:customerOrderId>444501793947A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176845</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44415</orderActionId> <orderActionName>Add UCPE</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1578927A</ns2:orderId> <ns2:customerOrderId>371871578927A</ns2:customerOrderId> <ns2:orderStatus>Canceled</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-03-29T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176845</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>37178</orderActionId> <orderActionName>Add UCPE</orderActionName> <orderActionStatus>CA</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-03-29T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1792387A</ns2:orderId> <ns2:customerOrderId>448911792387A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-10T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44878</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1789764A</ns2:orderId> <ns2:customerOrderId>448861789764A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-17T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44875</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>TC</orderActionStatus> <submittedDate>2017-04-17T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1790274A</ns2:orderId> <ns2:customerOrderId>448871790274A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-04T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44876</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1791593A</ns2:orderId> <ns2:customerOrderId>448901791593A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-07T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>47264</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793538A</ns2:orderId> <ns2:customerOrderId>448931793538A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>47265</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793650A</ns2:orderId> <ns2:customerOrderId>448941793650A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>47266</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>TC</orderActionStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793705A</ns2:orderId> <ns2:customerOrderId>448951793705A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44880</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793811A</ns2:orderId> <ns2:customerOrderId>448961793811A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44921</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793817A</ns2:orderId> <ns2:customerOrderId>448971793817A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressId>CLLI8001</ns2:addressId> <ns2:addressLine1>1125 E campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44922</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793858A</ns2:orderId> <ns2:customerOrderId>448981793858A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>47267</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793864A</ns2:orderId> <ns2:customerOrderId>448991793864A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>47268</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> <OrderItems> <OrderDetails> <ns2:orderId>1793950A</ns2:orderId> <ns2:customerOrderId>449001793950A</ns2:customerOrderId> <ns2:orderStatus>In Progress</ns2:orderStatus> <ns2:ServiceAddress> <ns2:addressLine1>1125 E Campbell</ns2:addressLine1> <ns2:city>Richardson</ns2:city> <ns2:state>TX</ns2:state> <ns2:country>United States</ns2:country> <ns2:zipCode>75708</ns2:zipCode> </ns2:ServiceAddress> </OrderDetails> <marketingProductId>UCPE-VMS</marketingProductId> <marketingProductCode>UCPE-VMS</marketingProductCode> <submitDate>2017-04-12T03:00:00Z</submitDate> <sourceSystem>OMX-R</sourceSystem> <ubSubAccountIdentifier>8310000176876</ubSubAccountIdentifier> <OrderActionDetails> <orderActionId>44923</orderActionId> <orderActionName>Add VHNF</orderActionName> <orderActionStatus>DE</orderActionStatus> <ponrStatus>false</ponrStatus> <submittedDate>2017-04-12T00:00:00Z</submittedDate> </OrderActionDetails> </OrderItems> </Orders> <Response> <ns2:code>0000</ns2:code> <ns2:description>success</ns2:description> </Response> </InquireEnterpriseOrderListResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>"""
  2. def pxml = new XmlSlurper().parseText(xml)
  3. println pxml.'**'.find{it.name() == 'code'}
Success #stdin #stdout 1.21s 4456448KB
stdin
Standard input is empty
stdout
0000