[resolved] Passing Date as parameter in the wsdl url in talend

One Star

[resolved] Passing Date as parameter in the wsdl url in talend

Hi,

I have deployed the war file on the tomcat .
But when i am running the job as follows:
http://10.146.180.237:8080/EntCallVolume_0.1/services/EntCallVolume?method=runJob&arg1=--context_par...

I have defined two context parameter as :
1)endDate
2)startDate
The job is running fine on talend as i have given default dates for the context parameter.
The screenshot are as follows :
But the job is not running on web ..
Help me out with this

Thanks
Ankit khandelwal

Accepted Solutions
One Star

Re: [resolved] Passing Date as parameter in the wsdl url in talend

In your URL call, you weren't speficying the format of date :
http://10.146.180.237:8080/EntCallVolume_0.1/services/EntCallVolume?method=runJob&arg1=--context_param%20endDate=MM/dd/yyyy;08/01/2009&arg2=--context_param%20startDate=MM/dd/yyyy;07/26/2009

All Replies
One Star

Re: [resolved] Passing Date as parameter in the wsdl url in talend

In your URL call, you weren't speficying the format of date :
http://10.146.180.237:8080/EntCallVolume_0.1/services/EntCallVolume?method=runJob&arg1=--context_param%20endDate=MM/dd/yyyy;08/01/2009&arg2=--context_param%20startDate=MM/dd/yyyy;07/26/2009
One Star

Re: [resolved] Passing Date as parameter in the wsdl url in talend

Hi,
Thanks a lot for you quick reply Smiley Happy
It worked....

Thanks
Ankit khandelwal