Hey
I am using the output=foobar.xml with my simple java -cp command as follows
D:\CiscoSOAP\axlsqltoolkit>java -cp .\classes;.\lib\saaj-api.jar;.\lib\saaj-impl.jar;.\lib\mail.jar;.\lib\activation.jar;.\li
b\jaxm-api.jar;.\lib\jaxm-runtime.jar;.\lib\xercesImpl.jar;.\lib\xml-apis.jar AxlSqlToolkit -username=foo -password=bar -host=x.x.x.x -input=d:\apps\getFreeCall.cmd -output=d:\output\freecall.xml
The problem is that the first row in the output file is NOT the XML output, it adds the ------------ SQL code here -------
That makes my XML parser say the file is not valid XML, how can I make the toolkit ONLY output the valid XML and not add the silly first row?
If I edit the file and remove line 1 everything works fine.
I am not on UNIX so no nifty scripts or tools will work and windows find only outputs 255 chars so I need sth in the toolkit to omit the first rubbish row.
Any suggestions appeciated
rgds
Matt