Php Parsing soap XMl



Can anyone help me to parse this soap xml?


I need to get the value of Available.



<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://ift.tt/18hkEkn" xmlns:xsi="http://ift.tt/ra1lAU" xmlns:xsd="http://ift.tt/tphNwY"><soap:Body><ProductBalanceByWarehouseResponse xmlns="http://sma-promail/"><ProductBalanceByWarehouseResult><ProductBalanceResult><ID>5501T.M.</ID><Description>Roma iPad Mini Cover in T.M.
638142643580</Description><Warehouse>FWWM01</Warehouse><OnHand>23</OnHand><Reserved>0</Reserved><Unavailable>0</Unavailable><Available>23</Available><Backordered>0</Backordered></ProductBalanceResult></ProductBalanceByWarehouseResult></ProductBalanceByWarehouseResponse></soap:Body></soap:Envelope>


Any help will be appreciated.


Thanks in Advance.


Regards Tibin Mathew


No comments:

Post a Comment