• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Calling cfcs from secure page fails (https)

Explorer ,
Jun 09, 2008 Jun 09, 2008

Copy link to clipboard

Copied

I'm trying to submit a form to a secure url (https). I'm able to submit successfully but the called page makes a call
to a cfc (com.utility). It chokes on this call. I'm able to call this cfc successfully on other pages via regular
http (not SSL) so that tells me it's not a issue with the cfc itself. Anybody know why this is, how to fix or even how to troubleshoot it?

<cfform id="credit-card-form" action="#secureBaseURL##myself##xfa.paynow#" method="post">
where
"#secureBaseURL#myself##xfa.paynow#" evaluates to "https://our.secure.server/path/to/processingscript.cfm"


Could not find the ColdFusion Component or Interface com.utility.

Ensure that the name is correct and that the component or interface exists.
TOPICS
Advanced techniques

Views

259

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 09, 2008 Jun 09, 2008

Copy link to clipboard

Copied

ajdklfajdlk wrote:
> I'm trying to submit a form to a secure url (https). I'm able to submit
> successfully but the called page makes a call
> to a cfc (com.utility). It chokes on this call. I'm able to call this cfc
> successfully on other pages via regular
> http (not SSL) so that tells me it's not a issue with the cfc itself.
> Anybody know why this is, how to fix or even how to troubleshoot it?

Hi,

Is your secure site on a different server, or have a different physical
directory on the remote server? If so, make sure that your CFC actually
exists in the same location on your secure directory. If your non-secure
and secure site are both pointing to the exact same physical location,
then you wouldn't be seeing this error.

--
Daniel Short
Site Drive, Inc.
Adobe Community Expert

(correct the spelling of inc to send me an email)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 10, 2008 Jun 10, 2008

Copy link to clipboard

Copied

LATEST
The site is
http://www.domain.com
and the secure site is
https://www4682.secure.com/domain
where domain is our domainname and secure is our secure domainname
and /domain is a virtual directory on IIS.
I have all my components in a directory named "com" off the webroot.

What i would like to do is be able to call my components from either the secure or non-secure site using
the same code. Currently i'm able to call my components from the non-secure url successfully. When I try calling them from a secure page CF chokes saying it can't find it

Could not find the ColdFusion Component or Interface com.componentname

I believe the issue has to do with trying to call the cfc from the sslwebroot
WITHOUT the appended virtual directory "/domain", where of course it wouldn't find the component, but i'm unsure.

Any ideas how i can fix this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation