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
sumpritsumprit 

Import WSDL file into .Net Environment?

Hi there,

I was trying one of the example mentioned in Apex Api documentation and followed these steps:-

1.> From my developer edition, I saved the WSDL file - enterprise wsdl to the C drive

2.> I would now like to import this WSDL file to the .NET Environment. So I followed these steps and I am stucked here:-

a) When I click on http//localhost/website76 and say "Add Web Reference".

b) In the URL section, I typed in the following:-
C:\Salesforce+Integrations\DuringTraining\enterprise.wsdl

and it returns an error saying - Make sure the Internet Address is correct.

How do I refer to this WSDL file which I saved it.?

What am I missing.


In the documentation it says the same thing:-

File:///C:\Salesforce+Integrations\DuringTraining\enterprise.wsdl

But when I type this, it is not accepted either.

Please advice.

Thanks



werewolfwerewolf
You should just be able to browse to it and use it.  Maybe the space in the directory is giving it a headache.  Try saving it to C:\temp instead.