I’ve hosted an internal APIM instance within a subnet of a VNET and integrated it with Application Gateway in same VNET but different subnet.
Later Configured custom domains on APIM,
then Configured Application Gateway for all the necessary configuration to expose Dev portal and APIM gateway securely over internet with end to end SSL.
It works Perfectly. I'm able to consume APIs and Azure Functions and any resources within the cloud successfully including SOAP services hosted using azure websites.
I later setup a VM into another subnet of same VNET and hosted a sample WCF application , registered it with a pvt dns zone , dns resolution is successful and browsable from within the same VNet as well other peered VNET making it available within all my VNETs
All the four artefacts
i.e Application Gateway,
APIM internal Instance
Private DNS Zone
are part of same VNET but different Subnets.
Yet I'm unable to consume my sample WCF into APIM.
It gives the error "unable to download wsdl , make sure the service is publically available".
Can you please suggest me how so to make it work?