on 03-20-2014 9:15 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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?
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.