Expand my Community achievements bar.

export whole xml data to Webservice

Avatar

Former Community Member

Hi,

I'm trying to submit the whole XML Data to a webservice which save it to a database afterwards.

Is there any functionality available for this? like submit by email or exportData, which does so on local file basis.

next step would be to get the xml calling a web service and binding it to the document like using importData.

Is this in any way possible?

how?

regards

Johannes

1 Reply

Avatar

Former Community Member

The web services interfaces have to work with a fields that are defined in a form that is open in Acrobat/Reader. So you will need a field (you can make it invisible) that will hold the data to submit. All of the data is in a datadom in Acrobat/Reader. To get that data into the hidden field use this command:

TextFieldName.rawValue = xaf.datasets.data.saveXML();

Make sure that the field is set for multi-line.

Now you can bind this field to the appropriate node in the web service for submission.

Paul