Hello All,
I have to pickup a file in the service. If I give the path sonicfs:///pat/to/the/file.txt sonic refuse to recognise the path and look in C:\Sonic\MQ7.6\dev_ESBTest\sonicfs:\pat\to\the\file.txt and giving a file not found error. Please let me know how to invoke a file in a service.
Regards,
Swaroop Kunduru.
File pickup services just work against the local file system.
If you want to read something from the sonic file system then just use the URL classes, e.g. new Url("sonicfs://...."). url.openConnection(..)..
Thomas
Hi Thomas,
Could you please explain the usage of Url class feature in detail. I mean, how and where to write this piece of code and how to invoke it.
Thanks in advance,
Take for example http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/networking/urls/readingURL.html but use the sonicfs instead of the http url.
Thomas