Hello,
I’m using IS 4.6… trying to develop some code in a java service to read an xml file and capture it as Values… here’s the sample code:
XMLCoder txfilexml = new XMLCoder();
FileInputStream txfile = new FileInputStream(“D:\B2B\Data\TXStatus.xml”);
Values txvalues = txfilexml.decode(txfile);
For some reason I’m getting an null pointer exception at the “Values” line…
Any idea why?.. can anyone provide working sample code… just a simple conversion of an xml file to Values using java and the com.wm.util.coder.XMLCoder provided by webMethods…
Thanks,
Ken
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods