Last post Sep 12, 2013 05:39 AM by Happy Chen - MSFT
None
0 Points
376 Posts
Sep 10, 2013 03:28 AM|maulikshah90|LINK
I have one url and want to pass xml string with it
For exp : URL = http://maulikxml.test.com/gateway.dotw
and xml string is =
<maulik><username>maulik</username><password>1234maul</password><id>122</id><request command=\"command\">request details</request></maulik>
now how to pass this in asp.net
pls give proper example
thanks
regards
maulik shah
Participant
1499 Points
501 Posts
Sep 10, 2013 05:59 AM|atulthummar|LINK
Try these options:
http://dotnetslackers.com/Community/blogs/haissam/archive/2007/11/26/ways-to-pass-data-between-webforms.aspx
Sep 10, 2013 06:20 AM|maulikshah90|LINK
Hi
sorry.. i dont want to pass it as querystring..but want to pass with url as request and get response...
All-Star
15648 Points
2151 Posts
Sep 12, 2013 05:39 AM|Happy Chen - MSFT|LINK
hi maulikshah90,
From what I understand you want post XML with URL.
I would suggest you to try the following demo:
How to send XML data to a Webpage using “POST” Method
http://www.codeproject.com/Articles/68824/How-to-send-XML-data-to-a-Webpage-using-POST-Metho
Post XML data to a URL
http://forums.asp.net/t/1302462.aspx
I hope it helps you.
None
0 Points
376 Posts
Post XML with URL
Sep 10, 2013 03:28 AM|maulikshah90|LINK
I have one url and want to pass xml string with it
For exp : URL = http://maulikxml.test.com/gateway.dotw
and xml string is =
<maulik><username>maulik</username><password>1234maul</password><id>122</id><request command=\"command\">request details</request></maulik>
now how to pass this in asp.net
pls give proper example
thanks
regards
maulik shah
Participant
1499 Points
501 Posts
Re: Post XML with URL
Sep 10, 2013 05:59 AM|atulthummar|LINK
Try these options:
http://dotnetslackers.com/Community/blogs/haissam/archive/2007/11/26/ways-to-pass-data-between-webforms.aspx
Atul T.
Please click "mark as answer" if this post helped you.
None
0 Points
376 Posts
Re: Post XML with URL
Sep 10, 2013 06:20 AM|maulikshah90|LINK
Hi
sorry.. i dont want to pass it as querystring..but want to pass with url as request and get response...
regards
maulik shah
All-Star
15648 Points
2151 Posts
Re: Post XML with URL
Sep 12, 2013 05:39 AM|Happy Chen - MSFT|LINK
hi maulikshah90,
From what I understand you want post XML with URL.
I would suggest you to try the following demo:
How to send XML data to a Webpage using “POST” Method
http://www.codeproject.com/Articles/68824/How-to-send-XML-data-to-a-Webpage-using-POST-Metho
Post XML data to a URL
http://forums.asp.net/t/1302462.aspx
I hope it helps you.