Sean, this is specifically dealing with a post from yesterday (and the day before).
[cfaussie] Re: asmx web service - not resolved (see the post for full info) the issue still hasn't been fixed. The bottom line is that the .NET webservice can be called from things other than CF. We're using a test tool called soapScope which has it's own little Axis webserver built in (I think) our brains trust (Scott Barnes, et al) have come up with an interesting possibility http://www.macromedia.com/support/jrun/ts/documents/tn17929.htm which we're looking into at the moment but either: the code is wrong (I'll gladly accept that as an answer at this time) CF doesn't like .NET webservices the WS is broken but only for CFMX CF server config won't let it happen. so the questions are 1) if your code works on a .NET webservice, what's the diff between your working code and ours? 2) what else could be wrong, considering the webservice works using things other than CF? mind you, I've not seen ws.setHeader(namespace,element,value) before - we've been using addRequestHeader() as per the MM article you suggested. cheers barry.b (note: the timestamp header is optional) request (using soapScope): =============================== <soap:Envelope xmlns:s0="http://tempuri.org/stratapayMKII/eCommServices" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <soap:Header> <s0:StrataPayAuthenticator> <s0:authID>test</s0:authID> <s0:password>test</s0:password> <s0:timeStamp>2003-11-12</s0:timeStamp> </s0:StrataPayAuthenticator> </soap:Header> <soap:Body> <s0:checkPaymentComplex> <s0:payID>test</s0:payID> <s0:invoiceNumber>test</s0:invoiceNumber> </s0:checkPaymentComplex> </soap:Body> </soap:Envelope> response (using soapScope): ================================= <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <StrataPayAuthenticator xmlns="http://tempuri.org/stratapayMKII/eCommServices"> <authID>test</authID> <password>test</password> <timeStamp /> </StrataPayAuthenticator> </soap:Header> <soap:Body> <checkPaymentComplexResponse xmlns="http://tempuri.org/stratapayMKII/eCommServices"> <checkPaymentComplexResult>0</checkPaymentComplexResult> </checkPaymentComplexResponse> </soap:Body> </soap:Envelope> CODE: ======= <cfscript> ws = CreateObject("webservice", "https://www.stratapay.com.au/ecommservices.asmx?WSDL"); addRequestHeader(ws, "authID", "test"); addRequestHeader(ws, "password", "test"); addRequestHeader(ws, "timeStamp", "2003-11-12"); ans = ws.checkPaymentComplex("test", "test 123"); </cfscript> <cfoutput>#ans#</cfoutput> <cfdump var="#ws#"> ERROR (using CF code above) the error has changed between this (below) and "java.net.UnknownHostException" ======== 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
