473,394 Members | 1,746 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,394 software developers and data experts.

Urgent Problem receiving XML

Hi Everyone,

I would really appreciate any help with the follwoing problem:

I need to write a page that posts an xml document to a server. Thats the
easy bit

What I don't yet know how to do, is get the XML that is sent back. The
server that is posted to, responds by displaying an xml message in the
browser. I need to get that xml into a string so that I can parse it.

Can anyone tell me how I would do this?

Thanks everyone!

Simon
Nov 18 '05 #1
2 944
???

An XML document IS a string...

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Simon Harvey" <sh856531@microsofts_free_email_service.com> wrote in message
news:ez**************@TK2MSFTNGP09.phx.gbl...
Hi Everyone,

I would really appreciate any help with the follwoing problem:

I need to write a page that posts an xml document to a server. Thats the
easy bit

What I don't yet know how to do, is get the XML that is sent back. The
server that is posted to, responds by displaying an xml message in the
browser. I need to get that xml into a string so that I can parse it.

Can anyone tell me how I would do this?

Thanks everyone!

Simon

Nov 18 '05 #2
Simon Harvey wrote:
Hi Everyone,

I would really appreciate any help with the follwoing problem:

I need to write a page that posts an xml document to a server. Thats
the easy bit

What I don't yet know how to do, is get the XML that is sent back. The
server that is posted to, responds by displaying an xml message in the
browser. I need to get that xml into a string so that I can parse it.

Can anyone tell me how I would do this?


Use either System.Net.WebClient or System.Net.WebRequest to send the XML to
the remote host. This will allow you to receive the XML response from the
remote host and process it how you see fit.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #3

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

Similar topics

0
by: felix_william | last post by:
Attention=3A Dear friend=2C REQUEST FOR BUSINESS RELATIONSHIP OF GREAT PROFITS I am HON=2E =28DR=2E=29 Felix William=2C the Director of Procurement and Contract Award at the Nigerian National...
28
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
4
by: Razzie | last post by:
Hey all, I have a SOAP envelope with which I try to communicate to a webservice. Everything is fine, but when I try to access a parameter of the webservice method, I get the Object reference not...
6
by: Carlos Lozano | last post by:
Hi, I have the following problem. I created a Properties section: private SerialComm oComm = new SerialComm(); // Wraps a DLL to handle Serial //comms. private Thread PrinterThread = null;...
4
by: P K | last post by:
Hi, I am calling a .net class function from an asp page. I want to step through that function. Looks like though I can debug asp code I cannot debug the .net dlls referred in the asp code. ...
3
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from...
3
by: Bratislav Jevtic | last post by:
Hi, I've just installed Ajax November CTP, changed app according to instructions and I am (was) satisfied. Next step - deployment to server. I'm receiving error:...
3
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi, I'm using the bellow code to send emails in a Website that I uploaded in one of my client's server where it has SMTP installed, BUT some users are receiving email some others aren't !!?So,...
1
by: zeuscc | last post by:
I'm doing my final year project which is web-based fax server. I'm using the faxcomexlib library that inside the visual studio 2005 to do the fax function. I had done the send fax part. But now i...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
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.