One Star

org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging

Hi,
When I running a job, this error occurs.
I can't understand why. This error only occurs when using tWebService component.
How can I solve this problem?
??? N_SalesOrderMultiUpload ? 11:51 15/06/2015 ????????
connecting to socket on port 3842
connected
6 15, 2015 11:51:39 ?? org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
??: Interceptor for {}service#{}Create 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:565)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:350)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:197)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:238)
at test.n_salesordermultiupload_0_1.N_SalesOrderMultiUpload.tFileInputDelimited_1Process(N_SalesOrderMultiUpload.java:1015)
at test.n_salesordermultiupload_0_1.N_SalesOrderMultiUpload.runJobInTOS(N_SalesOrderMultiUpload.java:1456)
at test.n_salesordermultiupload_0_1.N_SalesOrderMultiUpload.main(N_SalesOrderMultiUpload.java:1315)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1542)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1502)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 11 more
Exception in component tWebService_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:565)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:350)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:197)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:238)
at test.n_salesordermultiupload_0_1.N_SalesOrderMultiUpload.tFileInputDelimited_1Process(N_SalesOrderMultiUpload.java:1015)
at test.n_salesordermultiupload_0_1.N_SalesOrderMultiUpload.runJobInTOS(N_SalesOrderMultiUpload.java:1456)
disconnected
at test.n_salesordermultiupload_0_1.N_SalesOrderMultiUpload.main(N_SalesOrderMultiUpload.java:1315)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1542)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1502)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 11 more
??? N_SalesOrderMultiUpload ? 11:51 15/06/2015 ????????
1 REPLY
Moderator

Re: org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging

Hi TokeKitt,
How did you set your tWebservice component?
Could you please give us more information about your job requirment and current job situation?
Did you check component reference TalendHelpCenter:tWebService?
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.