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 / August 2003

Tip: Looking for answers? Try searching our database.

Calling a web service from a web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JC - 16 Aug 2003 03:12 GMT
Hi there, I am working on an application that will expose a Web
Service using VS.NET.  Internally, the web service will make calls to
another web service, will apply certain business rules to the
responses and modify the returned XML accordingly.

My question is surrounding the definition of my web service.  I
already have the remote web service in place that accepts a certain
format of XML document, and returns back a certain format of XML
document.  I would like to have my input and output be of the same
format (with the exception of the changes I will make as a result of
the business rules).  With all that in mind, it seems silly to have to
write my own definition of input and output parameters for my web
service, since it already exists in the remote web service.  Is there
any way that I can declare my input and output parameters just to be
an XML document, so the declaration of my own web service will
basically say "don't worry about the format - it's XML, and it's
defined elsewhere".

Otherwise I have to explicitly define the structure of the parameters,
so that the XML that comes back from the remote server has to be
passed through my individual parameters, only for it to be serialized
back to XML as I return the data - just seems unnecessary.

Any suggestions?
Tom Vande Stouwe MCSD.net - 20 Aug 2003 19:51 GMT
Can you say 'Dataset'?
Deserialize your XML to a DATASET and pass them around.
Tom
Signature

==========================================
= Tom Vande Stouwe MCSD.net, MCAD.net, MCP
= 45Wallstreet.com (www.45wallstreet.com)
= (803)-345-5001
==========================================
= If you are not making any mistakes
.= ..you are not trying hard enough.
==========================================

> Hi there, I am working on an application that will expose a Web
> Service using VS.NET.  Internally, the web service will make calls to
[quoted text clipped - 20 lines]
>
> Any suggestions?

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.