Hello, hope someone get help me with my problem.
Im using Navison Webservices(SOAP) with a Codeunit and Xmlport as parameter to communicat between NAV and a .NET-App. In .NET im using Web-References to autom. generate some classes for the Webservices. Everything works fine until iam importing Data from NAV to .NET. But if i will send Data to NAV there will be an error. What i found outis, that the reason is the XML-File from .NET.
In the Root-Element is the namespace missing and NAV cant find the Element during import.
Hier is a part from the XML-File .NET
<?xml version="1.0"?>
<xmlWeighingHeader xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema" >
<WeighingHeader xmlns="urn:microsoft-dynamics-nav/xmlports/x50055">
<Terminal >NB061</Terminal>
<ItemNo >LS-S15</ItemNo>
and correct it has to be:
<?xml version="1.0"?>
<xmlWeighingHeader xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns="urn:microsoft-dynamics-nav/xmlports/x50055">
<WeighingHeader xmlns="urn:microsoft-dynamics-nav/xmlports/x50055">
<Terminal >NB061</Terminal>
<ItemNo >LS-S15</ItemNo>
therefore everything is automated generated from .NET, how can i correct this?
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
www.yammer.com/dynamicsnavdev
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156