faultDetail cannot be resolved or is not a field

Five Stars

faultDetail cannot be resolved or is not a field

Hi!

 

I'm very new to talent and just trying to follow some tutorials. I am using a tESBConsumer to access some web service and then connect the fault row to a tLogRow. I follow the instructions in the help page of tESBConsumer for this.

 

If I don't use the fault row everything works fine. Once I connect the fault row to the tLogRow to get a log of the Soap Fault I get the compile message "faultDetail cannot be resolved or is not a field".

 

Can someone point me in the right direction?


Accepted Solutions
Five Stars

Re: faultDetail cannot be resolved or is not a field

I solved it! Deleted the tESBConsumer and the tLogRow and rebuilt it. It worked!

 

Thanks for the help!


All Replies
Forteen Stars

Re: faultDetail cannot be resolved or is not a field

Hi, welcome!

 

will be much better if You attache some screenshots of Your Job and error

it make process much more easy

 

best regards, Vlad

-----------
Five Stars

Re: faultDetail cannot be resolved or is not a field

Here is a screenshot of the job with the compile errors.

If I remove the tLogRow2 it works fine. Once I connect the fault route from tESBConsumer to the tLogRow2 I always get this error...

 

error.jpegerror compiling

Forteen Stars

Re: faultDetail cannot be resolved or is not a field

in 99% off cases it missed "" around variable or mistake in variable name

-----------
Five Stars

Re: faultDetail cannot be resolved or is not a field

I would agree with you but there is no configuration involved in connecting a tESBConsumer to a tLogRow. You just connect it and it should show the log for the Fault (according to the documentation)...
Forteen Stars

Re: faultDetail cannot be resolved or is not a field

what I know - 4 eyes better than 2 :-)

attach all config screenshot and sure we found - where the problem! Smiley Happy

-----------
Five Stars

Re: faultDetail cannot be resolved or is not a field

Thanks! Here are the configurations for each module.

 

tLogRow.jpegtLogRowtESBConsumer.jpegtESBConsumertXMLMap.jpegtXMLMaptFixedFlowInput.jpegtFixedFlowInput

Five Stars

Re: faultDetail cannot be resolved or is not a field

To make sure this does not have to do with the web service being invoked I leave a screenshot of the Fault WSDL created for the web service.

 

FaultWSDL.jpegFault WSDL

Ten Stars

Re: faultDetail cannot be resolved or is not a field

I think this error usually indicates a schema mismatch. Can you try pressing the sync schema button in the tLogRow config, or else delete it and replace it with a fresh one?

Side note: does Talend expose the schema for reject or error flows from components?
Five Stars

Re: faultDetail cannot be resolved or is not a field

I think so too! I tried removing the tLogRow and then adding again but the error persists.

Tags (1)
Five Stars

Re: faultDetail cannot be resolved or is not a field

Is there any documentation on creating and using fault schemas in Talend?

Five Stars

Re: faultDetail cannot be resolved or is not a field

I solved it! Deleted the tESBConsumer and the tLogRow and rebuilt it. It worked!

 

Thanks for the help!

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