function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ButtonPusherButtonPusher 

Add a web reference

Hi Everyone,
 
 

I'm having issue trying to add a web reference to my biztalk and .net projects using the enterprise web services API.

I'm trying to create a web reference to the following url ('https://www.salesforce.com/services/Soap/c/12.0') but I keep getting this error:

There was an error downloading 'https://www.salesforce.com/services/Soap/c/12.0'.

The request failed with HTTP status 405: GET not supported.

I would like to create the reference so I can't retrieve the WSDL and make a call to the QueryAll method. 

Am I missing something?  Did I have the right Url?

Waiting for your response.

Thanks,

Sheldon

SuperfellSuperfell
You should read the quick start in the API guide, it'll walk you through how to download the WSDL and do add web reference.
MaxiMizeMaxiMize
I'm having a similar trouble... I've read through the quick start guide, but I'm not able to complete the creation of the web service.  I'm using Visual Studio .NET 2005 (2.0.5).  I've created and downloaded the enterprise.wsdl file.  I am confused on the following points:

1.  HTTPconnection:  Is this simply "https://login.salesforce.com/"?  It does test successful, but that doesn't mean it's connecting to the right place.

2. If I use the above step and download the wsdl file, I get something that doesn't work.  Downloading and specifiying directly allows me to go on to the second step of specifying the input.

3.  On the INPUT tab, I am able to select SforceService  After selecting, however, I get an immediate error stating that "This version of the web services definition language (wsdl) is not supported."


Any help?  Point me towards a reference?  Anything at all?  Please?? :)