Submit to web service issue - InfoPath Dev
in

InfoPath Dev

Submit to web service issue

Last post 06-04-2011 06:25 AM by [email protected]. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-04-2011 06:25 AM

    Submit to web service issue

    Hi,

    I am using SharePoint 2010 with Infopath 2010.

    I am facing issue submitting xml data to my custom webservice as shown in the link below.

    http://www.moss2007.be/blogs/vandest/archive/2011/03/09/infopath-forms-server-2010-parameterized-submit-issue.aspx

    But I am getting "There has been an error while processing the form" error on the form and following error into the ULS logs

    Unhandled exception when rendering form on postback System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.   
     at System.ThrowHelper.ThrowKeyNotFoundException()   
     at System.Collections.Generic.Dictionary`2.get_Item(TKey key)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DatabaseHelper.GetSchemaXml(String namespaceUri, Solution solution, String dataObjectName, SchemaNavigator& schema, XPathNavigator& originalSchema, XmlNamespaceManager& namespaceManager)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.PartFragmentHelper.IsDataSetNode(Solution solution, XPathNavigator node)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.PartFragmentHelper.ApplyPartFragmentGather(DataAdapter adapter, XPathNavigator sourceDOM, DataObjects dataObjects, XPathNavigator targetDOM, PartFragment[] partFragments, Boolean[]& areDataSets)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterWebServiceSubmit.Execute(Document document, Uri soapAction, Uri serviceUrl, XPathNavigator querySubDOM, XPathNavigator resultsSubDOM, XPathNavigator errorsSubDOM, Int64 timeout, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)   
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterWebServiceSubmit.ExecuteInternal(XPathNavigator queryFields, XPathNavigator resultFields, XPathNavigator errors)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.RuleAction.EvaluateExpression(Document document, XPathNavigator currentTarget)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.RulesRuleSet.EvaluateExpression(Document document, XPathNavigator targetNavigator)   
     at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.Click(Document document, XPathNavigator container)   
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventClick.Play(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor)   
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.ExecuteLog(Int32 expectedEventLogID)   
     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.<>c__DisplayClass13.<PlayEventLog>b__11()   

    Can someone please suggest any solution for this.

    Thanks in Advance
    Ajay Sawant

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.