[cfaussie] Re: webservice woes

2006-05-15 Thread Adam Chapman

Hi Grant,

Find yourself an online wsdl parser/web service tester.. this will
Generate the request xml.. you can then modify and use this as the
http request.. a bit lazy but it will save you some serious time.

Email me if you get stuck as there are a few cfhttpparam quirks with
this method.

Cheers,
Adam

-Original Message-
From: grant [mailto:[EMAIL PROTECTED] 
Sent: Monday, 1 May 2006 9:31 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: webservice woes


nope, still no joy.
it looks like it's going to be the http route that Adam suggested.



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[cfaussie] Re: webservice woes

2006-04-28 Thread Adam Chapman

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
-~--~~~~--~~--~--~---