PHP script needed to parse SOAP XML response (and redirect to pages)

  • Posted:
  • Proposals: 13
  • Remote
  • #668010
  • Awarded
Anthony K.
Serf C.Satwinder S.Anoop J.Lhassan B. + 8 others have already sent a proposal.
  • 1

Description

Experience Level: Intermediate
General information for the website: financial product
Kind of development: Customization of existing website
Description of every page/module: The site currently submits a form via SOAP XML, a response is received and depending on the status code received we need to redirect to different pages.
Description of requirements/features: PHP script needed to to parse SOAP XML response and return only the 'Current Status' Value (this is '51' in the example provided) There will be a handful of different codes returned. Depending on the code I would like to have a redirect set up to different pages (example: 51 redirects to 'success.html', 62 redirects to 'decline.html', 39 redirects to 'call-us.html')

- A sample response is provided, so you can see the namespaces (SampleResponse.xml).
- PHP script provided (submit4.php.zip), I imagine the modifications would be added to the '$request' area??

My apologies if this isn't too clear - this is well outside of my understanding. I did try and "have a go" using some online information (https://rahulmehta1.wordpress.com/2013/03/10/reading-of-soap-xml-response-by-xpath/) with no success.

I look forward to hearing from you.
Extra notes:

New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.