XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 14th, 2003, 03:54 PM
lunatic lunatic is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 150 lunatic User rank is Private First Class (20 - 50 Reputation Level)lunatic User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 h 50 m 39 sec
Reputation Power: 6
How to send XML requests to a url & with what language

Hello, I am very new to XML langauge and understand that I'm going about this whole learning thing wrong. But I have searched the forums and just don't have the patients right now to look through them.

Here's my question:
Say I have this in a file called test.xml

Code:
<NexRes product=”Hotel”>
	<session>
		<id>mySessionIDXXX</id>
		<affiliate>
			<id>10000000</id>
		</affiliate>
	</session>
	<request type=”PropertyInformation”>
		<hotelId>11223344</hotelId>
		<include>OVERVIEW</include>
	</request>
</NexRes>


Now how would I send this XML request to a XML server at this url http://www.domain.com/xml/xps.cgi and recieve a response?

Thanks,
Lunatic. I do have more question but lets start here.
Appreciated.

Reply With Quote
  #2  
Old August 15th, 2003, 05:20 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Well, you can use pretty much any language. The xml probably just needs to go in the body of the request. You may also need to set some headers, but I couldn't tell you what those are.

What languages do you know/have available?

Reply With Quote
  #3  
Old August 15th, 2003, 09:16 PM
lunatic lunatic is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 150 lunatic User rank is Private First Class (20 - 50 Reputation Level)lunatic User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 h 50 m 39 sec
Reputation Power: 6
i am capable of using VB, perl, php, javascript, i think C++. but I'm better at perl or javascript. took VB class years ago and just diping in and out of C++. php haven't even started to learn.

I'm running this on an apache server if i didn't mention this before.

Reply With Quote
  #4  
Old August 16th, 2003, 09:27 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Well, start here: http://forums.devshed.com/t55945/s.html

You may need to do some hunting to find out the exact http headers you need to send.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > How to send XML requests to a url & with what language


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway