Data from and to a webservice failed

Four Stars

Data from and to a webservice failed


can you help my with an error conects to web services?

I'm trying to connect a web service which I know is working '

and when I'm trying to run the job that connects it always fail with the exception:

Execution failed : Job compile errors
At least job "Copy_of_webservice_job" has a compile errors, please fix and export again.
Error Line: 804
Detail Message: Syntax error on token ":", invalid AssignmentOperator
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.


I think its connected to the date I send to the web service'because when its empty it works.

do you know how to figure this out?

the date format is: YYYY-MM-DDTHH:MISmiley FrustratedS

maybe you have an advice how to send the value.thanks!

Fifteen Stars TRF
Fifteen Stars

Re: Data from and to a webservice failed


Can you give us some mode details?

Where do you have this date (which component, which configuration field)?

Can you share a picture of it?

It sounds like you forgot a constant date to be enclosed between " (but should be other reason).

If you want to retrieve the error, click on the Code tab on the bottom of the layout, then click on the red rectangle in the right margin, like on this capture, and you'll go directly to the line error:



Four Stars

Re: Data from and to a webservice failed

hi! thanks for the quick answer.

this picture shows the line of the error,which is defiantly the date you can see I don't put it in " " but in the code it is.

If I do put " " it failed on "cannot convert string to date". what should I do?

The second photo shows you the flow and the paramters sent to the Web service.

Thank you very much!


err mes.jpg





Fifteen Stars TRF
Fifteen Stars

Re: Data from and to a webservice failed

Because RateDate is defined as a date field, you need to convert from String to Date (as explained by the message "cannot convert string to date").

Are you sure the web service expect a date and not a string for this field?

In this case, enclose the date in the tFixedFlowInput component (it is not in your example).

Else, use TalendDate.formatDate and TalendDate.parseDate to convert the string.

Four Stars

Re: Data from and to a webservice failed

The problem is that webservice is waiting for date. so it has to be a date type. but still it recuires " " which convert the value to a string and therefore it failed again. how can I use functions in the value of tFixedFlowInput ?

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey


Talend named a Leader.

Get your copy


Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables


How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration


Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now