Hi @Jeremy Liu,
Because the description of your problem is quite brief, I would like to ask a few question first:
- Can you confirm the exact URL you are using to call the WCF service from the deployed app which returns the HTTP/1.1 404 Not Found? If so can you provide me the code of your service interface and service? Does this happen with specific services only?
- Did you make any changes to the web.config file for the WCF service after deployment?
- Are there any specific error messages or logs from Azure that could give more insight into the issue?
In the mean time, here are a few things you can check:
- Check WCF Service Configuration: Ensure that your web.config file has the correct settings for the WCF service. Specifically, verify the service's endpoint configurations and make sure the address is accurate.
- URL Routing: Since the WCF service can be accessed via the provided WSDL URL, double-check that the URL you use for calling the service method (not the WSDL) is correct and follows the expected structure of the service.
You can check out these threads with similar issues and see if they help:
- WCF webservice doesn’t respond via HTTPS when hosted in Microsoft Azure.
- Calling my .SVC which is hosted inside Azure App Service using Https will return “http 404” - Microsoft Q&A
- c# - WCF service returning 404 on method requests - Stack Overflow
Please let me know if any of these suggestions help resolve the issue, or feel free to share more details so I can assist further.