That is extremely helpful. It won't help me get it done, but near as I could figure, it wasn't my programming. I hate the idea of submitting the xml manually, but if it must be done, it must be done. I've never worked with such an undocumented web service in my life.
Here is how getMyAuctions is listed in the cfdump of the ws object. getMyAuctions (returns GunBrokerAPI_V2.GetMyAuctionsResponseType) On 2/1/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > > This is expected, as I can no doubt say that the web service you are > calling > is .NET and that the return variable is not of type "string". > > If the result is XML or any other complex object, CF/Axis will *not* > comsume > it the way you expect, it may not even consume it correctly at all in that > the stub could be wrong (which is what your error is now. Web services > setup > this way are badly designed in terms of interop and I can imagine if it > isn't changed your only way to consume it would be to create all the SOAP > headers manually. > > If you dump the web service, what is the return type of the method > getMyAuction()? Is it string or is it a package (com.x etc)? > > Axis is awesome at consuming web services and doing all the magic but it > has > some limitations which stop it from correctly consuming a .NET service > with > complex object returns (this limitation could just be CFs implementation > of > itl I haven't checked). > > I guarantee 100% that if the return type is changed from complex to string > it will work straight off the bat. > > > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, > Registered in England, Number 678540. It contains information which is > confidential and may also be privileged. It is for the exclusive use of > the > intended recipient(s). If you are not the intended recipient(s) please > note > that any form of distribution, copying or use of this communication or the > information in it is strictly prohibited and may be unlawful. If you have > received this communication in error please return it to the sender or > call > our switchboard on +44 (0) 20 89107910. The opinions expressed within > this > communication are not necessarily those expressed by Reed Exhibitions." > Visit our website at http://www.reedexpo.com > > -----Original Message----- > From: Tony Hicks > To: CF-Talk > Sent: Thu Feb 01 05:13:49 2007 > Subject: Re: Interacting with SOAP > > As per Dov Katz suggestions in a personal email, I added WSDL to the url. > And the error I get now is "Web service operation "getMyAuctions" with > parameters {} could not be found." which is funny because if I cfdump gma, > the service is clearly listed. Very strange. And if I navigate to it at > http://apiv2.gunbroker.com/AuctionService.asmx the service is also listed. > > The only inconsistency is that in the browser, its listed as GetMyAuctions > and the cfdump lists it as getMyAuctions. > > Thanks for all the help thus far. > > On 1/31/07, Dave Watts <[EMAIL PROTECTED]> wrote: > > > > > Here is my most recent coding attempt... > > > > > > gma = CreateObject("webservice", "auctionsiteurl"); > > > RequestCredentials = StructNew(); > > > RequestCredentials.DevKey="..."; > > > RequestCredentials.AppKey="..."; RequestCredentials.UserName="..."; > > > RequestCredentials.Password="..."; > > > gma.setHeader("API_V2","RequestCredentials",RequestCredentials); > > > > > > I think this should work... but its not... I've tried three > > > or four different ways and I get "Could not generate stub > > > objects for web service invocation." > > > > Where is their WSDL? That's what CF uses to generate stubs. > > > > Dave Watts, CTO, Fig Leaf Software > > http://www.figleaf.com/ > > > > Fig Leaf Software provides the highest caliber vendor-authorized > > instruction at our training centers in Washington DC, Atlanta, > > Chicago, Baltimore, Northern Virginia, or on-site at your location. > > Visit http://training.figleaf.com/ for more information! > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268318 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

