You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2016-10-17 14:42:06

ubrack69
Member
13 posts

ubrack69 said:

[resolved] retreive datas from webservice request (post)

Hello


1) I send a Post web request with Postman (the body contains a json file) (see postman.jpeg)
2) In a talend job (see picture jobtalend.jpeg), I wish retreive the data Json file from post web request. That doesn't work, data are empty.(result.jpg).
Could you tell me where is my error configuration?
Thanks,

Last edited by ubrack69 (2016-10-18 12:52:47)

Offline

#2 2016-10-17 16:06:50

ubrack69
Member
13 posts

ubrack69 said:

Re: [resolved] retreive datas from webservice request (post)

with illustrations:


Web Request with postman:


mini_postman.jpg_20161018-0439.jpg

Job talend (web servce):


mini_jobtalend.jpg_20161018-0439.jpg

tRestRequest configuration:



mini_tRestRequest_Configuration.jpg_20161018-0445.jpg

TExtractJSONFields configuration:

mini_textractJSONFields_configuration.jpg_20161018-0446.jpg


Result on studio console:


mini_result.jpg.jpg

Last edited by ubrack69 (2016-10-18 12:49:57)

Offline

#3 2016-10-20 16:55:29

ubrack69
Member
13 posts

ubrack69 said:

Re: [resolved] retreive datas from webservice request (post)

My problem is fixed:
When, like in my case, you link a tRestRequest to a TextractJsonFlieds, the type of TRestRequest output has to be string and not Document.

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy