Hi Youenn,
The WSE3 HOL's demonstration of SCT was for informational purposes
only. The reason why you are seeing an RSTR every single time you push the
View Invoices button is because in the code for View Invoices, a new
instance of the proxy is created. We associate an SCT with the lifetime of
the proxy, and
since a new proxy is created every time the View Invoices button is pressed,
we see an RST for every call.
If you actually wanted to see the RSTR getting sent only once, then you
could make the proxy global to the class, in which case it will only get
constructed once and the SCT
requested from the first RST will get used in subsequent messages.
Let me know if you have more questions.
Thanks,
Sidd [MSFT]
> Hi,
>
[quoted text clipped - 10 lines]
>
> Youenn
Youenn Trebossen - 07 Jul 2005 08:22 GMT
Thanks Sidd,
I made the proxy global to my class, and the RSTR is effectively sent
only once. However, how can i make this RSTR happens only once when i
have multiple web services proxies ? Is it possible "by default", or do
i need to make my own Security token service ?
Youenn
> Hi Youenn,
>
[quoted text clipped - 31 lines]
>>
>>Youenn