Gareth (orig poster) and I are still having grief with this. The error now is:
"Could not generate stub objects for web service invocation." (the full error is listed below) we're starting to think it might not be correctly set CF soap headers. Why? Using mindreef's soapscope (a cute little webserver esp built for testing webservices), the webservice works and returns correct values (in this case "0" - non account) and does not error. so it's not network or protocol issues (and specifically the webservice running under https isn't the cause - even though the error alludes to this). Added to this is that we can call other external webservices via CF fine (although I haven't found another ASP.NET/asmx services that needs request headers to try - anyone suggest one for testing?). I found this just before that might be related (from a Feb 2004 post) http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid= 7&threadid=781179 <quote> The problem is that it seems our ability to set soap headers (using addRequestHeader() - bb) is limited. </quote> although we're really NOT keen to go down the Java route to get this going. any thoughts? cheers barry.b CODE: ======= <cfscript> ws = CreateObject("webservice", "https://www.stratapay.com.au/ecommservices.asmx?WSDL"); addRequestHeader(ws, "authID", "test"); addRequestHeader(ws, "password", "test"); addRequestHeader(ws, "timeStamp", "#now()#"); ans = ws.checkPaymentComplex("test", "test 123"); </cfscript> <cfoutput>#ans#</cfoutput> <cfdump var="#ws#"> ERROR ======== Could not generate stub objects for web service invocation. Name: https://www.stratapay.com.au/ecommservices.asmx?WSDL. WSDL: https://www.stratapay.com.au/ecommservices.asmx?WSDL. java.net.MalformedURLException: unknown protocol: https It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors. The Error Occurred in C:\CFusionMX\wwwroot\webservice\testwscall.cfm: line 15 13 : 14 : <cfscript> 15 : ws = CreateObject("webservice", "https://www.stratapay.com.au/ecommservices.asmx?WSDL"); 16 : addRequestHeader(ws, "authID", "test"); 17 : addRequestHeader(ws, "password", "test"); --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
