on 07-11-2013 3:24 PM
Hi Experts
I have a requirement, Webservice <-----> PI 7.11 <------> JDBC, Third party is sending webservice.
1. As soon we receive webservice message, it need to be archived in file system
2. Insert data into multiple tables in a single call
3. Synchronous response to third party webservice, response should contain some key fields of sent message along with success or failure flag
4. Synchronous fault response during any technical failure in map or DB operations.
I am using sender SOAP channel, from DB i am getting success "1" response, how can i populate key fields from the sent message to the soap response.
Regards
Subba Rao
Hi Subbarao,
>>>As soon we receive webservice message, it need to be archived in file system
this step does not show in interface flow you gave.
I guess your question is more on updating multiple tables in DB and sending the response back to web service with key fields.
Design a stored procedure(which does the update on DB tables) and returns a response with key fields with success or failure field.
Stored procedures work fine with SQL/DB2 but there are limitations in Oracle. you may check on SCN on Oracle version.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use stored procedure at receiver end so that you can build write logic to send key fields as a response to JDBC.
If you want to archive file then you have to use BPM because sync scenarions wont support having two receivers in receiver determination.
to deal with technical errors implement alert mechanism or in BPM you can catch exceptions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subbarao,
Once DB is done, while doing response mapping (SOAP response to Webservice), use JDBC Lookup function and extract key fields that are updated in request mapping in DB. So using JDBC lookup, you can send back the keyfields to your web service.
Thanks,
Rajendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.