When using the MetadataResolver.RetrieveEndpoints() method
for retrieving a service's endpoints via WS-MEX it seems that the
time required for the call to complete depends on the complexity
of the endpoint. When I call RetrieveEndpoints() on a small endpoint
everything works fine, however when the endpoint is more complex
(i.e. more methods, nested datatypes) I always get a timeout
exception. Configuring timeouts via config file didn't help, it seems
that the WS-MEX doesn't use timeout settings from the config file.
However, when I use RetrieveEndpointsUsingHttpGet() instead of
RetrieveEndpoints(), I don't experience these delays or timeouts
and all endpoints work properly, independent of their complexity
(all calls nearly need the same time).
Has anyone else experienced this behaviour? Can someone
provide me with some information about that?
Thanks,
Andreas
|