Recently, on our Test iWay server, when I drop an XML file into the directory that iWay is listening to, I get an error message saying that the input document cannot be empty or flat. This didn't happen a couple of weeks ago and I can't figure out what has changed to make it not process the XML file. Does anyone have any suggestions on what to look at?
I already verified that "XPATH 1.0 Functions" is checked off in the servers General Settings.
Thanks, ColleenThis message has been edited. Last edited by: cgiuda,
WebFocus 8104, IBMi (server), Windows 7 (client), iWay 6.1
December 27, 2012, 10:34 AM
Igor Y
Check the listener. It has the parameters to accept flat or empty files
iWay Service Manager (6.0.1 - patch.62627) DMC Version 7 Release 7
January 02, 2013, 11:06 AM
cgiuda
We only want to process XML files. This worked correctly until coincidentally we updated our iSeries from V6R1 to V7R1.
I've entered a IBI case for this. I will update this post with the solution once it's resolved.
Thanks.
WebFocus 8104, IBMi (server), Windows 7 (client), iWay 6.1
January 08, 2013, 08:37 AM
cgiuda
Just an update: No solution yet on this, though I've narrowed it down to our XSL transform outputing nothing instead of what it normally does.
WebFocus 8104, IBMi (server), Windows 7 (client), iWay 6.1
January 10, 2013, 12:17 PM
cgiuda
The solution was to add -Djavax.xml.transform.TransformerFactory= org.apache.xalan.processor.TransformerFactoryImpl to our startup script for iWay.
Evidentally, the upgrade to V7R1 changed the default library used for transforms.
WebFocus 8104, IBMi (server), Windows 7 (client), iWay 6.1