使用SOAP UI调试

问题描述 投票:0回答:1

我面临着一个奇怪的问题。我有一个MVC Web应用程序开发和我的本地机器上运行,可以从配置为web配置的应用程序设置[api_root]连接到API https://api-uat1.%domain%.com:443。但是,这是我的地方。

现在我发布在Azure上此应用在刀片上的应用程序设置选项相同的连接字符串,也web配置。

但是,这并不是说找到远程主机当我运行从Azure的应用程序。

我得到的错误是

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'api.uat1.<domain>.com' 
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) 
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) 
--- End of inner exception stack trace ---<--- 

有没有一种方法可以让我调试通过SOAP UI或提琴手,但不知道在哪里看的确切原因的API。任何人都可以帮忙吗?

azure azure-web-sites soapui fiddler
1个回答
0
投票

您可以调试以下列出https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure?view=vs-2017#remote_debug_azure_app_service说明Azure的应用程序。只要确保你已经发布你的应用程序在调试模式下,这样的符号将与应用程序二进制文件一起发布。

© www.soinside.com 2019 - 2024. All rights reserved.