Hi Scott,

 

Well, they don't tell me much. This is hotels.com, so there has to be a lot
of people that get it to work.

I found this so far:

All requests (except Reservations) made to TravelNow.com should be made to
the following URL:
http://www.travelnow.com/external/xmlinterface.jsp?cid=x&;
resType=hotel200631&intfc=ws&xml=z

Reservation requests MUST be made to this secure URL:
https://www.travelnow.com/external/xmlinterface.jsp?cid=x&;
resType=hotel200631&intfc=ws&xml=z 

*       parameter x is equal to the IAN affiliate ID assigned to your
account 
*       parameter z is equal to the XML data TravelNow.com is responsible
for processing. 

http://www.travelnow.com/external/xmlinterface.jsp?cid=1&resType=hotel200631
&intfc=ws&xml=<HotelSessionRequest method='runHotelAvailabilityListQuery'>
<HotelAvailabilityListQuery>
<city>New York</city>
<stateProvince>NY</stateProvince>
<country>US</country>
<arrivalDate>08/31/2006</arrivalDate>
<departureDate>09/02/2006</departureDate>
<RoomGroup>
   <Room>
        <numberOfAdults>2</numberOfAdults>
   </Room>
</RoomGroup>
<numberOfResults>25</numberOfResults>
</HotelAvailabilityListQuery>
</HotelSessionRequest>

 

As usual, thanks!

 

Chuck 

 

-----Original Message-----
From: Scott Cadillac [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 08, 2008 10:32 AM
To: [email protected]
Subject: RE: Witango-Talk: <@URL> + XML

 

Hi Chuck,

 

Unfortunately there is an unspecified limit to how long you can make a URL.
GET requests were never meant to support long strings of data, thus the POST
request. People try, but eventually somewhere in the URL's travels a proxy,
router or gateway somewhere will start truncating the URL.

 

Are you sure you're interpretting the webservice's specs correctly?

 

Do you have any more information you can post?

 

Let us know, when you have time.

 

Scott,

 

 

 

On Friday, February 8, 2008 11:23am, Chuck Lockwood <[EMAIL PROTECTED]>
said:

 

> We are using a webservice that requires that the XML be passed in as a
get,

> not a post argument (so it seems).

> 

> 

> 

> The below works until the <@ARG testXML> gets over 2000 characters then it

> starts getting truncated.  Am I nuts or does witango do this?

> 

> 

> 

> <@ASSIGN request$method_response VALUE="<@URL LOCATION='<@ARG

> vURL>&xml=<@ARG TestXML>'>">

> 

> 

> 

> Suggestions?

> 

> 

> 

> Chuck Lockwood

> 

> President

> 

> 

> 

> 

> ............................................

> 

> 309 Main Avenue

> Hawley, Pa 18428

> (P) 570.226.7340

> (F) 570.226.7341

> 

> www.lockdata.com <http://www.lockdata.com/>

> 

> 

> 

> 

> ________________________________________________________________________

> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

 

________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

 

 


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to