I've been looking at this today with the following in mind...
- Endpoint2 should be serializable in the sense that it defines a
deployed endpoint of the form
<component ...>
<service ...>
<binding .../>
</service>
</component>
- EndpoingReference2 represents a reference to an endpoint. It really
underlies a callable reference and should be serializable in the form
<component ...>
<reference...>
<binding .../>
<extension elements used to store things like callbackID/>
</reference>
</component>
As an aside, looking at the code, I see that with the old endpoint
reference structure (EndpointReference) and the callable reference we
hang reference parameters that include things like the callback ID for
a particular reference. I'm guessing this is a separate structure so
that they can be serialized as extensions to the component reference
structure. However both the old EndpointReference and the
ReferenceParameters structure have an EndpointReference related to the
callback and I don't know what the difference between the two are. Is
it just that the callback endpoint reference is copied to the
parameters structure for serialization? Anyone know?
Simon