Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Service returning services list ?

 
 
Thread Tools Display Modes
Old 05-14-2007   #1 (permalink)
Franck
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.
Old 05-14-2007   #2 (permalink)
Arkady Frenkel
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.



Old 05-14-2007   #3 (permalink)
Franck
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.

>
>
>

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

>>
>>
>>



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


 

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








Vistax64.com 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 2005-2008

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 47 48 49 50