473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

XmlHttpRequest from a Windows Application ?

I want to design/develop an windows application that can query multiple
websites (XmlHttpRequest), call number of 3rd party external
webservices (SOAP) and parse/process the data and display it to the
user.
Ideally this would have been developed as a website, but due to crosss
doman limitation on XmlHttpRequest, I am thinking of developing it as
an windows application.

Since I am basically new to developing visual studio applications, I
want to know what is the easiest/best of doing it.

1. from some initial searching, one of the solutions I found is to
build an browser based application (application: with the browser
control). If so can I still use XmlHttpRequest ? and would the
cross-domain limitation with XmlHttpRequest apply here and in any way
prevent me from querying multiple sites ?

2. Is there any other way of doing this.
thanks in advance
Dave.

Feb 16 '06 #1
1 1459
Thus wrote Dave,
I want to design/develop an windows application that can query
multiple websites (XmlHttpRequest), call number of 3rd party external
webservices (SOAP) and parse/process the data and display it to the
user.

Ideally this would have been developed as a website, but due to crosss
doman limitation on XmlHttpRequest, I am thinking of developing it as
an windows application.

Since I am basically new to developing visual studio applications, I
want to know what is the easiest/best of doing it.

1. from some initial searching, one of the solutions I found is to
build an browser based application (application: with the browser
control). If so can I still use XmlHttpRequest ? and would the
cross-domain limitation with XmlHttpRequest apply here and in any way
prevent me from querying multiple sites ?

2. Is there any other way of doing this.


You should avoid XMLHTTPRequest. You can easily create Web Service proxies
in Visal Studio by adding a Web Reference.

If you cannot use this feature (e.g. there's no WSDL or XSD to use), you
could use System.Net.HttpWebRequest/Response and System.Xml classes to write
the required HTTP communication and XML processing yourself (ouch!).

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Feb 17 '06 #2

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

Similar topics

6
by: Chris Smith | last post by:
This is a bit of a weird problem. Unfortunately, I can't reproduce it in a simple example, so I can only poke it out there and see if anyone has seen something similar. I have a script that...
76
by: kwilder | last post by:
This works, but it doesn't load the latest version of the xml if it was just modified without closing and reopening the browser. Here's the scenario: I have an xml doc called results.xml. It...
42
by: Greg | last post by:
Hi, I've designed a bookmark in Ajax / PHP that I will put soon on sourceforge.net. But I've got an very tricky bug. I try it on some computers with Internet Explorer/Windows, Firefox...
1
by: dave | last post by:
I want to design/develop an windows application (C#) that can query multiple websites (XmlHttpRequest), call number of 3rd party external webservices (SOAP) and parse/process the data and display...
7
by: pamelafluente | last post by:
The precious input given by Laurent, Martin, Benjamin about XMLHttpRequest in Javascript, has made me think that perhaps I could improve what I am currently doing by using Ajax. Let's make it...
5
by: Peter Michaux | last post by:
Hi, The FAQ correctly says the following: "Mozilla (NN6.2+, Firefox, Ice Weasle etc), Opera 7.6+, Safari1.2+, the Windows version of IE versions 5+, and some other browsers provide the XML...
1
by: geevaa | last post by:
http://www.phpbuilder.com/columns/kassemi20050606.php3 XMLHttpRequest and AJAX for PHP programmers James Kassemi Introduction: Although the concept isn't entirely new, XMLHttpRequest...
2
by: Michael Nemtsev [MVP] | last post by:
Hello, In the current application we have several httpmodules to process pages, and we have several pages with calls directly through the XMLHttpRequest. Now the requiremens is to detect the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.