the webservice support team should be able to field a lot of connection issue problems with various clients and may have FAQ's live support etc but I guess you have checked with them, they might give you J2EE java code that would work as well, maybe something on CFDJ archives to help, or Stephens session code?
 
cheers
 
 
Colm
-----Original Message-----
From: Barry L Beattie [mailto:[EMAIL PROTECTED]
Sent: 03 June 2004 15:07
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] anyone called a webservice with addRequestHeader() sucessfully?

sadly, the target webservice is a payment gateway and Flash just wouldn't fit in to the confirmation page (where the WS is called)

the point is, it *should* work with CF but no one can prove it (.NET webservice using headers and over https).

thanx anyway
barry.b



----- Original Message -----
From: "Colm Brazel" <[EMAIL PROTECTED]>
Date: Thu, 3 Jun 2004 14:43:51 +0100
To: <[EMAIL PROTECTED]>
Subject: RE: [ cf-dev ] anyone called a webservice with addRequestHeader() sucessfully?

> Hi Barry,
>
> Would you think of using Flash instead of CF, Flash components are easy to
> configure and might be easier to do what you want, create the component,
> configure it with the data connection wizard and another grideditor wizard,
> very cool allowing you to skin the component and do addrequestheader stuff
> like setting up the fields you want to use) I see on LiveDocs
> http://livedocs.macromedia.com/flash/mx2004/main/wwhelp/wwhimpl/common/html/
> wwhelp.htm?context=Flash_MX_2004_Documentation&file=12_as293.htm: its used
> with flash Loadvars class. Do a search under loadvars in Flash 6 for more
> info. I have an example of the following
> somewhere
> "Using Macromedia Flash MX Pro 04, 7.01(updater), mxp datagrid and data
> connection wizard extensions,
> the following Flash component grabs The Macromedia Developer Center RSS 1.0
> feed which contains information about articles, tutorials and other
> resources published on the Macromedia Developer Center. Similar methods as
> in the following to use Flash to connect to web services.
> devnet,http://www.macromedia.com/devnet/mx/flash/articles/datawizards.html
> http://www.macromedia.com/devnet/articles/xml_resource_feed.html" I`m sure a
> similar appoach can be used to talk to ASP.NET
> and the Flash data connection wizard though it won't connect to every web
> service can connect to very many and handles a lot of the ugly coding by
> itself.
>
> there's a workaround for CF5 instead of CF MX using wddx and cfhttp for
> calling web service s also though you are on MX if you want.
>
>
>
> Colm
>
>
>
>
> Colm Brazel MA
> CB Publications
> Web Site Design & Development
> http://www.cbweb.net
> MMUG-DUBLIN usergroup Manager
> http://www.mmug-dublin.com
> [EMAIL PROTECTED]
> Coldfusion Hosting
> mySQL 4.1 on CF5.0
> Probably the cheapest web hosting in Ireland
>
>
>
>
>
>
> -----Original Message-----
> From: Barry L Beattie [mailto:[EMAIL PROTECTED]
> Sent: 02 June 2004 05:47
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] anyone called a webservice with addRequestHeader()
> sucessfully?
>
>
> Hi all
>
> We're trying to connect our CF app to an ASP.NET (asmx) webservice.
>
> Has anyone called a webservice with addRequestHeader(), sucessfully? It > can't be a network problem (it works with other tools) so it's either (1)
> sheer incompetance on my part or (2) something funny with CF calling other
> webservices.
>
> - all our CF servers have had the webservice headers hot-fix applied.
> I've stumped our local list (CFAussie) - aparently not many webservices are
> used in Australia (or they work without grief so (1) above applies here)
>
>
>
> 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");
>

> #ans#
>
>
> no go. "Could not generate stub objects for web service invocation"
>
> H OWEVER, we can using a tool called soapScope and it all works fine -
> correct response headers, sensible answer, etc.
>
> We can CFDUMP the webservice object (before the method call) and it all
> looks good. Start adding header info and it craps out.
>
> I just hope it doesn't go down this path. I really don't want to re-do this
> in Java
> http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=7&th
> readid=781179
>
>
> any thoughts greatfully recieved
>
> thanx
> barry beattie
>
> request (using soapScope):
> ===============================
> > xmlns:s0="http://tempuri.org/stratapayMKII/eCommServices"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
>
> test
> test
> 2003-11-12
>

>

>
>
> test
> test
>

>

>

>
> response (using soapScope):
> =================================
>
> > 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">
>
> > xmlns="http://tempuri.org/stratapayMKII/eCommServices">
> test
> test
>
>
>

>
> > xmlns="http://tempuri.org/stratapayMKII/eCommServices">
> 0
>

>

>

>
>
> CODE:
> =======
>
> 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");
>

> #ans#
>
>
> ERROR (using CF code above)
> ========
> Could not generate stub objects for web service invocation.
>
> Name: https://www.stratapay.com.au/ecommservices.asmx?W SDL.
> 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 :
> 15 : ws = CreateObject("webservice",
> "https://www.stratapay.com.au/ecommservices.asmx?WSDL");
> 16 : addRequestHeader(ws, "authID", "test");
> 17 : addRequestHeader(ws, "password", "test");
>
>
> --
> ___________________________________________________________
> Sign-up for Ads Free at Mail.com
> http://promo.mail.co m/adsfreejump.htm
>
>
> --
> These lists are syncronised with the CFDeveloper forum at
> http://forum.cfdeveloper.co.uk/
> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
> by activepdf.com*
> *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
> proworkflow.com*
> *Tutorials provided by helmguru.com* :: *Lists hosted by
> gradwell.com*
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
>
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 0423-1, 02/06/2004
> Tested on: 03/06/2004 14:43:46
> avast! is copyright (c) 2000-2003 ALWIL Software.
> http://www.avast.com
>
>
>
>
> --
> T hese lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/
> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com*
> *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
> *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>


--

__________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]



avast! Antivirus: Outbound message clean.

Virus Database (VPS): 0423-1, 02/06/2004
Tested on: 03/06/2004 17:04:53
avast! is copyright (c) 2000-2003 ALWIL Software.


Reply via email to