Error updating record via nav web service

Junajo2
Member Posts: 2
Hi all:
I hope some of you can help me with this error I'm getting from Navision.
I am developing a web application that communicates with Navision via web services, I discuss the pages through the web service of Navision and read these data, records and update records I think.
The application is developed with C # using Visual Studio 2010, add web services using "Add Web Reference" and it generates the code without any problems. Read data, update records and think. But suddenly I started getting an error when creating products that until now had not had:
Invalid name character in 'soap: Envelope'. The ':' character, hexadecimal value 0x3A, can not be included in a name.
I get this error when filling a particular field to update a product, if not fill this field do not get the error and the record is saved successfully, but the error is not data that you pass or anything because if I miss this area, in some cases, also gives me this error but I could not identify the field that is caused on this occasion.
I hope someone can help me or give some indication because I've already tried everything and it does not fix it.
Thanks in advance to all, Greetings.
PS: I attached data I get the exception.
I hope some of you can help me with this error I'm getting from Navision.
I am developing a web application that communicates with Navision via web services, I discuss the pages through the web service of Navision and read these data, records and update records I think.
The application is developed with C # using Visual Studio 2010, add web services using "Add Web Reference" and it generates the code without any problems. Read data, update records and think. But suddenly I started getting an error when creating products that until now had not had:
Invalid name character in 'soap: Envelope'. The ':' character, hexadecimal value 0x3A, can not be included in a name.
I get this error when filling a particular field to update a product, if not fill this field do not get the error and the record is saved successfully, but the error is not data that you pass or anything because if I miss this area, in some cases, also gives me this error but I could not identify the field that is caused on this occasion.
I hope someone can help me or give some indication because I've already tried everything and it does not fix it.
Thanks in advance to all, Greetings.
PS: I attached data I get the exception.
Data Server Event Viewer:
Service: MicrosoftDynamicsNavWS
User: XXXXXX \ YYYYYYYY (Here the user who launched the petition)
Type: System.Reflection.TargetInvocationException
Message: Exception Has Been Thrown by the target of an invocation.
StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast (Object target, Object [] arguments, SignatureStruct & sig, MethodAttributes MethodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast (Object target, Object [] arguments, Signature sig, MethodAttributes MethodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture)
at
at Microsoft.Dynamics.Nav.Service.WebServices.XmlWWriter.SetNamespace (QNamespace namespace, XmlCallback nodeHandler)
at input, output XmlWWriter)
at
at Microsoft.Dynamics.Nav.Service.WebServices.SoapHandler. <> c__DisplayClass9. <BuildEnvelop> b__8 ()
at Microsoft.Dynamics.Nav.Service.WebServices.XmlWWriter.Element (String name, XmlCallback elementHandler)
at Microsoft.Dynamics.Nav.Service.WebServices.SoapHandler. <> c__DisplayClass9. <BuildEnvelop> b__7 ()
at Microsoft.Dynamics.Nav.Service.WebServices.XmlWWriter.Element (String name, XmlCallback elementHandler)
at Microsoft.Dynamics.Nav.Service.WebServices.SoapHandler. <> c__DisplayClass9. <BuildEnvelop> b__6 ()
at Microsoft.Dynamics.Nav.Service.WebServices.XmlWWriter.SetNamespace (QNamespace namespace, XmlCallback nodeHandler)
at Microsoft.Dynamics.Nav.Service.WebServices.SoapHandler.BuildEnvelop (XmlWWriter output, ContentHandler handler)
at input, output XmlWWriter)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.DispatchSoap (URLParser relivantURLPart, XmlReader input, TextWriter output)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.Invoke (isSoapMessage Boolean, String serviceName, Uri url, XmlReader input, TextWriter output, String sid)
Source: mscorlib
Type: System.ArgumentException
Message: Invalid name character in 'soap: Envelope'. The ':' character, hexadecimal value 0x3A, can not be included in a name.
StackTrace:
at System.Xml.XmlWellFormedWriter.CheckNCName (String NCName)
at System.Xml.XmlWellFormedWriter.WriteStartElement (String prefix, String localName, String ns)
at System.Xml.XmlWriter.WriteStartElement (String localName)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortXmlAdapter.WriteStartElement (String localName, XmlPortNodeSourceType sourceType)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.WriteStartElement (String elementName, Boolean isRootElement, XmlPortNodeSourceType sourceType)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.ProcessTextElement (NavXmlPortTextNode node)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.ProcessElement (NavXmlPortNode node)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.TryProcessElement (NavXmlPortNode node)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.Export ()
at Microsoft.Dynamics.Nav.Runtime.NavXmlPort.WriteContentToStream ()
at Microsoft.Dynamics.Nav.Runtime.NavXmlPort.Export (DataError errorlevel)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50073.SendItem (INavRecordHandle item)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50073.OnInvoke (MemberID Int32, Object [] args)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationObjectBase.Invoke (methodId Int32, Object [] arguments)
at Microsoft.Dynamics.Nav.BusinessApplication.Record27.SendItemToCaptor ()
at Microsoft.Dynamics.Nav.BusinessApplication.Record27.OnInvoke (MemberID Int32, Object [] args)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationObjectBase.Invoke (methodId Int32, Object [] arguments)
at Microsoft.Dynamics.Nav.BusinessApplication.Record27.OnModify ()
at Microsoft.Dynamics.Nav.Runtime.NavRecord.Modify (DataError errorlevel, runApplicationTrigger Boolean, Boolean runGlobalTrigger)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceForm.Modify ()
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormXmlAdapter.ModifyEntity (XmlElement entity, Boolean versionCheckHasBeenDone)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormXmlAdapter. <> c__DisplayClass1b. <Update> b__16 ()
at Microsoft.Dynamics.Nav.Runtime.NavConnection.TransactionScope (TransactedCode code)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormXmlAdapter.Update (XmlElement input, output XmlWWriter)
Source: System.Xml
Service:
User:
Type: System.ArgumentException
Message: Invalid name character in 'soap: Envelope'. The ':' character, hexadecimal value 0x3A, can not be included in a name.
StackTrace:
at System.Xml.XmlWellFormedWriter.CheckNCName (String NCName)
at System.Xml.XmlWellFormedWriter.WriteStartElement (String prefix, String localName, String ns)
at System.Xml.XmlWriter.WriteStartElement (String localName)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortXmlAdapter.WriteStartElement (String localName, XmlPortNodeSourceType sourceType)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.WriteStartElement (String elementName, Boolean isRootElement, XmlPortNodeSourceType sourceType)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.ProcessTextElement (NavXmlPortTextNde node)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.ProcessElement (NavXmlPortNode node)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.TryProcessElement (NavXmlPortNode ode)
at Microsoft.Dynamics.Nav.Runtime.NavXmlPortExporter.Export ()
at Microsoft.Dynamics.Nav.Runtime.NavXmlPort.WriteContentToStream ()
at Microsoft.Dynamics.Nav.Runtime.NavXmlPort.Export (DataError errorlevel)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50073.SendItem (INavRecordHandle item)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50073.OnInvoke (MemberID Int32, Object [] args)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationObjectBase.Invoke (methodId Int32, Object [] arguments)
at Microsoft.Dynamics.Nav.BusinessApplication.Record27.SendItemToCaptor ()
at Microsoft.Dynamics.Nav.BusinessApplication.Record27.OnInvoke (MemberID Int32, Object [] args)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationObjectBase.Invoke (methodId Int32, Object [] arguments)
at Microsoft.Dynamics.Nav.BusinessApplication.Record27.OnModify ()
at Microsoft.Dynamics.Nav.Runtime.NavRecord.Modify (DataError errorlevel, runApplicationTrigger Boolean, Boolean runGlobalTrigger)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceForm.Modify ()
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormXmlAdapter.ModifyEntity (XmlElement entity, Boolean versionCheckHasBeenDone)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormXmlAdapter. <> c__DisplayClass1b. <pdate> b__16 ()
at Microsoft.Dynamics.Nav.Runtime.NavConnection.TransactionScope (TransactedCode code)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormXmlAdapter.Update (XmlElement input, output XmlWWriter)
Source: System.Xml
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions