I am having issues trying to consume a webservice. I am trying to consume the webservice located: http://www.bennadel.com/resources/webservices/Fun.cfc?wsdl
I have never created a webservice and i found this while googling how to create a CF webservice.
I am trying to use the following code to consume the webservice]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<cfinvokeargument name="Gender" value="" omit="true" />
<!--- Display compliment. --->
But when i try to execute IE just seems to sit and says that it is waiting for "http://www.bennadel.com/resources/webservices/Fun.cfc?wsdl", it doesn't time out or say that it cannot connect. If anyone can help that would be appreciated Thanks.
I think you should try to start with simple example and test for the existence which you can find in this article
Is it only IE that's gives you the problem or you seeing in the same problem in other browsers? Seems odd if it is a browser problem because the call is being done by the server.
Are you seeing - http://www.bennadel.com/resources/webservices/Fun.cfc?wsdl ok when you go to it through IE?
One thing to remember about WebServices is they're cached by ColdFusion. Make sure that you're clearing the cache, through the ColdFusion Administrator, as you're working on it. It's one thing that's caught me out a few times with them and I'm trying to debug
Donboe - Don't think that article gives him anything different from what he's already done
Yes if i go to http://www.bennadel.com/resources/webservices/Fun.cfc?wsdl i can view it fine and it opens quick. I will check into the caching and see if that helps. Thanks.
It's also worth having a look at things like HTTP sniffers. JRun has one built into it which you can find more info on using here -
That'll log any HTTP requests going out your server so you can see that things are going out / coming in ok, and if not allow you to pinpoint where things might be going wrong.