Making SOAP requests to third part web service

I would approach the problem a little bit differently by asking two questions:

  1. What are the subparts of my problem?
    In your case: A web server, a soap library, an HTTP client and an xml parser.

  2. What are the best tools for the job?
    Well, I generally just Google: “<my problem / subsystem> elixir” or search in the forum and I look at if the project is maintained or complete.

In your case:

  1. Phoenix or if you go minimalistically cowboy + plug (Building a web framework from scratch in Elixir).
  2. In your case, you might need to search a little bit more if the library you found doesn’t support what you want.
  3. HTTP client (already answered on this forum - HTTP client libraries and wrappers)
  4. XML parser (already answered on this forum - Library to safely parse XML (by avoiding random atom creation))
2 Likes