Skip to main content
Sathishkumar Balakrishnan 님이 #Net Development에 질문했습니다
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개
  1. 2025년 4월 11일 오전 11:34

    @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