New answers tagged

1

The alternative way to change the ClientBase Endpoint is to directly reassign the Endpoint. E.g. SoapClient client = new SoapClient(binding, addressSoap); SalesforcePartner.LoginResult loginResult = await partnerApi.loginAsync("user@example.com", "password" + "securityToken"); client.Endpoint.Address = new EndpointAddress(...


1

forEach works only on arrays, but you are returning an object. Your code is: global static InnerClass getMethod(){ InnerClass c = new InnerClass(); return c; } I think you need something like this. global static List<InnerClass> getMethod(){ //... } Also please confirm if really you need global access for the method, the public should be ...


Top 50 recent answers are included