From: ThisIsMe on 31 Jan 2007 23:17 I'm trying to invoke the API of an ebay clone. Its not documented except for the auto generated ASP summary. http://apiv2.gunbroker.com <cfsavecontent variable="HeaderXML"> <cfoutput> <RequesterCredentials xmlns="GunBrokerAPI_V2"> <DevKey>...special key...</DevKey> <AppKey>...another special key....</AppKey> <UserName>...</UserName> <Password>....</Password> </RequesterCredentials> </cfoutput> </cfsavecontent> <cfset gbCreds = xmlparse(HeaderXML)> <cfscript> gma = CreateObject("webservice", "http://apiv2.gunbroker.com/AuctionService.asmx"); addSOAPRequestHeader(gma, "GunBrokerAPI_V2", "RequestCredentials", "#gbCreds#", true); OurAuctions = gma.GetMyAuctions(); </cfscript>
From: Daverms on 1 Feb 2007 02:07 Hi, Try invoking like this. gma = CreateObject("webservice", "http://apiv2.gunbroker.com/AuctionService.asmx?wsdl"); (I've just added "?wsdl" after your WS url)..
|
Pages: 1 Prev: Problem inserting special Hungarian characters intodb Next: Session variable error... |