skip to Main Content

In my store, I need to build Soap API, which accepts XML data from 3rd party solution, parses it and creates new customer based on provided data.

My questions is how can I get XML from post body data?

Thanks!

2

Answers


  1. Chosen as BEST ANSWER

    Just capture the XML in Controller's execute function.


  2. Just don’t. Create separate service that is going to do that using Magento framework (check Customer or Catalog module for guidance). Because your request at the moment looks like you’re going wrong way.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search