I have a job that is a REST service in which I use XML to pass data to and it returns XML. The data is posted to it using POST.
So in the job I mapped for the incoming an field named id
However I do not know how to pass the data to it. I did a POST (content type application/xml ) with an xml like this:
But the job in talend fills in null for the id. I am not exacly sure what the problem is, is my POST data structure not correct? or is it not possible to use the tRESTREquest directly like this with an incoming XML and should another component extract the XML fields from the RestRequest?
25 mai 2012 16:07:13 org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod
ATTENTION: No operation matching request path "/service" is found, Relative Path: /service, HTTP Method: POST, ContentType: text/plain, Accept: text/html,image/gif,image/jpeg,*/*,*/*;q=.2,. Please enable FINE/TRACE log level for more details.