473,499 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Best Way To Connect .aspx to XML web service...

I have a .NET web service which returns a System.XML.XMLDocument. The
data returned in the XML is just simple text. Now, I want to display
and format the text on a .aspx web page. I know how to call the web
service from my .aspx by using 'add web resource', but is that the
right way to do this? Once I get the XML object back from the web
service, what's the best way to format and display it on my .aspx web
page? Through XSL/XSLT? Do I use a seperate data reader control to
connect to the XML web service? Help?

Aug 3 '06 #1
1 1380
I assume by "Add Web Resource" you really meant "Add Web Reference and
plugged in the url to your services WSDL generator page.

You can add the XML to an XML Control, and an appropriate XSLT Stylesheet,
and the control will automatically perform the transform to display the
result any way you like.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kennedystephen" wrote:
I have a .NET web service which returns a System.XML.XMLDocument. The
data returned in the XML is just simple text. Now, I want to display
and format the text on a .aspx web page. I know how to call the web
service from my .aspx by using 'add web resource', but is that the
right way to do this? Once I get the XML object back from the web
service, what's the best way to format and display it on my .aspx web
page? Through XSL/XSLT? Do I use a seperate data reader control to
connect to the XML web service? Help?

Aug 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1422
by: JohnFol | last post by:
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle box. It has no UI, and needs no user intervention to...
3
2188
by: Fred Zimmerman | last post by:
My new client is running DB2 6.1 on IBM mainframe (z/OS). They are running DB2 Connect ver. 7.2 to connect to database. (If you cannot already tell, I'm new to DB2.) I'm not sure what DB2 Connect...
3
2084
by: danavni | last post by:
i need to build a service that will accept incoming TCP/IP connections. the service should act like a "HUB" where on one side clients connect to it and stay connected for as long as they like and...
1
1470
by: MichaelG | last post by:
I have a web service that talks to SQL Server 2005. At present the WS uses an SQL Server login and password to connect. Is this best practice or should I be running the WS under a domain account...
6
1618
by: Nate | last post by:
I am in a slight predicament trying to determine the most efficient and effective way to connect/disconnect from a database within a business object (c# dll). I'm also keeping in mind the concept...
1
7163
by: =?Utf-8?B?TmVsc29uIEFuZHLDqQ==?= | last post by:
Dear friends, I'm a Web Services newbie and I have created a simple Web Service that given 3 parameters accesses a database and returns 1 value. When run from Visual Studio 2005, the Webservice...
0
1980
by: =?Utf-8?B?TWlrZTEz?= | last post by:
Sorry for the cross post from dontnet.framework but I'm hoping this may see more activity here. I have written an application to access a web service. The application runs at multiple sites and...
0
2368
by: =?Utf-8?B?TWlrZTEz?= | last post by:
Sorry for the cross post; I'm hoping this will get a response here... I have written an application to access a web service. The application runs at multiple sites and must cross a proxy server....
2
1476
by: GaryDean | last post by:
This question is about alternate ways to hook into a web service. If we just add web reference in VS 2003 we got a wsdl, reference.cs, and reference.map. In vs2005 we get a wsdl and a discomap. ...
0
7174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.