Forums - C# Corner

Forum guidelines
Aleksandr Khoba

Aleksandr Khoba

  • 1.6k
  • 5
  • 543

Error when using SOAP in Infopath

Feb 9 2018 8:54 AM
Hello!
 
When i quering soap service in infopath hawe crasht error,very apriceate for help or idea with fix it:
 
 Error:
 

The error is:

Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.10.70:8080 
 
 
 
logs:
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://portal/it_/CBS/_layouts/15/Postback.FormServer.aspx)
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|cdb\khobaao, ClaimsCount=62
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1b8 Medium Web Request: Begins url=http://srv-iibapp-00.creditdnepr.int:7800/DocManagementService action=http://docmanagementservice/getSR_CustomerInfo
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 02/09/2018 16:23:58.51, Original Level: Verbose] SQL connection time: 0.128927000498667 for Data Source=ap-sp-db-01\sp,24330;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://srv-iibapp-00.creditdnepr.int:7800/DocManagementService.
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1be Medium Web Request: Preparing SOAP message
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1b9 Medium Web Request: Preparing WebRequest
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections amdlr Medium Internal web service routing is NOT enabled.
02.09.2018 16:23 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1b7 Medium Web Request: Writing request stream
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections amdl5 Exception System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.10.70:8080 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at Micr...
02/09/2018 16:24:19.81* w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections amdl5 Exception ...osoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.CreateSoapRequestSyncInternal(XmlDocument soapRequestXml, String soapRequestString, Uri serviceUrl, String soapActionOriginalString, Int64 timeOutMillisec, DataAdapterCredentials credentials) at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.CreateSoapRequestSync(XmlDocument soapRequest, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapterCredentials credentials) at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapter adapter, Document document, DataA...
02/09/2018 16:24:19.81* w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections amdl5 Exception ...dapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf) StackTrace: at Microsoft.Office.Server.Native.dll: (sig=a1000fac-02c7-4003-8d43-320bb54966b7|2|microsoft.office.server.native.pdb, offset=131D6) at Microsoft.Office.Server.Native.dll: (offset=21B79)
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C SharePoint Server Unified Logging Service c91s Monitorable Watson bucket parameters: SharePoint Server 2013, ULSException14, 41b7c39f "infopath forms services", 0f0011d9 "15.0.4569.0", 18b0be27 "system", 0400766f "4.0.30319.0", 58d87814 "mon mar 27 05:25:24 2017", 000021e6 "000021e6", 0000016f "0000016f", 4380fbf4 "webexception", 003032df "amdl5"
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1bf Medium Web Request: WebException Caught
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1bc Medium Web Request: Copying response to DOMs
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1v0 Warning The following query failed: ???????? ?????? (User: 0#.w|cdb\khobaao, Form Name: rfr, IP: , Connection Target: http://portal/it_/CBS/Conlib/???????? ??????.udcx, Request: http://portal/it_/CBS/_layouts/15/FormServer.aspx?XsnLocation=http://portal/it_/CBS/rfr/Forms/template.xsn&SaveLocation=http://portal/it_/CBS/rfr&ClientInstalled=true&DefaultItemOpen=1&Source=http://portal/it_/CBS/rfr/Forms/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:rfr:-dataFormSolution Type: DataAdapterException, Exception Message: Unable to connect to the remote server Unable to connect to the remote server)
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1bc Medium Web Request: Copying response to DOMs
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C InfoPath Forms Services Runtime - Data Connections m1bb Medium Web Request: Ends url=http://srv-iibapp-00.creditdnepr.int:7800/DocManagementService action=http://docmanagementservice/getSR_CustomerInfo
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,10 agb9s,14 m1b8,297 adyrv,2 m1be,2 m1b9,0 amdlr,0 m1b7,21004 m1bf,0 m1bc,0 m1bc,0 m1bb
02.09.2018 16:24 w3wp.exe (0x673C) 0x517C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://portal/it_/CBS/_layouts/15/Postback.FormServer.aspx)). Execution Time=21339,5689256595
 
Thanks in advance! 

X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now