I'll try these steps when I get home tonight and see what happens for
me. 

Just for fun, have you insured that your server can establish a simple
connection first, like with a CFHTTP call? 

Is the server attempting to make a remote web service call to - itself
in your example? 

Al 

On 2013-07-30 12:59, [email protected] wrote: 

> Hi again... 
> 
> I am attempting to expose a CFC to other servers on our network, and I just 
> learned how incredibly easy this "should" be, adding access="remote" to my 
> CFC. I am using the Windows Server 2008 installer from 
> https://www.viviotech.net/company/installers.cfm [3] for the server that 
> hosts the CFC (with IIS7 as my web server). This appears to come bundled with 
> Openbd 2.0, which I have attempted to update by replacing the "openbd/lib" 
> folder with that from a fresh download of OpenBD. 
> 
> Here are the contents of test1.cfc in my root directory... 
> 
>> <cfcomponent displayname="testCFC">
>> <cffunction name="testFunction" access="remote" output="no" 
>> returntype="string">
>> <cfset res = "this ran">
>> <cfreturn res> 
>> 
>> </cffunction>
>> </cfcomponent>
> 
> If I call this CFC directly in a browser with 
> http://mysandbox/test1.cfc?wsdl&method=testFunction [4], I see "this ran". 
> But here is my attempt to reference it from a cfm page... 
> 
>> <cfinvoke webservice="http://mysandbox/test1.cfc?wsdl [1]"
>> method="testFunction"
>> returnvariable="cfResults">
>> </cfinvoke>
> 
> I get the following error: "Failed to access WSDL: 
> http://mysandbox/test1.cfc?wsdl";. 
> 
> When I try CreateObject instead... 
> 
>> <cfset cfResults2 = CreateObject("webservice", 
>> "http://entsandbox/test1.cfc?wsdl [2]")>
> 
> I get "HTTP/1.1 500 Internal Server Error". 
> 
> I found a thread from a few years ago discussing a similar issue and advising 
> to make sure the OP had "tools.jar" from JDK in the WEB-INF/lib folder. But 
> since this is connected to IIS, I don't have a WEB-INF folder in my root 
> directory. I did however make sure to copy tools.jar to "openbd/lib" just in 
> case. 
> 
> -- 
> -- 
> online documentation: http://openbd.org/manual/ [5]
> http://groups.google.com/group/openbd?hl=en [6]
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out [7].


Links:
------
[1] http://mysandbox/test1.cfc?wsdl
[2] http://entsandbox/test1.cfc?wsdl
[3] https://www.viviotech.net/company/installers.cfm
[4] http://mysandbox/test1.cfc?wsdl&amp;method=testFunction
[5] http://openbd.org/manual/
[6] http://groups.google.com/group/openbd?hl=en
[7] https://groups.google.com/groups/opt_out

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to