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
muthuswimuthuswi 

Sforceservice.create can not be reflected...

Hi,
 
When I am trying to connect to salesforce, I am getting this exception "Sforceservice.create can not be reflected". I am using .net framework 1.1 and VS2003. Could anyone please help me on this?
 
Thanks in advance.
 
Muthu.
SuperfellSuperfell
Are you using C# or VB.NET ? partner or enterprise WSDL ?
muthuswimuthuswi

I am using C# and enterprise wsdl. I am getting this message when login method is called.

Regards,

Muthu

muthuswimuthuswi

I'm sorry. This error comes when I instantiate SforeceService object with "new". My code is

sforce_ep.SforceService binding = new sforce_ep.SforceService();

Regards,

Muthu.

Shriyal PadteShriyal Padte
Wow, after almost 10 years I got the same issue with VS 2015, C# {"Method SforceService.executeListView can not be reflected."} with same "new".
Shriyal PadteShriyal Padte
Edit: Method cannot be reflected - There is manual edit of reference.cs and the dummy line <xsd:attribute name="tmp" type="xsd:string" /> add involved. In that edit of reference.cs, do not remove [][] but replace by []. Also my method failed to reflect is different than your method.