EasyCFM.COM ColdFusion Forums / Coding Help! / WEBSERVICE

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: WEBSERVICE

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

helpme.com
06-01-2006 @ 10:26 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 9
Joined: Jun 2006

Hi,
I am trying to use (consume) webservices for the first time.
When I goto to components click on the plus sign and enter the webservice in the url box, eg:  http://www.communitymx.com/services/cmxfeed.wsdl
and set the proxy generator to coldfusion mx, and click ok I get an error message, it says, "Unable to generate a proxy operation timed out : connect".
I have tried various webservices and always get an error, do i need to configure something else to get it working on the component window ?
Any help much appreciated.
Rgds
Liam

Webmaster
06-01-2006 @ 11:13 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4533
Joined: Jan 2002

When you mention you consume it... how are you consuming it? In your code (can we see example?) on your editor (Dreamweaver? which one?). Please explain a little more in detail how you are hitting the web service; kind of hard to troubleshoot with little information! Smile

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

helpme.com
06-01-2006 @ 11:19 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 9
Joined: Jun 2006

Hi pablo...thanks for the interest...i'm a webservice virgin so please bear with me.  
I thought I had to initiate the web service in dreamweaver first by setting it up in the component panel, under applications this is what i am refering too here.
However i do have sample code of an attempt to use a webservice as follows:

<cfinvoke webservice="http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl"
     method="getquote"
     returnvariable="quote">
     <cfinvokeargument name="symbol" value="macr">
     </cfinvoke>

I hope this sample of code enables you to help.

Thanks
    


Webmaster
06-01-2006 @ 4:36 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4533
Joined: Jan 2002

This:

http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl

is not coming back as a valid call... I mean I cant even open it on a browser.... sure that is the correct path?

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

Sponsored By...
iOpenSoft, LLC is a Houston, Texas Advanced Technology Studio Specializing in Web Design, Web Development, iPhone App Development and Android App Development.