Jump to content

Hakim12

New Members
  • Posts

    1
  • Joined

  • Last visited

Hakim12's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm going to parse my res XML to find responseCode tag value, but stuck for a while. How can I get responseCode from this xml using PHP. Can someone help me?? My response: $res = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns:doFinacleTransactionResponse xmlns:ns="http://ws.apache.org/axis2"> <ns:return xsi:type="ax226:doSomethingTTResponse" xmlns:ax226="http://fi/xsd" xmlns:ax228="http://companyname/xsd" xmlns:ax230="http://somename.act.acc.fi/xsd" xmlns:ax232="http://UnFreeze.acc.fi/xsd" xmlns:ax234="http://Acctli.fi/xsd" xmlns:ax236="http://Freeze.acc.fi/xsd" xmlns:ax238="http://something.Chequebook.fi/xsd" xmlns:ax241="http://coll.fi/xsd" xmlns:ax243="http://Scheme.fi/xsd" xmlns:ax245="http://Update.somedepartmentCustomer.Customer.fi/xsd" xmlns:ax247="http://onedepartmentname.Customer.fi/xsd" xmlns:ax252="http://Custom.acc.fi/xsd" xmlns:ax254="http://Acknow.Chequebook.fi/xsd" xmlns:ax257="http://Create.department.Customer.fi/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax226:responseCode>100</ax226:responseCode> <ax226:responseMessage>Operation Successful.</ax226:responseMessage> <ax226:transactionDate>2020-03-18T00:00:00.000</ax226:transactionDate> <ax226:transactionId>CB78490</ax226:transactionId> </ns:return> </ns:doFinacleTransactionResponse> </soapenv:Body> </soapenv:Envelope>';
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.