Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1128

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
• cfpdf
WorkFlow for a ColdFusion web service
To start using ColdFusion web services, you need to first enable access to ColdFusion services using ColdFusion
Administrator. Once you configure the access permissions:
1
Upload the file to the server (for example, PHP), which calls ColdFusion web services.
Call ColdFusion web service with the HTTP source URL pointing to the uploaded file, service user name, and
2
password and other attributes.
ColdFusion server returns the response.
3
Enable ColdFusion services
Using ColdFusion Administrator you can set the access permissions for a user or create multiple users with access to
different subsets of the available service. For example, you can allow an internal application access to all services, but
limit the access of another application to image and charting services.
To enable service access:
1
On the Administrator Services > IP Addresses page specify the URL addresses that can access the services. You can
specify individual addresses, address ranges of the form 10-30, or * wild cards. You can specify IPv4 or IPv6
addresses.
For example, you can use the following address patterns:
10.*.*.*
10*.30-50.20-30
10:10:10:10:10:10:10-FF:*
On the Administrator Service > User Manager page, specify the users that can access the services. You must specify
2
the user name and password. Also specify the allowed services in the Exposed Services section of the page.
Access ColdFusion services using SOAP
You use SOAP to access ColdFusion services as document/style web services. To see the available service requests and
responses, view the service WSDL in the cfWebRoot\CFIDE\services directory. The service WSDL is available from
the following CFC files: chart.cfc, document.cfc, image.cfc, mail.cfc, pdf.cfc, pop.cfc.
For example, to see the image services, use a URL such as the following:
http://<CF server >:<port>/CFIDE/services/image.cfc?wsdl
All the methods and attributes exposed through services can be found in WSDL. Attribute explanation is same as the
attributes of corresponding ColdFusion TAGS/Functions.
Access ColdFusion services from a PHP server
To access ColdFusion services from PHP:
1
Install PHP
Use a library or framework, which helps convert WSDL to PHP classes, for example,
2
Work for
PHP".
Last updated 1/20/2012
"WSO2 Web services Frame
1123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents