tSOAP

Six Stars

tSOAP

Hi,

 

I am a new bee to Talend. Below is my scenario and queries:

Scenario:

I have a WSDL with xml version 1.0. I need to use SOAP as the protocol to retrieve the information. 

So I am planning to use tSOAP component. I have 10 different SOAP actions.

 

Queries:

1. Can someone suggest me SOAP equivalents of REST component tRESTRequest, tRESTclient and tRestResponse?

2. Since I have 11 different SOAP actions, should I be using 11 tSOAP component? ( 1 for each action?)

3. If I use tSOAP, then the option to choose the soap version is either 1.1 or 1.2. But my WSDL shows it as 1.0. how do I proceed further?

Thanks in advance


Accepted Solutions
Sixteen Stars

Re: tSOAP


All Replies
Sixteen Stars

Re: tSOAP

I think you might have misunderstood a few things. 

 


chithrakoushik wrote:

1. Can someone suggest me SOAP equivalents of REST component tRESTRequest, tRESTclient and tRestResponse?

tRESTRequest and tRESTResponse are for creating a REST service. tRESTClient is for calling REST services. There is also tREST. For creating SOAP services you have tESBProviderRequest, tESBProviderResponse and tESBProviderFault. To call SOAP services you have tSOAP and tESBConsumer.


chithrakoushik wrote:

2. Since I have 11 different SOAP actions, should I be using 11 tSOAP component? ( 1 for each action?)

Are you intending to build these actions or use them? For example, does the service already exist?


chithrakoushik wrote:

3. If I use tSOAP, then the option to choose the soap version is either 1.1 or 1.2. But my WSDL shows it as 1.0. how do I proceed further?

I suspect you are talking about the XML version here and not the SOAP version. Can you post your WSDL?

Six Stars

Re: tSOAP

Hi,

 

Thanks a lot.

1. I need to call the SOAP service. 11 different SOAP actions exists. So I was thinking if we need to have 11 components ( 1 for each action).

Yes. The XML version is 1.0.

Sixteen Stars

Re: tSOAP

Six Stars

Re: tSOAP

Thanks.

 

This is my scenario:

 

We have talend jobs to do few functionalities. Those are individual jobs. Now the purpose is to create a gateway job, which authenticates the SOAP requests and upon correct authentication, allows the individual jobs to run.

 

I used the following components

 

tESBProviderRequest - tRestClient - tESBConsumer - tESBProviderResponse

I need to keep listening to any request ( tESBProviderRequest) .

When I get the request, I am passing it on to tRestClient( OAuth Authentication)

When the authentication is done, the request is passed on to tESBConsumer ( contains the endpoint and one service details).

 

Queries:

1. Is my flow/logic correct?

2. There are 11 functionalities. So how do I do it?

I need the tESBProviderRequest to listen to the request, authenticate the same and then route to 11 different channels based on the operation that I require. How do I do it?

3. I need to send the response. like Ok and custom error message. 

 

Thanks in advance

Sixteen Stars

Re: tSOAP

1) You said that the service exists....but this sounds like you are creating a service. Are you creating a service to call other SOAP services?

2) Why are you using the tRESTClient with a SOAP service? This seems odd. Are you creating a SOAP service to use REST services?

Six Stars

Re: tSOAP

Yes. I need to create a SOAP service to call another soap service.

 

 

Sixteen Stars

Re: tSOAP

OK, this is going to be some learning curve for you I feel. Try following this tutorial and see how you go (https://cleverbuilder.com/articles/soap-service/).