| Contents > Developing ColdFusion MX Applications > Using Web Services > Handling complex data types > Consuming web services that use complex data types |
|
|
|
|
||
The following table shows how WSDL data types are converted to ColdFusion data types:
ColdFusion data type |
WSDL data type |
|---|---|
numeric |
SOAP-ENC:double |
boolean |
SOAP-ENC:boolean |
string |
SOAP-ENC:string |
array |
SOAP-ENC:Array |
binary |
xsd:base64Binary |
date |
xsd:dateTime |
void (operation returns nothing) |
|
struct* |
complex type |
This table shows that complex data types map to ColdFusion structures. ColdFusion structures offer a flexible way to represent data. You can create structures that contain single-dimension arrays, multi-dimensional arrays, and other structures.
The ColdFusion mapping of complex types to structures is not automatic. You have to perform some processing on the data in order to access it as a structure. The next sections describe how to pass complex types to web services, and how to handle complex types returned from web services.
|
|
||
| Contents > Developing ColdFusion MX Applications > Using Web Services > Handling complex data types > Consuming web services that use complex data types |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.