Hi Grant,
The wsdl renders fine in a browser so the problem doesn't appear to be
at the amazon end.
I pulled all my hair out when trying to consume a .net soap webservice
with 'complex' datatypes. I spent ages on it with cfinvoke and
createObject but got nowhere.
I finally got it to work by building the xml request myself and posting
it using cfhttp.. (a webservice is basically just an xml post via http
anyhow)
Then just parse the xml response with cf's xml functions and all is
good.. it has been extremely reliable.
Cheers,
Adam
-Original Message-
From: grant [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 April 2006 3:53 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] webservice woes
hi all
i've having trouble with calling a few webservices with cfinvoke - i
keep getting the error: 'Could not generate stub objects for web
service invocation.' It then goes on to imply that the wsdl is
malformed, which it isn't...
there's heaps of info about it in google, but there aren't that many
solutions - none that work for me anyway (tried the firewall/proxy,
it's not SSL, it's not credential related).
anybody seen this and found a solution?
here's some code, to amazon, which is firing the error for me...give
it a burl...
cfscript
AWS =
createObject(Webservice,http://webservices.amazon.com/AWSECommerceSer
vice/AWSECommerceService.wsdl);
/cfscript
cfdump var=#AWS#
thanks
G
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---