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
chris_centrachris_centra 

Method SforceService.query can not be reflected?

Hello.  i provided the enterprise wsdl to a vendor that is building some .net (c#) code.  he pulled the wsdl into visualstudio without a problem, but when he tried to instantiate SforceService, he got en error: Method SforceService.query can not be reflected.

His code is:
Imports SalesForceIntegration.SalesForceWS
Public Class Form1
    Dim vUpdateType As String
    Dim vForegroundMode As Boolean = True
    Dim vTestMode As Boolean = My.Settings.TestMode
    Dim vService As SalesForceWS.SforceService
    Public Sub Process()
        Dim iSuccess As Boolean = False
        Dim iSkip As Integer = 0
        Dim iTake As Integer = 200
        If vUpdateType <> "" Then
            vService = New SalesForceWS.SforceService  <ERRORS ON THIS LINE>

i can provide part of the wsdl as well if that would help.  i've run some searches on this issue - and i've seen some results - but no recent ones on the sfdc forums - so i'm guessing that there's some specific little thing he's doing wrong.  any ideas?  (many years ago i did my own .net dev with sfdc - and i never saw this issue.)

thanks for your time
chris