* @return the return value from the invocation.
* @throws Throwable
*/
public Object invoke(InputStream inputStream, Object param) throws Throwable
{
StreamServer streamServer = new StreamServer(inputStream);
String locator = streamServer.getInvokerLocator();
// now call on target server and pass locator for stream callbacks
InvocationRequest invocationRequest =
new InvocationRequest(sessionId, subsystem, param, null, null, null);
return invoke(new InternalInvocation(InternalInvocation.ADDSTREAMCALLBACK,