Developer forum

Forum » Development » Import/export problems with Product destination

Import/export problems with Product destination


Reply

We have tried to make an XML file that follows the Schema of the "Product destination"-activity, but it fails with the following report (and we have validated the XML against the XSD Schema):


  


Pipeline fundet.

Afvikler pipeline.

Afvikling af pipeline gennemført.



Rapport



Start dato: 3/5/2008 1:42 PM

Slut dato: 3/5/2008 1:42 PM

Beskeder: 1



1:42 PM Product destination Process Error: System.Xml.XmlException: Unexpected end tag. Line 1, position 3. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at Dynamicweb.Integration.Specialized.ProductDestinationActivity.Process()


 


XML Source file:




http://tempuri.org/products.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tempuri.org/products.xsd products.xsd">

 

  PROD1

  LANG1  

   

  PRODUKT1   

  PRODUKT1

  

  

  1

  

  1

  0

  

  

  1

  

  2007-04-19

  2007-04-19

  0

  0

  

  

  

  

  

  

  1

    

  

  0

  0

  0

  0

  

  0

  0

  0

  0

  0

  0

  

   GROUP1

   GROUP2

  


  

   VARGRP1

   

    VO1

    VO2

   


  


  

   

    RELGRP1

    

     PROD2

    


   


  


  

   

    VO4

    Stk

   


  


  

   

    

    

    

    

    

    

   


  


 



 


 


Any suggestions to what could be wrong?


Replies

 
Reply

Please remove attributes from the root element, Products, so you end up with:


 






 

  PROD1

  LANG1 

 

  PRODUKT1  

  PRODUKT1

 

 

  1

 

  1

  0

 

 

  1

 

  2007-04-19

  2007-04-19

  0

  0

 

 

 

 

 

 

  1

   

 

  0

  0

  0

  0

 

  0

  0

 0

  0

 0

  0

 

   GROUP1

   GROUP2

 


 

   VARGRP1

  

    VO1

    VO2

  


 


 

  

   RELGRP1

  

     PROD2

   


  


 


 

  

    VO4

    Stk

  


 


 

  

   

   

   

   

   

   

  


 


 



 

 
Reply
Sorensen wrote:


Please remove attributes from the root element, Products, so you end up with:




 


 



Same problem:

 


 


3:57 PM Product destination Process Error: System.Xml.XmlException: Unexpected end tag. Line 1, position 3. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at Dynamicweb.Integration.Specialized.ProductDestinationActivity.Process()

 


 

 
Reply

Do you have GROUP1 and GROUP2 as group ids in your ecom?

 

You must be logged in to post in the forum