I'm sure I am missing something obvious. I am using the .NET SDK (version 9.8.4 nuget) along with EdiFabric.Templates..Edifact v1.1.0 again via nuget.
I have managed to translate EDIFACT ORDERS to XML fine however, I am trying to convert DESADV XML to EDIFACT and having some trouble trying to, first of all, get a valid DESADV (Edifact D96a) XML to read and deserialize.
I have an XML of the DESADV that I have actually pasted into the EDI API online tool as an INTERCHANGE to generate the EDIFACT output and that works online.
When I then try the above XML via c#/SDK, I keep getting an error at the following line (T is type of TSDESADV):
var serializer = new XmlSerializer(typeof(T));
<GenerateEdifactInterchange xmlns='http://schemas.datacontract.org/2004/07/EdiFabric.Web.Api.Models'> was not expected.
I guess I am trying to get either an XML example or Schema that is correctly formatted to be able to perform the XML to EDI process?
Sorry, bit new to this, any pointers much appreciated!