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

[resolved] Getting Error While running DemoServiceConsumer Job Talend ESB 5.6

Hi ,
     I have just installed TOS for ESB(5.6) and i am trying to run DEMO jobs in it...I am running  DemoServiceConsumer0.1 job but it is giving me Following error-
Starting job DemoServiceConsumer at 09:33 03/12/2014.
connecting to socket on port 3637
connected
: org.apache.cxf.service.factory.ReflectionServiceFactoryBean - Creating Service {http://www.talend.org/service/}DemoService from WSDL: classpath:/personator/demoserviceconsumer_0_1/wsdl/tESBConsumer_1.wsdl
: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://www.talend.org/service/}DemoService#{http://www.talend.org/service/}DemoServiceOperation has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at org.apache.



To see the whole post, download it here
Labels (3)
10 Replies
Anonymous
Not applicable
Author

Exception in component tESBConsumer_1
org.apache.cxf.interceptor.Fault: Could not send Message.

The service server is not starting yet or the address is not right. This is a webservice consume job, make sure the webservice provider job is now running, or the webservice server is running if you have deployed the webservice in runtime. For testing, open the job DemoServicePortType_DemoServiceOperation in studio and run the job, change the endpoint url of tESBConsumer to :
"http://localhost:8090/services/DemoService"
0683p000009MAYU.png
Best regards
Shong
Anonymous
Not applicable
Author

Thanks Shong...
But I am designing a job which will consume the data from particular WSDL services for that which component is best?
Can we use tESBConsumer?
My Flow is-
Oracle DB-->tXMLMap--> tESBConsumer-->Oracle DB
Here, It will take data from Oracle DB and through tESBConsumer it will send request and receive response and store in Oracle.
but i am receiving all null data in response. 
Anonymous
Not applicable
Author

tESBConsumer returns a document, you should link it to a tXMLMap and extract data from the document. BTW, do you use Talend ESB product to host the webservice or it is provided by other application? 
Best regards
Shong
Anonymous
Not applicable
Author

thanks shong,
that means my flow will be-
Oracle DB-->tXMLMap--> tESBConsumer--> tXMLMap --> Oracle DB
Right?

Service is provided by other application...
Anonymous
Not applicable
Author

Yes
Anonymous
Not applicable
Author

Hi Shong,
               My job is look like this-
                  0683p000009MATk.png
              tXMLMap Component-
                
               0683p000009MAJT.png
             
                tESBConsumer Component-

               0683p000009MAX3.png
           But I am getting following error-
               0683p000009MAYe.png
           Please Help....
Anonymous
Not applicable
Author

It is a compilation error, can you show me the input schema and output schema of tESBConsumer component?
Anonymous
Not applicable
Author

Input Schema For tESBConsumer-
0683p000009MATG.png
Response Schema For tESBConsumer-
0683p000009MAVg.png
My Flow-->
0683p000009MAN9.png
Anonymous
Not applicable
Author

Hi
Both input schema and response schema are predefined, the schema has only one column called payload with Document type and is read-only, you don't need to change the schema type from built-in to Repository and change the schema.
0683p000009MAPR.png
Best regards
Shong