Skip to main content

I use a XSD Driven XML Writer to compose a XML file.

Afterwards I read the file and send it with the HttpCaller to a SOAP Endpoint of some application.

Is is possible to skip the "Save to File" "Read from File" part and directly write into a XML attribute of some feature?

I do not know of a way. What I do is write the file to a temp location using a TempPathnameCreator to avoid temp files which need to be deleted afterwards. But you still have the extra I/O you probably want to optimize?


I do not know of a way. What I do is write the file to a temp location using a TempPathnameCreator to avoid temp files which need to be deleted afterwards. But you still have the extra I/O you probably want to optimize?

The FeatureWriter looked promising to me and I tried setting up a "XSD Driven XML" inside the FeatureWriter. But it also requires a file ("dataset") where the data is stored. Could not discover any settings where I could let it write the xml into a output of the transformer component.


The FeatureWriter looked promising to me and I tried setting up a "XSD Driven XML" inside the FeatureWriter. But it also requires a file ("dataset") where the data is stored. Could not discover any settings where I could let it write the xml into a output of the transformer component.

Not sure if I understand what you need, but the DataSet can be an attribute or concatenated attributes. For example

@Value(_pathname)\result.xml

 


Reply