Hi,<div><br></div><div>I am working on a module that will integrate an external opensource project with Drupal. The idea is that the other project manages the data, while Drupal is responsible for the visualisation. I am retrieving the data through webservices (SOAP or REST).</div>

<div><br></div><div>The fields that are coming in from the external system are not fixed (i.e. the person setting up an instance of the system defines the fields), and I want to make the integration module generic enough to be able to deal with different configurations of fields.</div>

<div><br></div><div>The aim is to make a Drupal node for each object that is coming in through the webservice. However I&#39;m not sure what the best way would be to link / map the incoming data to the Drupal node. The fields will be fixed per installation of the Drupal module</div>

<meta charset="utf-8"><div><br></div><div>Right now I have spotted a few possible roads:</div><div>- attach the data object to the $node object via nodeapi. This will however limit the flexibility for visualisation a lot (apart from having a theme function for it)</div>

<div>- use the <a href="http://drupal.org/project/data">http://drupal.org/project/data</a> module. Haven&#39;t delved a lot into it, and I&#39;m not sure if it will do everything I want</div><div>- Use / create a system that can map the incoming fields with cck fields. Not sure if anything like that exists. Feeds module does something in that direction if i recall correctly. </div>

<div><br></div><div>Does anyone have any ideas or pointers on how I could go about tackling this problem?</div><div><br></div><div>Thanks i advance.</div><div><br></div><div>Sven</div>