I created an API that talks to a backend service thinking it is a REST service only to find out after errors in testing is that it is actually a SOAP backend.
How can I modify my current proxy and request to make the call from a REST proxy to a SOAP backend?
My request looks like this:
<Set>
<Headers>
<Header name="Authorization">Bearer {vltoken.vlaccesstoken}</Header>
</Headers>
<Payload contentType="text/xml" variablePrefix="@" variableSuffix="#">
<request>
<SystemID>@requestPath.SystemID#</SystemID>
<RequestID>@requestPath.RequestID#</RequestID>
<Communication>@requestPath.CommunicationCode#</Communication>
<CommunicationFormat>@requestPath.CommunicationFormat#</CommunicationFormat>
<CommunicationLanguage>@requestPath.CommunicationLanguage#</CommunicationLanguage>
<ToList>
<Email>
<EamilAddress>@requestPath.EmailAddress#</EamilAddress>
</Email>
</ToList>
<DataList>
<String name="message_type" encrypt="0">@requestPath.MessageType#</String>
<String name="message_text" encrypt="0">@requestPath.MessageDescription#</String>
<String name="phone_number" encrypt="0">@requestPath.PhoneNumber#</String>
</DataList>
</request>
</Payload>
</Set>