I can consume external webservices and use local components but can't
publish any component as a web service. Even this very simple one doesn't
work.
<cfcomponent name="test" displayName="A Test">
        <cffunction name="AQ" access="remote" returnType="string">
                <cfreturn "bon">
        </cffunction>
</cfcomponent>  
If I call it like this 
<cfinvoke webservice="http://localhost/cf/components/atest.cfc?WSDL";
method="AQ" returnVariable="atr">
</cfinvoke>
I can this really useful error message.
Could not perform web service invocation "AQ" because AxisFault faultCode:
http://xml.apache.org/axis/:HTTP faultString: faultActor: null faultDetail:
null: return code: 0 null 

It works fine as a component:
<cfinvoke component="components.atest" method="AQ" returnVariable="atr">
</cfinvoke> 
 and i can call it from a url like this:
http://localhost/components/atest.cfc?method=AQ

I'm using CFMX with IIS on NT.


**********************************************************************************

The opinions expressed in this E-mail are those  of  the individual  and
not  necessarily  the  company.  This E-mail and  any files transmitted 
with it are confidential and solely for the use of the intended recipients

**********************************************************************************

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to