You're missing the declarations for the "impl" namespace - they *should* be included as part of the wsdl: definitions block. Take a look at the wsdl that m version of cf generates.
Roland -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Venezuela, Otoniel Sent: Tuesday, June 27, 2006 4:48 PM To: [email protected] Subject: RE: [CFCDev] consuming CFC as web service This is the wsdl generated by CFMX: ------------------------------------ <wsdl:definitions targetNamespace="http://cas" name=""> <!-- WSDL created by Macromedia ColdFusion MX version 7,0,1,116466 --> <wsdl:types> <schema targetNamespace="http://rpc.xml.coldfusion"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="CFCInvocationException"> <sequence/> </complexType> </schema> </wsdl:types> <wsdl:message name="IsIERequest"> </wsdl:message> <wsdl:message name="CFCInvocationException"> <wsdl:part name="fault" type="tns1:CFCInvocationException"/> </wsdl:message> <wsdl:message name="IsIEResponse"> <wsdl:part name="IsIEReturn" type="xsd:string"/> </wsdl:message> <wsdl:portType name="listing1"> <wsdl:operation name="IsIE"> <wsdl:input message="impl:IsIERequest" name="IsIERequest"/> <wsdl:output message="impl:IsIEResponse" name="IsIEResponse"/> <wsdl:fault message="impl:CFCInvocationException" name="CFCInvocationException"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="listing1.cfcSoapBinding" type="impl:listing1"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="IsIE"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="IsIERequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://cas" use="encoded"/> </wsdl:input> <wsdl:output name="IsIEResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://cas" use="encoded"/> </wsdl:output> <wsdl:fault name="CFCInvocationException"> <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="CFCInvocationException" namespace="http://cas" use="encoded"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:service name="listing1Service"> <wsdl:port binding="impl:listing1.cfcSoapBinding" name="listing1.cfc"> <wsdlsoap:address location="http://localhost/listing1.cfc"/> </wsdl:port> </wsdl:service> </wsdl:definitions> ------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roland Collins Sent: Tuesday, June 27, 2006 4:38 PM To: [email protected] Subject: RE: [CFCDev] consuming CFC as web service Can you send us your wsdl - that's more helpful than the declaration. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Venezuela, Otoniel Sent: Tuesday, June 27, 2006 4:17 PM To: [email protected] Subject: RE: [CFCDev] consuming CFC as web service 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] ---------------------------------------------------------- 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]
test.wsdl
Description: application/xml
