Bug 4326 - ExecutionAggregatorSource input stream bugs
: ExecutionAggregatorSource input stream bugs
Status: RESOLVED FIXED
: MDS4
wsrf_aggregator
: 4.0.1
: All All
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2006-04-05 16:06 by
Modified: 2006-04-07 15:01 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-04-05 16:06:24
The ExecutionAggregatorSource currently passes the following XML as stdin to
the target script when it is executed: 

1. MemberEPR of the ServiceGroupEntry
2. AggregatorConfig parameters as specified in the service group add
registration message

There are currently two bugs with the code that prepares the input stream:

1.  The namespaces for both the MemberEPR and the AggregatorConfig are
incorrect - they are set to the default (empty) namespace, rather than the
proper schema defined namespace.

2.  The XML input is serialized directly into the process input stream after
the process is executed, which may cause the stream to be truncated if too much
time is spent during the serialization step. Failure to write to the input
stream promptly will usually result in this behavior.  This can generally be
avoided by serializing the objects into a string buffer before the process is
executed, then piping the prepared string buffer into the executed process.
------- Comment #1 From 2006-04-07 15:01:32 -------
Fixed in all relevant branches.