On Wed, Jul 22, 2009 at 6:06 PM, Jason Neidert <ja...@steelfusion.com>wrote:
> > > How can I accomplish the creation of the object CheckAvailabilityRQ using > ColdFusion? > > <cfobject > name = "IRMPublic"> > webservice= "http://resortdata.com/IRMPublic" > type = "webservice" > wsportname = "IRMPublicMethodsSoap"> > > Then use CFINVOKE or something to create an instance of > 'IRMPublic.CheckAvailability_irmRQ'? > > I think I am getting closer... > you try something like this? not sure what the actual url is to api <cfset APIURL = ' http://lutsen.steelfusion.com/winter/rates_packages/packages/rdp/rdp/rdpweb/IRMPublic.wsdl '> <cfxml VARIABLE="GetAvailRequest" CASESENSITIVE="YES"> <CheckAvailability xmlns="http://resortdata.com/IRMPublic"> <CheckAvailabilityRQ> <Credentials> <LogonID>22352345234</LogonID> <Password>234523452354</Password> <DataPath>235234523452</DataPath> <DatabaseID>52345234523</DatabaseID> </Credentials> <AvailabilityRequest> <ArrivalDate>2009-08-20</ArrivalDate> <DepartureDate>2009-08-22</DepartureDate> <RoomType>single</RoomType> <People1>2</People1> <People2>0</People2> <People3>0</People3> <People4>0</People4> </AvailabilityRequest> </CheckAvailabilityRQ> </CheckAvailability> </cfxml> <CFHTTP url="#APIURL#" method="post" resolveurl="yes" throwOnError="no" port="80" charset="utf-8"> <CFHTTPPARAM type="xml" value="#GetAvailRequest#"> </CFHTTP> <cfdump VAR="#cfhttp.FileContent#"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324833 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4