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:MIS
maybe you have an advice how to send the value.thanks!
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:
hi! thanks for the quick answer.
this picture shows the line of the error,which is defiantly the date value.as 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!
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.