You need to sign in to do that
Don't have an account?
Ad_Infosys
Format of Date parameter passed to web service
I have a webcervice as:
global class Pipeline {
WebService static opportunity[] Apptaker(date adid){
.....
....}
static testMethod void apptakertest() {
sobject[] result= pipeline.Apptaker(2008-06-04);
...
}
I am getting error in the apptakertest() at date format. It is not identifying the date.
Thanks in advance
Try that code:
Message Edited by micwa on 06-06-2008 06:38 AM
That was a miracle!!! Never had idea about it. Instead not mentioned in apex reference guide :(
One more query, if you can help.
opp=[select account.fax, apptaker__c, name, ownerid from opportunity where apptaker__c=:adid and stagename='Prospecting' order by closedate desc];
http://www.salesforce.com/us/developer/docs/apexcodepre/index_Left.htm#StartTopic=apex_dynamic_soql.htm|SkinName=webhelp