If .NET is what you are trying to use, then you will first need to create a
proxy for the ColdFusion web service.

This can be done by adding a web reference (as Dave mentioned in his email).
However, it can also be done using the .NET command line tools.

Here are the steps to follow to create the proxy, and then consume it.

1) Open a command window.
2) Use the WSDL Utility 'wsdl.exe' to create the web service proxy class
   'C:\wsdl http://www.tinetics.com/webservices/securitylevel.cfc?WSDL'
   This will create the proxy class, 'securitylevelService.cs'
3) Use the C# Compiler 'csc.exe' to compile the class into a .NET Assembly
   'C:\csc /target:library securitylevelService.cs'
   This will create the DLL you need to use to consume the service
4) Now, copy the Assembly ' securitylevelService.dll' into the 'bin'
   directory of you web application.

That's it - now you can consume the ColdFusion web service in ASP.NET.

Here's some sample code of how to consume the service we just created:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to