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
Niket SFNiket SF 

Salesforce Custom Web Service with .Net Issue

Hello Team,

 I have writtent a salesforce custom webserviec. web service accepts the inner class which is global and having some class members which are marked as webService. 

 But when pass parameter from salesforce to .Net only string variables are coming . All integer variables coming as null.

 Any help appricated.


Best Answer chosen by Niket SF
Niket SFNiket SF
I got the answer. 

You need to set the specified flags, e.g. numeric property has an associated specified flag that controls if the .NET soap engine will actually send that property over the wire, unfortuantly the setter for the property does not automatically set the specified flag. e.g.

http://stackoverflow.com/questions/19257165/salesforce-soap-create-record

Regards
Niket