Hello,
With ofbiz release 4 is there a possibility to upload automatically a txt of xml file on an external website anywhere with data for the product attributes entity? For example upload every night a txt or xml file which can be found on an external http website and load it into the product attributes entity? thanks, Heidi http://www.olagos.eu |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 yes. the way I accomplish this is a service that reads the xml and puts into a map then call services to put in the catalog. Heidi Dehaes sent the following on 2/11/2009 2:42 AM: > Hello, > > With ofbiz release 4 is there a possibility to upload automatically a txt of > xml file on an external website anywhere with data for the product > attributes entity? > > For example upload every night a txt or xml file which can be found on an > external http website and load it into the product attributes entity? > > thanks, > Heidi > http://www.olagos.eu > Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkq1JrP3NbaWWqE4RAjaNAJ9U6JWlmx7OZIvITEDsd2kpU7PVrACglWkO s9dSRtnlz48SjDsMypBmNV8= =pAr4 -----END PGP SIGNATURE----- |
Thanks,
But can you go a little bit more in detail? Do you have an example i can base me on? regards, Heidi 2009/2/11 BJ Freeman <[hidden email]> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > yes. > the way I accomplish this is a service that reads the xml and puts into > a map then call services to put in the catalog. > > Heidi Dehaes sent the following on 2/11/2009 2:42 AM: > > Hello, > > > > With ofbiz release 4 is there a possibility to upload automatically a txt > of > > xml file on an external website anywhere with data for the product > > attributes entity? > > > > For example upload every night a txt or xml file which can be found on an > > external http website and load it into the product attributes entity? > > > > thanks, > > Heidi > > http://www.olagos.eu > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJkq1JrP3NbaWWqE4RAjaNAJ9U6JWlmx7OZIvITEDsd2kpU7PVrACglWkO > s9dSRtnlz48SjDsMypBmNV8= > =pAr4 > -----END PGP SIGNATURE----- > |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 just code I have done for clients The actual code for reading is in java. it is a Service Class and code for making it use the sandbox as a timed process. you can find examples in ofbiz. I read it as a text stream, since some xml files are 1 gig or bigger. I use worker classes that have all the ofbiz stuff. this makes it easier to write just the import code that is specific to a file and re-use the worker classes. the worker classes have get, set, and methods. so as the data is read in it is put the the appropriate worker class then a method is called to massage the data into a map and call the services to build the categories and products, before the next element is read in. Heidi Dehaes sent the following on 2/11/2009 3:14 AM: > Thanks, > > But can you go a little bit more in detail? > > Do you have an example i can base me on? > > regards, > Heidi > > 2009/2/11 BJ Freeman <[hidden email]> > > yes. > the way I accomplish this is a service that reads the xml and puts into > a map then call services to put in the catalog. > > Heidi Dehaes sent the following on 2/11/2009 2:42 AM: > > Hello, >>>> With ofbiz release 4 is there a possibility to upload automatically a txt > of >>>> xml file on an external website anywhere with data for the product >>>> attributes entity? >>>> >>>> For example upload every night a txt or xml file which can be found on an >>>> external http website and load it into the product attributes entity? >>>> >>>> thanks, >>>> Heidi >>>> http://www.olagos.eu >>>> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJktK6rP3NbaWWqE4RAt6uAKDG0UcSMm+4jkrszOBMrGcwNiYIMACgj9dG 55EhsqRr4YFqaccjIvzz4ns= =rfTm -----END PGP SIGNATURE----- |
Free forum by Nabble | Edit this page |