Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

get cause error in tESBConsumer

Hi,
In my job I want to get the "caused by" when error in tESBConsumer.
I get only fault with ((String)globalMap.get("tESBConsumer_1_ERROR_MESSAGE"))  like this : Could not send Message.
Console:

Exception in component tESBConsumer_1
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech$GenericConsumer.invoke(exempleService_ListTech.java:1977)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.tESBProviderRequest_1_LoopProcess(exempleService_ListTech.java:23144)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.tSetKeystore_1Process(exempleService_ListTech.java:5069)
[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://exemple.com/sap/gestionot/01/}GestionOTService#{http://exemple.com/sap/gestionot/01/}RecupererOT has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech$GenericConsumer.invoke(exempleService_ListTech.java:1977)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.tFixedFlowInput_3Process(exempleService_ListTech.java:2914)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.runJobInTOS(exempleService_ListTech.java:28018)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.main(exempleService_ListTech.java:27664)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communexempleting with https://exemple/sap/z_pm_list_ot_from_tech/310/z_pm_list_ot_from_tech_https/z_pm_list_ot_from_tech_https
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1563)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1515)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1317)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.tESBProviderRequest_1_LoopProcess(exempleService_ListTech.java:23144)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.tSetKeystore_1Process(exempleService_ListTech.java:5069)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.tFixedFlowInput_3Process(exempleService_ListTech.java:2914)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.runJobInTOS(exempleService_ListTech.java:28018)
at com_exemple_service.exempleservice_ListTech_0_5.exempleService_ListTech.main(exempleService_ListTech.java:27664)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communexempleting with https://exemple/sap/z_pm_list_ot_from_tech/310/z_pm_list_ot_from_tech_https/z_pm_list_ot_from_tech_https
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 12 more
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1563)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1515)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1317)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 12 more


I want get like this:

<tns:Error xmlns:tns="http://exemple.com/exemple/exempleservice/01/">
<message>Could not send Message.</message>
<raison>HTTP response '401: Unauthorized' when communexempleting with https://exemple/sap/z_pm_list_ot_from_tech/310/z_pm_list_ot_from_tech_https/z_pm_list_ot_from_tech_https</raison>
</tns:Error>


Any ideas?
Regars
Lachmiter

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi,
Would you mind posting your job setting screenshots into forum which will be helpful for us to address your issue?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
what settings do you mean ?
Lachmiter