Skip to main content
Hi,

I am able to connect salesforce by using standard dotnet framework with web reference option. But, i am unable to connect SForceService by using dotnet core framework, i have added parter wsdl file using Connected service option, the methods are not exposed to access.

Please do the needful. 

Thanks in advance
9 answers
  1. Apr 11, 2025, 11:34 AM

    @Sathishkumar Balakrishnan

    this is an old post and you may have the answer by now but I came across this problem only this week. 

     

    For Partner API, SforceService class is replaced by Soap (interface) and SoapClient (implementing class) 

    For Metadata API, use the MetadataPortType interface and MetadataPortTypeClient implementing class 

    For Tooling API, use the SforceServicePortType interface and SforceServicePortTypeClient implementing class. 

     

    The previous methods that were unavailable may now just be the async equivalents. For example, instead of describeSObjects(sObjectType) for Partner API you have describeSObjectsAsync(describeSObjectsRequest) where describeSObjectsRequest has a sObjectType field.

0/9000