473,407 Members | 2,326 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,407 software developers and data experts.

XMP content and POST ?

WJ
1. How can I use POST method to post the following XML statements to an Html
page or Asp page using Asp.net or
2. If the XML below is a file (text), how do I POST it to other web site
programmatically within asp.net form ?

*********

<NameList>
<Names>
<LastName>Hamilton</LastName>
<FirstName>Rick</FirstName>
<MiddleNamae>M</MiddleNamae>
</Names>

<Names>
<LastName>Elton</LastName>
<FirstName>John</FirstName>
<MiddleNamae>D</MiddleNamae>
</Names>
</NameList>

*********

Thanks,

John

Nov 19 '05 #1
3 1772
depends. you need to ask what format they want it in. is it a form post?
attachment post, or some non-standard post (say just the xml just follows
the http headers)

-- bruce (sqlwork.com)

"WJ" <Jo*******@HotMail.Com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
| 1. How can I use POST method to post the following XML statements to an
Html
| page or Asp page using Asp.net or
| 2. If the XML below is a file (text), how do I POST it to other web site
| programmatically within asp.net form ?
|
| *********
|
| <NameList>
| <Names>
| <LastName>Hamilton</LastName>
| <FirstName>Rick</FirstName>
| <MiddleNamae>M</MiddleNamae>
| </Names>
|
| <Names>
| <LastName>Elton</LastName>
| <FirstName>John</FirstName>
| <MiddleNamae>D</MiddleNamae>
| </Names>
| </NameList>
|
| *********
|
| Thanks,
|
| John
|
|
|
Nov 19 '05 #2
WJ
"bruce barker" <no***********@safeco.com> wrote in message
news:Od**************@TK2MSFTNGP14.phx.gbl...
depends. you need to ask what format they want it in. is it a form post?
attachment post, or some non-standard post (say just the xml just follows
the http headers)


It will be straight text (Text/Xml) and a form POST.
I think a Response.Write is needed because the website is not .Net or it may
not be matter.

Thanks

John
Nov 19 '05 #3
WJ wrote:
1. How can I use POST method to post the following XML statements to
an Html page or Asp page using Asp.net or
2. If the XML below is a file (text), how do I POST it to other web
site programmatically within asp.net form ?


See System.Net.WebClient or System.NetHttpWebRequest.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #4

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

Similar topics

2
by: CJ Oxx | last post by:
Is there an easy way to transfer a page POST content to the next page? Right now I read out the POST content in the PHP script and put it in a html form (with POST as content type) as a hidden...
1
by: Epetruk | last post by:
Hello all, I'm sorry for the long post, but I think it's better if I'm as detailed as I can be so that I don't make a mistake in my choice and so that there's a clear understanding of to what...
3
by: superseed | last post by:
Hi, I'm currently coding in C# a class to control a PTZ (Pan Tilt Zoom) Camera. To control the camera I have to send request on a CGI on it. Something like this : ...
4
by: Jed | last post by:
I have looked everywhere and cannot find a resolution for this. I have read several post on this forum that allude to similar issues but I have not found a solution. I am sending dynamic...
1
by: athirumurthi | last post by:
I have a WinINet communicating with an integration server (X-AspNet-Version: 1.1.4322) using form posts. One form post that includes jpeg content. However, the data received at the server is...
0
by: Sriram | last post by:
I have created a web service using C#. This basically receives a string as a parameter and returns an XML string. There is a specific requirment that the users should be able to call this web...
1
by: emielvl | last post by:
Hello, I'm developing a client/server architecture based on the XML-RPC implementation in php4. All works pretty well, except that in the response from the server there is no "Content-Length" in...
3
by: Laith Zraikat | last post by:
I need to set the page title for a content page in a master page, and do that using local reources so that I can have my page title in different languages. I can do that easily using global...
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
14
by: =?ISO-8859-9?Q?G=F6khan_Alt=FDnsoy?= | last post by:
Hi, I am trying to post a javascript content via form textarea input element. But when i click send (post) the posted page comes unaccesible. example content for post : <script...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.