473,563 Members | 2,695 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.XMLD ocument. 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 1384
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.XMLD ocument. 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
1431
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 run. The 2nd part of the requirement is to have a UI that will allow an operator to view the progress / current status of the processing. Even if...
3
2192
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 does for them, as I have not yet interviewed mainframe development staff at client company. I assume that it eases coding to access back-end DB2...
3
2087
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 on the other side the service reads messages for these clients from MSMQ and sends them to already connected clients. the clients can also send...
1
1480
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 and using Integrated Security to connect to SQL Server? On reading the IIS help it seems that if I create a new application pool and configure...
6
1627
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 of connecting late and disconnecting early. Background: - multi-tier application (code-behind uses properties and methods of the business...
1
7172
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 returns the correct information from the database with no problems. I have created a new Virtual Directory in my local IIS that points to the VS2005...
0
1990
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 must cross a proxy server. The application runs fine through all proxy servers but one that is configured to require a "User-Agent" header. I...
0
2375
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. The application runs fine through all proxy servers but one that is configured to require a "User-Agent" header. I have added the user agent...
2
1486
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. If we use wsdl.exe we get a service.cs and then include it in our project. The first two gave us entries in the web config. The third does not....
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6250
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.