I got the same error using Eclipse (Web Services Explorer view).

WSDLException: faultCode=INVALID_WSDL: : The entity "reg" was
referenced, but not declared.

Oto
       

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Venezuela, Otoniel
Sent: Tuesday, June 27, 2006 4:13 PM
To: [email protected]
Subject: RE: [CFCDev] consuming CFC as web service

I changed the code to:
<CFCOMPONENT>
    <CFFUNCTION NAME="IsIE" access="remote" returntype="string">
                <CFSET result="No">
                <CFIF FindNoCase("MSIE", CGI.HTTP_USER_AGENT)>
                        <CFSET result="Yes">
                </CFIF>
        <CFRETURN result>
        </CFFUNCTION>
</CFCOMPONENT>

No lucky... 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Cody Caughlan
Sent: Tuesday, June 27, 2006 4:13 PM
To: [email protected]
Subject: Re: [CFCDev] consuming CFC as web service

Isnt this line going to throw a syntax error?

"<<<!--- Yep, got it --->"

/Cody

Venezuela, Otoniel wrote:
> Sure, this is an example code:
> 
> <!--- Browser id component --->
> <CFCOMPONENT>
>     <!--- Is the browser IE? --->
>     <CFFUNCTION NAME="IsIE" access="remote">
>               <!--- Init variable --->
>               <CFSET result="No">
>               <!--- Look for IE identifier --->
>               <CFIF FindNoCase("MSIE", CGI.HTTP_USER_AGENT)>
>                       <<<!--- Yep, got it --->
>                       <CFSET result="Yes">
>               </CFIF>
>               <!--- Return result --->
>       <CFRETURN result>
>       </CFFUNCTION>
> </CFCOMPONENT>
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Nick Tong - TalkWebSolutions.co.uk
> Sent: Tuesday, June 27, 2006 4:01 PM
> To: [email protected]
> Subject: Re: [CFCDev] consuming CFC as web service
> 
> can you show you're calling code?
> 
> On 27/06/06, Venezuela, Otoniel <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hola CFCs gurus...
>>
>> I am trying to consume a simple CFC as web service using SoapUI (
>> www.soapui.org )
>>
>> and I am getting this error:
>>
>> org.xml.sax.SAXParseException: The entity "reg" was referenced, but
> not
>> declared.
>>
>>
>>
>> Thanks,
>>
>> Oto
>> ----------------------------------------------------------
>>  You are subscribed to cfcdev. To unsubscribe, send an email to
>> [email protected] with the words 'unsubscribe cfcdev' as the subject
> of the
>> email.
>>
>>  CFCDev is run by CFCZone (www.cfczone.org) and supported by
> CFXHosting
>> (www.cfxhosting.com).
>>
>>  An archive of the CFCDev list is available at
>> www.mail-archive.com/[email protected]
> 
> 



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of
the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of
the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to