Job type that worker will need to call rest service using spring boot or Java using xml payload

can you please post sample code using xml payload for -Job type that worker will need to call rest service using spring boot or Java?

Hi @pgnvssskumar,

Try this page, and select Java+Spring. There is an example of a worker that calls a REST API in there, in this section. There is nothing Zeebe specific about that. It’s just standard Java/Spring programming.

It does JSON payload, but you can just google for handling XML payloads in any Spring reference/tutorial for that part.

Josh

Thanks @jwulf. Let me try.

1 Like

thanks. it is working.