我正在使用Web服务任务,以便从我工作的公司开发的API中获取SessionID。我创建了HTTP Connection Manager
并指定了指向?wsdl
文件的服务器URL。
我收到以下错误。服务器非常严格,即使发送来自SQL Server
的邮件,我也有一些问题。
错误
Web服务任务]错误:出现以下错误时发生错误 信息: " Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Web Service在方法执行期间抛出错误。错误是: System.Web.Services.Protocols.SoapException:服务器无法执行 处理请求。 ---> System.Net.Sockets.SocketException:没有 可以建立连接,因为目标机器主动拒绝 它127.0.0.1:9914
服务器堆栈跟踪:at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress(socketAddress)at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(端点 ipEndPoint)at System.Runtime.Remoting.Channels.SocketCache.GetSocket(字符串 machinePortAndSid,Boolean openNew)at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(即时聊天 msg,ITransportHeaders requestHeaders,Stream requestStream)at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(即时聊天 msg,ITransportHeaders requestHeaders,Stream requestStream, ITransportHeaders&安培; responseHeaders,Stream& responseStream)at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(即时聊天 MSG)
在[0]处重新抛出异常:at Entersoft.Framework.Platform.ESLightSession.GetSessionID(字符串 AppServerID,String DatabaseID,String CompanyID,String BranchID, String UserID,String Password,DateTime LoginDate,String LangID, Boolean ServerSideSession,String SrvURL,String ForceGID)at Entersoft.Framework.Platform.ESLightSession.GetSessionID(字符串 AppServerID,String DatabaseID,String CompanyID,String BranchID, String UserID,String Password,DateTime LoginDate,String LangID, Boolean ServerSideSession,String SrvURL)at ESWebServices.ESWebServices.GetSessionIDWithServerUrl(字符串 appServerID,String databaseID,String companyID,String branchID, String userID,String password,String langID,String serverUrl)at ESWebServices.ESWebServices.GetSessionID(String appServerID,String databaseID,String companyID,String branchID,String userID,String password,String langID)---内部异常堆栈跟踪的结束 ---。在Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo) methodInfo,String serviceName,Object connection)at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo,String serviceName,Object connection,VariableDispenser taskVariableDispenser)at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"