You need to sign in to do that
Don't have an account?
Jeps
Too many parameters error - exceeding the limit of 255 words eligible for method parameters
Hi:
I'm encountering errors during compilation time. I'm using eclipse IDE running on jdk 1.4.2.
Two errors came up:
1) "Too manay parameters, paramter Tools_Status__c is exceeding the limit of 255 words eligible for method parameters"
2) "Too manay parameters, paramter vendio__c is exceeding the limit of 255 words eligible for method parameters"
Anyone encountered this before?
Let me know if you have a solution for this.
thanks,
jay
Message Edited by Jeps on 05-04-2006 02:44 PM
Message Edited by Jeps on 05-04-2006 02:45 PM
Message Edited by Bean on 05-31-2006 05:39 PM
Hi Bean, Simon,
Any updates on this.
Please help.
Thanks,
Jegdish.
What we recommend is, if you have excessive numbers of fields (over 200 seems to do it), trim down what the connection can see with security settings. The ability to have 500 fields is not matched by the ability to actually retrieve them.
OK, I'll bite. How do you "trim down what the connection can see with security settings"?
I believe I am having the same problem.
(My Lead object has too many fields)
After downloading an updated wsdl, I used Axis 1.4 and Ant to
generate the Java classes.
At first it seemed like I couldn't generate the classes at all.
I did find the Axis issue on their board.
It looks like there is a fix.
I downloaded the "Final Release" of Axis 1.4
I can now generate the classes but Eclipse shows an error.
Then if I try to execute my main method I get the following error.
I was wondering how others have solved this.
1. Did you edit the constructor to comment out the extra parameters?
2. Did you remove fields from your SF object?
3. Something else?
Thanks in Advance.
I am running into the same problem as the original poster. Did anyone find a definative solution?
Thanks
I did manage to find a possible solution for this problem. The simplest solution is to create a new profile and restricts the fields it has access for. Then login as a user with that profile whenever you download the wsdl file from salesforce.com.
*You should also use this profile for your integration user just to be safe.
To explain the steps further.
1.Create a new profile and label it limited_api_profile
2. Go to the Object (in my situation it was the contact object) that has too many fields. Edit the visiblity of the fields that you dont need to integrate. The fields should have"Visible" and "Read-only" values set to false.
3.Change the profile for your api user(eg api_integration_user@company.com) to the new limited_api_profile.
4.Login as api_integration_user@company.com and proceed to download the enterprise.wsdl file and consume the wsdl. You will notice the excess fields are now missing.
5.Instruct all of your developers/admins to always uncheck the "visible" and "read-only" checkboxes for limited_api_profile whenever the add/update fields that dont need to be integrated.