WES Sample - Issues

Hi,

I'm working on CSF 3.0 Dev version. I'm trying to develop WES Adapter over HellowWorld Service. When I looked at the WES Toolkit sample which is shipped with Dev version, It isnot an Adapterover any sample service. Whenever client sends a request WES returns the response from the stored xml files.

Let me explain my scenario:

I have a WES Adapter over HelloWorld Example. Using Health monitor WES need to aware the availability of HelloWorld service. So that client can easily take a decision using interating with WES adapteronly,rather than directly intreracting with HellowWorld Service.

My Question is

1. How to design WES Adapter for this scenario? ( For ex. Send a request to HellowWorld Service (any method ?) and wait for sometime to get response. If not getting any response then the state of Helloworld Service is disabled. Store these info in Local xml file which is used by client.)

2. In the WES tool kit sample,GetServiceHealthState method is simply reading vaules fromSampleServiceHealthLog.xml file and returning back. When this xml file will get populated?

3. Can i get any other WESadapter sample?

Rgs

Vasu

[1305 byte] By [Vaassu] at [2008-2-5]
# 1

Vasu,

You are correct. The WES Toolkit sample isn't built on top of any of the core sample such as Hello World, etc...

The sample is meant to show how a WES created by using the WES Toolkit would look like. There is no backend implementation as you correctly point out (responses are returned from XML files).

Note that the health implementation is based on a local XML file (e.g. SampleServiceHelathLog.xml). It stores the last action you performed using the WES interface, for example MyHellowordMethod, the timestamp and errors if any. This information is stored in the health log XML file. The sample you have is the only available WES Toolkit sample.

Thanks,

Raymond

Raymond-MSFT at 2007-8-31 > top of Msdn Tech,Connected Services Framework,Connected Services Framework...