Skip to main content
Participant
Jun 26, 2010 1:56 AM UTC
Question

Consuming web service with CFINVOKE not working

Hello

I'm trying to add a web service to a web site that is being hosted on GoDaddy.com. The host account is Linux with Coldfusion 7. I'm using the CFINVOKE tag because its seems simple and its about the only way I can consume the web service. Here is my code:

<cfinvoke
webservice="http://www.communitymx.com/services/cmxfeed.wsdl"
method="getContent"
returnvariable="aObjectArray">
<cfinvokeargument name="type" value="0"/>
</cfinvoke>

I'm getting the dreaded error "Could not generate stub objects for web service invocation".

I'm able to access the wsdl file in my browser using the link above.

Like I said, the web site is hosted on GoDaddy and I'm limited in what I can do.

Does anyone know how I can fix this?

Thank you.

Ohioguy_tim

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Inspiring
Jun 26, 2010 10:43 PM UTC

Change .wsdl to .cfc?wsdl

Translate
Participant
Jun 26, 2010 11:58 PM UTC

Hi Dan

Thanks for responding to my question.

I made the change to my code and it didn't work. Came up right away and said page could not be found.

<cfinvoke
webservice="http://www.communitymx.com/services/cmxfeed.cfc?wsdl"
method="getContent"
returnvariable="aObjectArray">
<cfinvokeargument name="type" value="0"/>
</cfinvoke>

Ohioguy_tim

Translate
Inspiring
Jun 27, 2010 2:55 AM UTC

Did it say what page could not be found?  I clicked on the link in your post and the wsdl code came up.

Translate