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

Highlighted
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
Highlighted
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

View solution in original post


All Replies
Highlighted
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

View solution in original post

Highlighted
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

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog