Managing web services
The Services Browser lets you manage a list of web services by adding or deleting WSDL
URLs from a list. In addition, when you are editing a ColdFusion file, you can use the
Services Browser to generate CFML code to invoke a web service or to create a web service
object. Similarly, when you are editing an ActionScript file, you can use the Services Browser
to generate ActionScript.
To view the list of web services, click the Show Web Services button in the top right corner of
the Services Browser view.
To add a web service to the list:
Right-click in the Services Browser view.
1.
Select Add WSDL.
2.
Enter a valid WSDL URL.
3.
Click OK.
4.
To delete a web service from the list:
Right-click in the Services Browser view.
1.
Select Delete WSDL.
2.
To invoke a web service in ColdFusion:
Place your mouse pointer where you want to insert the code.
1.
View the list of web services.
2.
Highlight a web service or a method in a web service and right-click.
3.
Select Insert CFInvoke.
4.
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:
<cfinvoke
webservice="http://arcweb.esri.com/services/v2/MapImage.wsdl"
method="convertMapCoordToPixelCoord"
returnVariable="convertMapCoordToPixelCoord" >
<cfinvokeargument name="mapCoord" type="" />
<cfinvokeargument name="viewExtent" type="" />
<cfinvokeargument name="mapImageSize" type="" />
</cfinvoke>
Services Browser
89
Need help?
Do you have a question about the COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 and is the answer not in the manual?
Questions and answers