Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Service returning services list ?

 
 
Old 05-14-2007   #1 (permalink)
Franck


 
 

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 SpecsSystem Spec
Old 05-14-2007   #2 (permalink)
Arkady Frenkel


 
 

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 SpecsSystem Spec
Old 05-15-2007   #3 (permalink)
Franck


 
 

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 SpecsSystem Spec
Old 05-15-2007   #4 (permalink)
Arkady Frenkel


 
 

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
news94F4ED2-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 SpecsSystem Spec
Old 05-22-2007   #5 (permalink)
William Stacey [C# MVP]


 
 

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
news94F4ED2-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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46