Is there a way to pass in a file to an IS from an External Java client.
I am trying using the following code but I can only the IS only recognises String values. The ffdata input is defined as an Object of type BufferedInputStream when the pipeline is viewed following a File Poller Port call to trigger the service.
[SIZE=1] Object iDataRaw = new Object;
iDataRaw = “source”;
iDataRaw = “Java External Client”;
iDataRaw = “ffdata”;
iDataRaw = new BufferedInputStream(new FileInputStream (“c://temp//myfile.txt”));
IData inputPipeline = IDataFactory.create(iDataRaw);[/size]
TestClient client = new TestClient(
IData outputPipeline = client.invoke(“Package.test”, “aSimpleService”,
The example is based on some sample code psted in the forums and works fine with Strings - any pointers in the right direction would be useful.