Macromedia coldfusion mx 7.0.2-using coldfusion mx with flex 2 Manuel D’Utilisation

Page de 90
90
Using the ColdFusion Extensions for Flex Builder
To create a web service object in ColdFusion:
1.
Place your mouse pointer where you want to insert the code.
2.
View the list of web services.
3.
Highlight a web service or a method in a web service and right-click.
4.
Select Insert CFInvoke.
The code that the Service Browser generates appears in the ColdFusion file. The following is 
an example of the code that the Service Browser generates:
createObject("webservice", "http://arcweb.esri.com/services/v2/
MapImage.wsdl").convertMapCoordToPixelCoord(mapCoord, viewExtent, 
mapImageSize);