In fact here's another few threads about the same error:

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:59495
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:48784

Just from a simple read I suspect you are getting an error message because
the response returned isn't a soap object or an xml object. Try going
directly to the ws in a browser and see what you get. Also try appending
"?wsdl" to the end of your url in the invokation. You seem to be targeting
the asmx instead of the wsdl.

HTH

On Tue, Mar 15, 2011 at 7:04 AM, Ian Vaughan <
i.vaug...@neath-porttalbot.gov.uk> wrote:

>
> Hi
>
> Any ideas why I am getting the following error when calling a .asmx
> webservice in CF7?? Is it permissions or does it have to be WSDL??
>
> ----ERROR-----
>
> Could not generate stub objects for web service invocation.
> Name: http://edrmservices/edrmsWeb/EyeTest_ws.asmx. WSDL:
> http://DOMAIN/EyeTest_ws.asmx. org.xml.sax.SAXException: Fatal Error:
> URI=null Line=11: The element type "META" must be terminated by the
> matching end-tag "". 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 F:\websitepath\webservice.cfm: line 6
>
> 4 :    webservice="http://DOMAIN/EyeTest_ws.asmx";>
> 5 :
> 6 :    <cfinvokeargument name="category" value="87991">
> 7 : </cfinvoke>
>
>
> Code is below
>
> <cfinvoke
>   method="listBooks"
>   returnvariable="reference"
>   webservice="http://DOMAIN/EyeTest_ws.asmx";>
>
>   <cfinvokeargument name="category" value="87991">
> </cfinvoke>
>
> <cfset computerBooks = XmlParse(reference)>
>
> <cfdump var="#computerBooks#">
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343028
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to