Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Problems with payload (Document) in the tESBConsumer entry

Highlighted
Five Stars

Problems with payload (Document) in the tESBConsumer entry

Hello, I am trying to run the following job: 

 

job.JPG

 

My tXML_Map looks like this:

 

tXML.JPG

 

The XML on SoapUI is working and  looks like this:

 

soapui.JPG

 

When I run the job, I get an error.
I realized that the XML generated by Talend is different from SoapUI and that it is probably causing the problem.

 

XML generated by Talend:

 

xmltal.JPG

 

Console:

log.JPG

 


What do I have to do to fix this problem?

 

 

Highlighted
Five Stars

Re: Problems with payload (Document) in the tESBConsumer entry

Nobody ?

Highlighted
Five Stars

Re: Problems with payload (Document) in the tESBConsumer entry

I feel your pain. Unfortunately, I am not sure I can help. I don't understand why Talend is adding that extra outer element (nsl:verificaVinculo) I have had similar struggles trying to get my xml schemas to match with SOAP UI.   I am not sure if it will help at all, but maybe trying things will let mysteries be uncovered.  Did you try to change the loop element from 'loop optional' to just 'loop'?  

Highlighted
Five Stars

Re: Problems with payload (Document) in the tESBConsumer entry

Yes, I tried. But XML has not changed.

Highlighted
Community Manager

Re: Problems with payload (Document) in the tESBConsumer entry

@brunosdo, what's the output of tXMLMap? It seems the extra outer element is added by tESBConsumer component and we can't configure it through UI. In the mean time, you can have a try to use tSOAP component, don't forget to escape the double quotes in the messages body, refer to the component documentation.
https://help.talend.com/reader/SgjQ9NyCn1c22oZVQW2b_Q/I_yL3EzgYhHlqT9meiz5~Q

Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Highlighted
Five Stars

Re: Problems with payload (Document) in the tESBConsumer entry

@shong  tXMLMap out is: 

 

tXMLMapOUT.jpg

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read