Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
sbxr
Contributor III
Contributor III

GET response from hitting a wsdl

hi 

i am trying to hit a WSDL and get the response in tlogrow

case:

i am using soap ui to test and get the response from it which is possible in that soap ui. now same  thing i want to do i have table in my db and want to take that as input schema or request and then in between i have used tESBconsumer to hit the WSDL but but not able to do it and get the same response as i am getting in soap ui.

 

please suggest me how can i achieve the above condition.

 

input ----->xmlmap----->tesbconsumer---->tlogrow..

 

 

Labels (2)
4 Replies
Anonymous
Not applicable

Hi,

 

Can you provide us the tESBconsumer configuration + the error message from the Talend studio.

Right now it is difficult to say: it can be the tXMLmap (your input)/ configuration/ ...

 

Kr,

Jvl

sbxr
Contributor III
Contributor III
Author

i am still in process of building this job, so let me expain what i want

please help me achieving below scenario through Talend Job by calling a wsdl .

This is the example input and output i am getting after soap request and resonpse.

 

requesting

<inp:ET_EMPLOYEEMaster_Test>
     <inp:EMPORGID>2</inp:EMPORGID>
    <inp:EMPID>1we</inp:EMPID>
    <inp:NAME>test</inp:NAME>
    <inp:CODE>?</inp:CODE>
</ET_EMPLOYEEMaster_Test>

 

Response :

<inp:ET_EMPLOYEEMaster_Test>
     <inp:EMPORGID>2</inp:EMPORGID>
    <inp:EMPID>1we</inp:EMPID>
    <inp:NAME>test</inp:NAME>
    <inp:CODE> 1</inp:CODE>
</ET_EMPLOYEEMaster_Test>

 

How to build a job so that it can request that WSDL and get me the above response in Talend.

sbxr
Contributor III
Contributor III
Author

if i am trying with tsoap component i am getting below mntioned error:

ug 16, 2019 2:21:37 PM com.sun.xml.messaging.saaj.soap.SOAPPartImpl lookForEnvelope
SEVERE: SAAJ0514: Unable to create envelope from given source because the root element is not named Envelope
Aug 16, 2019 2:21:37 PM com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
SEVERE: SAAJ0511: Unable to create envelope from given source
Anonymous
Not applicable

It is recommended to use tESBConsumer instead of tSoap. Build in logging, activiate SAM...

tESBConsumer will encapsulate the request into an eveloppe. 

 

How I would do this:

Build your Talend flow step by step

1) tFixedflowInput with the parameters

2) tXmlMap: import your xml

3) tESBConsumer: execute call (refer to your WSDL)

4) Log response (success and failure

 

Kr,

jvl7