I have a wordpress site that will be replacing an old legacy site, however the old legacy site includes a SOAP API that I won't be able to re-implement in wordpress.
Is it possible for the wordpress site to accept calls to these API route, call the API itself, and then return the result to the caller as if the original API had responded? (i.e. without getting a wordpress page or some other wordpress artefact in the response?)
A call to:
would want to trigger a call to:
and return the result so that when the DNS changes and the new wordpress site goes live on the domain (replacing the old legacy site on that domain) the API calls are unaffected.
I'm not very familiar with wordpress as a platform and so I'm not sure if this is something that can be handled within wordpress or something that would need to be handed in the hosting environment