Web services, class separation

N

nbevans

Is it just me or does there seem to be no way to host multiple business
classes from a single web service?

I don't want to be making seperate Web References in VS for each of my
business classes.

Is there a design pattern or something that I'm missing out on?

Cheers
 
N

nbevans

I'm currently adding each of my classes (well the proxies anyway) via a
seperate Web Reference. I am wondering if there is some way to simply
add a .disco and it adds all the related web references together as a
whole group.

Even just grouping them via common namespace would be good but VS seems
to create a seperate namespace for each proxy.
 
J

John Saunders

I'm currently adding each of my classes (well the proxies anyway) via a
seperate Web Reference. I am wondering if there is some way to simply
add a .disco and it adds all the related web references together as a
whole group.

Ok, so if I understand you, you have a lot of fine-grained web services, and
you want to be able to generate web references for them as a group.

Can you put them all into a UDDI directory? If you could, then some tool
could find them all and generate proxies.

Otherwise, how should VS.NET find them all? You could enumerate them all in
some kind of file, but the file would be out of date as soon as a class was
added or deleted.

Finally, I assume you can't change things to use more of an SOA approach?

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top