MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 19

Developing coldfusion mx applications
Table of Contents

Advertisement

Using WDDX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
Using the cfwddx tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
Validating WDDX data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
Using JavaScript objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
Converting CFML data to a JavaScript object . . . . . . . . . . . . . . . . . . . . . . . . 703
Transferring data from the browser to the server . . . . . . . . . . . . . . . . . . . . . . . 703
Storing complex data in a string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
Web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
Accessing a web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
Basic web service concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
Working with WSDL files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
Creating a WSDL file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
Viewing a WSDL file using Dreamweaver MX. . . . . . . . . . . . . . . . . . . . . . . . 711
Reading a WSDL file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
Consuming web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
About the examples in this section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
Passing parameters to a web service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
Handling return values from a web service . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
Using cfinvoke to consume a web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
Using CFScript to consume a web service. . . . . . . . . . . . . . . . . . . . . . . . . . . . 716
Calling web services from a Flash client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717
Catching errors when consuming web services . . . . . . . . . . . . . . . . . . . . . . . . 717
Handling inout and out parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718
Consuming ColdFusion web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719
Publishing web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721
Creating components for web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721
Producing WSDL files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722
Securing your web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
Best practices for publishing web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728
Handling complex data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728
Consuming web services that use complex data types . . . . . . . . . . . . . . . . . . . 728
Publishing web services that use complex data types . . . . . . . . . . . . . . . . . . . . 731
About ColdFusion, Java, and J2EE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
About ColdFusion and JSP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
About ColdFusion and Servlets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737
About ColdFusion and Java objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737
About CFML variables and Java variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
. . . 735
Contents
19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents