Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-17-2013, 12:03 PM   PM User | #1
DP196
New to the CF scene

 
Join Date: Jan 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
DP196 is an unknown quantity at this point
TO process server response

HI!
I have not worked on server/client framework for many years now and now I am trying to get response from the server and print it on a webpage.
I have to send a request in xml tag and the response come back in xml format as well.
Can i send the request in a html file with the form tag and how do i process the response and display it in the same webpage? Can javascript do this work? or do i need something like .net/php etc.
The server at the moment is local host on a particular port.
Thank you.
DP
DP196 is offline   Reply With Quote
Old 01-17-2013, 08:29 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,387
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
You need explain your self some more. What do you mean
Quote:
I have to send a request in xml tag
What are you sending this to and how is the receiving program reading this?
Are you asking for an xml file?
sunfighter is offline   Reply With Quote
Old 01-17-2013, 09:42 PM   PM User | #3
DP196
New to the CF scene

 
Join Date: Jan 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
DP196 is an unknown quantity at this point
I need to send a request to a server(currently it's localhostortno) in this format
<Request><Getjobstatus></Request>

The server will respond something like this
<?xml tag.....
<Response>
<Jobid>dkljfldkf<jobid>
<status>done</status>

</Response>

The response is already in place and i don't have to worry abou tthat. All I am trying to do is send the request and receive the response and show it in a webpage.
I hope i make sense.
DP196 is offline   Reply With Quote
Old 01-18-2013, 07:02 PM   PM User | #4
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,387
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
Read my response to this thread http://www.codingforums.com/showthre...22#post1306722 for showing the response. The problem I'm having is with the request. Looks like a lot missing (ex:soap) or something I know nothing about.
sunfighter is offline   Reply With Quote
Old 01-24-2013, 11:51 AM   PM User | #5
DP196
New to the CF scene

 
Join Date: Jan 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
DP196 is an unknown quantity at this point
We have a C csocket app which takes in request and responds with xmltag.
The response is a stream of data which includes xml tag. I need to send a request(xmltag) to the server and display the result(using the xml tag and xsl) in an IE.
Since there is no actual page in the server I can't do localhostortno/webpage?querystring. I need to convert this string of xmltag which is in the csocket app to a webpage. What is the best way to do this?
I hope I have put this in the right forum, if not please redirect me?

Thanks in advance.
DP196 is offline   Reply With Quote
Old 02-19-2013, 10:58 AM   PM User | #6
ikuvae22
New Coder

 
Join Date: Jan 2013
Location: Bangladesh
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
ikuvae22 is an unknown quantity at this point
I have a website. So I have a server too. I make my website local host first and then I upload it into main server. You an use xml, html javascript and php to advance develop your website.
ikuvae22 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:13 AM.


Advertisement
Log in to turn off these ads.