on 10-29-2013 11:09 AM
HI,
I have configured HTTP receiver Adapter in SAP PI to connect jsp application. i developed some pages in jsp also, in that second.jsp file path i configured in PI. I can able to indentify PI is connecting the second.jsp file. But i dont know how to reterive the values of PI in JSP file.
Please share your idea and thought .
Regards,
Manigandan
Hi
It all depends on how you are designing your JSP pages.
If they respond with XML then you can just perform a mapping in PI.
If the reponse is html, you will have to perform a parsing and then a pi mapping based on it.
I will not recommend creating interfaces using jsp. JSP is mosly designed for webfronts. Better create a propper webservice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Thanks for your reply. i know it's not mandiatory to create jsp pages.
But just am trying to use htpp adapter in Pi. For that i created one jsp file and i can able to connect from PI to that JSP page. But i dont know how to retrive the values which is coming from PI.
Please share how to do , like which class and method i have to use in JSP.
Hi
If you just want to send what the PI/PO server is creating you can make a servlet much like the following.
Though I would save the input to a file on the java server to see the raw request.
Daniel
Hi Mani,
Here is some useful link for you
http://scn.sap.com/people/alessandro.guarneri/blog/2008/09/15/xipi-message-payload-from-java
mvh
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.