I am using API management to convert my SOAP
services into REST
. The SOAP services are accessible only using ip adress not with machine name, but when I imported SOAP service in the API management it took the machine name and i changed it to ip address in the Settings tab in the Publisher portal.
When i try to call the REST endpoint of the SOAP service from developer portal, it is somehow taking the machine name and forming the request with the machine name itself. I have provided the Trace of my request below. In the backend section i see newBackendServiceUrl
is changed to machine name. How to override newBackendServiceUrl
so that it takes the ip adress instead of machine name.
set-backend-service (0 ms)
{
"message": "Backend service URL was changed.",
"oldBackendServiceUrl": "ipaddress:2008/",
"newBackendServiceUrl": "machine-name:2008/",
"request": {
"url": "machine-name:2008/CL1LCTRY/CLLCTRYS_COUNTRY_LIST"
}
}