How do I consume a ColdFusion webservice from C#?

c#, coldfusion, web-services

Solution

You're actually hitting the CFC directly, but you add ?wsdl on the end to actually have it return the WSDL.

Also, all of your methods in that CFC that you want accessible will need `access="remote"`.

So your actual endpoint would be closer to this:

https://services.example.com/ASP_SecureWebServices.cfc?wsdl

Problem

I'm trying to use a webservice with the endpoint `https://services.example.com/ASP_SecureWebServices.cfc?wsdl`. In the documentation I have this: Request ``` <authorise> <site>xxx</site> <login>xxx</login> <password>xxx</password> <partnerid>xxx</partnerid> <wstype>xpt_exhibitors</wstype> </authorise> ``` Authenticated Response ``` <authorisation> <service>getAuthToken</service> <authorised>OK</authorised> <authtoken>255461</authtoken> </authorisation> ``` I’ve never used ColdFusion before, so I don’t understand how to make the request. Can anyone assist? I’ve added a service reference like this: But I don’t get this method:

Original source