tESBConsumer throws an error but tSoap works correctly

Four Stars

tESBConsumer throws an error but tSoap works correctly

Hi,

 

I'm building a job which involves posting to a SOAP webservice and while using tESBConsumer it throws an error saying 'SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.'

However, when using tSoap the request goes through without a problem as it does when trying the request in SOAPUI. The input to both tSoap and tESBConsumer are the same.

 

To debug I simplified the job to just have tfixedFlow, a tXMLMap, tESBConsumer (or tSoap) and tLogRow.

 

Screenshot 2019-05-13 at 9.26.38 AM.png

 

 

 

 

 

 

 

 

 

 

 

tESBConsumer's output will help categorise the success response and faults easily than using tSoap.

 

Is tESBConsumer modifying the request payload in any way? Can someone please help shed some light on this?

Moderator

Re: tESBConsumer throws an error but tSoap works correctly

Hello,

Are you calling your common SOAP web service? What does your tXMLMAP setting look like?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: tESBConsumer throws an error but tSoap works correctly

Hi,

 

Because this was something I had to sort out because of time constraints, I proceeded with using the tSOAP and configured the tExtractXMLField to handle both the success and error response fields.

 

The tXMLMap has structured the request payload similar to any SOAP payload.

 

Have a look at the screenshot below, this is the output from the tXMLMap.

 

Screenshot 2019-07-04 at 10.38.25 AM.png

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

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