cancel
Showing results for 
Search instead for 
Did you mean: 

Soap to Soap scenario(need suggestions)

Former Member
0 Kudos

Hi All,

I have a scenario to be developed. Its a soap to soap scenario. We need to send  a request with target site name and list name in the URL.

As there are 4 different sites each has different list with different columns. We need to retrieve these data in a single structure and send it back to the source system( as response). Now I am stuck in the response structure creation. Anybody has any idea? Please suggest.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

I would suggest you to check below blog and using this create ur target URL (or action) dynamically to retrieve data from  different sites.

Now for the response, i would suggest you to use JM. So, in java code parse (whatever) response which is coming from WS, send the same to ur sender system - By this way u don't have to worry abt creating response structures in PI for each site.

Hope i understood ur question correctly and if not then do correct me.

Thanks

Amit Srivastava

anand_shankar10
Active Participant
0 Kudos

Did you find possibility of using enhanced receiver determination. Since you have 4 receivers you can figure out some conditions based on which you can try to do routing.

More details can help in evaluating the solution.

Regards

Anand

Former Member
0 Kudos

Hi Anand,

We are sending all the 4 sites details to a single receiver.

Former Member
0 Kudos

Hi

So your request message will have only one site name at a time??

or it will have multiple site name in the same request message ??

We need to retrieve these data in a single structure?

what does it means...u need all the site details in a single message or a inside in a single field??

Former Member
0 Kudos

Hi Indrajit,

My request message will have only one site name at a time. Yes we need the site details in a single structure. Because one site has multiple column names.(like this we have 4 sites). Whenever we get a request with site name and list name our channel hits the target URL and it should retrieve the data.

Former Member
0 Kudos

Hi Sandeep

So you will have 4 separate request message and you want that the response of this 4 request message will be club together and then send back to the sender.

If that is the case, then you will need a BPM to accomplish this in PI.

Former Member
0 Kudos

Hi Indrajit,

Site name and list name is taken dynamically. So at a time they send request for one site. And we need to hit that particular site and retrieve the data for that single site. The main thing is all the 4 sites are different with different field names.

Former Member
0 Kudos

Hi

So you mean that the response of the 4 different sites will have different field names?

I think you have got the WSDL for the target web service and that web service can return 4 different types of response with different field names.

Can you please provide the sample data of each type of response that you are getting from the web service.

Also can't you send the generic response structure but with different values to your sender system?

Does the sender system expects the exact same response structure that is coming from web service?