Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

Converting an application to support Web Services ...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Annie - 09 Oct 2005 12:14 GMT
hello guys,

There are many books on how to create web service application from scratch
however I haven't found
any resource to explain how to convert an existing application to support
web services.

As an example, let is say I have a 3-tier architecture application and in
this example let is say I have
a function Search which gets a customer ID and returns a Dataset. How can
wrap up this component
to a web service? Any examples, online resources or any book details will be
appreciated ....

TA
Michael Nemtsev - 09 Oct 2005 14:19 GMT
Hello Annie,

You should understand that WS is just RemoteInterface to your system, in
general WS plays facade role.
So, if u have Search function in some component and want extract it to the
WS the first step you need to undertake
is to create contract. In means that you need create XSD description of your
interface that WS will expose,
and using xsd.exe create a class from you XSD file. In this class you call
your Search function from
component.

A> hello guys,
A> There are many books on how to create web service application from
A> scratch
A> however I haven't found
A> any resource to explain how to convert an existing application to
A> support
A> web services.
A> As an example, let is say I have a 3-tier architecture application
A> and in
A> this example let is say I have
A> a function Search which gets a customer ID and returns a Dataset. How
A> can
A> wrap up this component
A> to a web service? Any examples, online resources or any book details
A> will be
A> appreciated ....
A> TA
A>
---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
Annie - 10 Oct 2005 02:18 GMT
Hi Michael,

Thanks for your information ... however, that is very vague "to create
contract" ... I know what web services is
and how it works ... the way you explain is more type of Message-Oriented WS
which are not very scalable and not
really matching with SOA if I understand your clue correctly. I have never
used WS to create a Middleware for an existing system.

I really, want some details resources ... eg online with a implemented
scenario or a worthy book.

TA

> Hello Annie,
>
[quoted text clipped - 30 lines]
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche
ViewState - 10 Oct 2005 02:43 GMT
go to www.codeproject.com or msdn comunity you will find lots of info...
there are many books too
> Hi Michael,
>
[quoted text clipped - 44 lines]
>> "At times one remains faithful to a cause only because its opponents do
>> not cease to be insipid." (c) Friedrich Nietzsche
Michael Nemtsev - 10 Oct 2005 06:21 GMT
Hello Annie,

It's not vague, it's standard of the SOA
Maybe u missed smth, but the last version of SOA is not RPC at all,
it's message orient, bases on the document style. And it's why I recoment
to use this kind
of exposing.
Moreover RPC is not scalable, they can't perform very good solution for robust
and scalability
and was obliged to move to the MOM (Message Orient Middleware).  See w3c
description of last version of SOA
Now it's a *good* solution if u need to use SOA

I've posted some links in my blog about this, repost them over here

http://www.w3.org/TR/soap12-part2/
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/arch
serviceorientedintegration.asp

http://msdn.microsoft.com/architecture/thinkahead/default.aspx?pull=/library/en-
us/dnbda/html/srorientwp.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/impl
soiwithnet.asp


A> Thanks for your information ... however, that is very vague "to
A> create
A> contract" ... I know what web services is
A> and how it works ... the way you explain is more type of
A> Message-Oriented WS
A> which are not very scalable and not
A> really matching with SOA if I understand your clue correctly. I have
A> never
A> used WS to create a Middleware for an existing system.
A> I really, want some details resources ... eg online with a
A> implemented scenario or a worthy book.
A>
A> TA
A>
A> "Michael Nemtsev" <nemtsev@msn.com> wrote in message
A> news:43daf2322a7b5a8c79b0cb4fbc088@msnews.microsoft.com...
A>
>> Hello Annie,
>>
[quoted text clipped - 34 lines]
>> "At times one remains faithful to a cause only because its opponents
>> do not cease to be insipid." (c) Friedrich Nietzsche

---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Annie - 11 Oct 2005 12:21 GMT
Hello Michael,

I appreciate all your help and time posting the details,

cheers

> Hello Annie,
>
[quoted text clipped - 74 lines]
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.