![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Service returning services list ? Hi, I'd like to build a WCF service which will read the service.model section from my host config file and return me a service collection. I'm reading the config successfully but ServicesSection or ServiceElementCollection are not serializable objects. Is it possible to return these kind of collection through WCF service ? Any help would be most welcome. Thks. |
| | #2 (permalink) |
| Guest | Re: Service returning services list ? Client can read meta data of the service directly to learn/use it Arkady "Franck" <Franck@discussions.microsoft.com> wrote in message news:A8D8B93B-23FB-4183-B848-4ED9359D2418@microsoft.com... > Hi, > I'd like to build a WCF service which will read the service.model section > from my host config file and return me a service collection. > > I'm reading the config successfully but ServicesSection or > ServiceElementCollection are not serializable objects. > > Is it possible to return these kind of collection through WCF service ? > > Any help would be most welcome. > > Thks. |
| | #3 (permalink) |
| Guest | Re: Service returning services list ? Hi, The point is that I'm tryin to build some kind of WCF Services explorer. So my client has no idea of services url or else. I'd like to list all services available from host in order to my client to select some and generate proxies for. "Arkady Frenkel" wrote: > Client can read meta data of the service directly to learn/use it > Arkady > > "Franck" <Franck@discussions.microsoft.com> wrote in message > news:A8D8B93B-23FB-4183-B848-4ED9359D2418@microsoft.com... > > Hi, > > I'd like to build a WCF service which will read the service.model section > > from my host config file and return me a service collection. > > > > I'm reading the config successfully but ServicesSection or > > ServiceElementCollection are not serializable objects. > > > > Is it possible to return these kind of collection through WCF service ? > > > > Any help would be most welcome. > > > > Thks. > > > |
| | #4 (permalink) |
| Guest | Re: Service returning services list ? OK, second part when you already know URL ( from enumerating config files or somewhere else ) you can take Metadata Explorer project from http://www.idesign.net/idesign/Deskt...dex=5&tabid=11 Arkady "Franck" <Franck@discussions.microsoft.com> wrote in message news 94F4ED2-8F75-4EAB-ADAA-742990D2148E@microsoft.com...> Hi, > The point is that I'm tryin to build some kind of WCF Services explorer. > So my client has no idea of services url or else. > > I'd like to list all services available from host in order to my client to > select some > and generate proxies for. > > > "Arkady Frenkel" wrote: > >> Client can read meta data of the service directly to learn/use it >> Arkady >> >> "Franck" <Franck@discussions.microsoft.com> wrote in message >> news:A8D8B93B-23FB-4183-B848-4ED9359D2418@microsoft.com... >> > Hi, >> > I'd like to build a WCF service which will read the service.model >> > section >> > from my host config file and return me a service collection. >> > >> > I'm reading the config successfully but ServicesSection or >> > ServiceElementCollection are not serializable objects. >> > >> > Is it possible to return these kind of collection through WCF service ? >> > >> > Any help would be most welcome. >> > >> > Thks. >> >> >> |
| | #5 (permalink) |
| Guest | Re: Service returning services list ? easy way would be to publish all service urls in a shared file. Maybe they reg themselfs at startup. Then the client can just download the file and enum it. Naturally, this kind of thing could be a security concern as you don't want to publish more targets then required. -- William Stacey [C# MVP] "Franck" <Franck@discussions.microsoft.com> wrote in message news 94F4ED2-8F75-4EAB-ADAA-742990D2148E@microsoft.com...| Hi, | The point is that I'm tryin to build some kind of WCF Services explorer. | So my client has no idea of services url or else. | | I'd like to list all services available from host in order to my client to | select some | and generate proxies for. | | | "Arkady Frenkel" wrote: | | > Client can read meta data of the service directly to learn/use it | > Arkady | > | > "Franck" <Franck@discussions.microsoft.com> wrote in message | > news:A8D8B93B-23FB-4183-B848-4ED9359D2418@microsoft.com... | > > Hi, | > > I'd like to build a WCF service which will read the service.model section | > > from my host config file and return me a service collection. | > > | > > I'm reading the config successfully but ServicesSection or | > > ServiceElementCollection are not serializable objects. | > > | > > Is it possible to return these kind of collection through WCF service ? | > > | > > Any help would be most welcome. | > > | > > Thks. | > | > | > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Network List Service is missing from the list of services | digital-flex | Network & Internet | 2 | 05-06-2008 04:21 PM |
| I have no Spool Service on Services list... | Cokol | Vista print fax & scan | 1 | 04-14-2008 02:10 PM |
| Re: BITS Service disappeared in services-list Vista32 | Jon | Vista General | 6 | 02-25-2008 08:39 AM |