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 / February 2005

Tip: Looking for answers? Try searching our database.

Web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Wels - 16 Feb 2005 13:41 GMT
Hi.

I would like to ask.

IN my program I have refferences to any web Service.

When I want call some method of this service I use:

Dim myservice As New cx.dragon.amaral.Calculator

Messagebox.show(myservice.Add(10, 10))

It returns 20.

How can I receive response from that method in xml format?

Thanks for answers.
Modica82 - 16 Feb 2005 14:25 GMT
Hi John,

I am not sure what your saying here, but the values do get returned in XML
format, the problem is they get de-serialized back into their original
values.  So for instance if you have a web method that returns a integer, the
web service will serialized it to XML send it accross and when it reaches the
consuming code gets de-serialized back into an integer.

If you want a representation as XML, then i guess you could change the
return type to a string and create the XML using the XMLTextWriter class of
the framework.

Hope that helps,

Rob

> Hi.
>
[quoted text clipped - 13 lines]
>
> Thanks for answers.

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.