HTTPS路由问题

时间:2014-07-28 15:29:17

标签: web-services ssl url-routing

我们似乎遇到了错误路由HTTPS呼叫的问题:

在本地测试时,对api.dotmailer.com:443的应用程序调用工作正常(通过服务引用);

enter image description here

然而,当发布到我们的实时服务器时,所有https调用都被路由到应用程序域mydomain:443而不是api.dotmailer.com。

enter image description here

初始化服务客户端的实例时,它会毫无例外地退出。

以下是相关代码:

 If Branchsettings.Email & Branchsettings.Password <> Nothing Then
        Response.Write("<script language='javascript'>alert('Contact object: " & "Flag 1" & "');</script>")

        If Branchsettings.Email & Branchsettings.Password <> "" Then
            Response.Write("<script language='javascript'>alert('Contact object: " & "Flag 2" & "');</script>")
            Dim username As String = Branchsettings.Email
            Dim password As String = Branchsettings.Password
            Try

                Dim addressBookID As Integer = 2841982
                dataTable = GeLandlord.GetLandlordsByPortalBranchID(siteLogin.GetPortalBranchID(Context.User.Identity.Name), True, True)
                Dim contact As New dotmailer.ApiContact
                Dim cdata As New dotmailer.ApiContactData
                Response.Write("<script language='javascript'>alert('Contact object: " & "Flag 3" & "');</script>")
                Try
                    api = New dotmailer.ApiServiceClient
                Catch ex As Exception
                    Response.Write("<script language='javascript'>alert('Contact object: " & ex.ToString & "');</script>")
                End Try

有谁知道导致这个问题的原因是什么?

0 个答案:

没有答案