![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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. |
My System Specs![]() |
| | #2 (permalink) |
| | 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. |
My System Specs![]() |
| | #3 (permalink) |
| | 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. > > > |
My System Specs![]() |
| | #4 (permalink) |
| | 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. >> >> >> |
My System Specs![]() |
| | #5 (permalink) |
| | 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. | > | > | > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Returning the first non-null value in a list | PowerShell | |||
| Network List Service is missing from the list of services | Network & Sharing | |||
| I have no Spool Service on Services list... | Vista print fax & scan | |||
| Re: BITS Service disappeared in services-list Vista32 | Vista General | |||