Skip to main content
Inspiring
March 9, 2010
Question

CFHTTP errors

  • March 9, 2010
  • 2 replies
  • 964 views

We use Coldfusion 8 (Application) to consume a webservice which is in Java environment (Server websphere). Both are different servers and located in different places.

The environments are :

Application : Windows (OS), CF 8

The webservice available environment : Unix (OS), JAVA/J2EE, Websphere

To consume a webservice we use the method "CFHTTP". Since we are not getting the file content. To debug we are trying different options to identify the error

1)Using trace method in cfhttp.

403 Forbidden You don't have permission to access / on this server. IBM_HTTP_Server/6.1.0.25 Apache/2.0.47 Server at wwwdev.test.test.com Port 80

2) With post method in "cfhttp"

No error message but the cfhttp.filecontent is empty.

Can you please suggest?

Thanks,

Satheesh.

    This topic has been closed for replies.

    2 replies

    March 9, 2010

    Also  just verify any proxy settings are there so that the proxyserver and port need to specify in cfhttp attributes

    ilssac
    Inspiring
    March 9, 2010

    403 Forbidden is telling you that the website you are contacting for the web service is secured and you are not passing the expected security information to access the site.  The web site may have SSL configured or is expecting some type of user authorization such as windows integrated security.

    You will need to find out what the web site is expecting.

    Inspiring
    March 10, 2010

    The site is not SSL enabled. We are passing required cookie credentials to the webservice server. If we don't pass the cookie credentials we are getting a page where it is asking for user and password (login page).

    Thanks,

    Satheesh.