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.
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?
Are you calling your common SOAP web service? What does your tXMLMAP setting look like?
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.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs