on 11-30-2005 6:15 PM
Hi all,
I need to pass parameters between two web dynpro applications of length bigger than the limit that HTTP GET method allows.
I'm thinking to use HTTP POST method or HTTP Session to share data.
Anybody knows if web dynpro provides a way to handle this?
Thanks in advance,
Diego.
Diego,
As far as I understand your scenario, these are not a startup application parameters, but rather some shared state (if you plan to use HTTP Session). Correct me if I'm wrong.
For this case consider using "transient attributes" of currently logged IUser.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valery,Maksim
Thanks a lot for your time. It seems to be complex.
I'll try to find another solution for parameters.
Best Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim,
thank you for the information.
Respect to the "start up" parameters my question is how to pass parameters between to web dynpro applications using POST.
Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Diego,
After some investigation I got some results: if I`m trying to call WD application first time through POST method I`m getting 302 code wich is redirect to http://localhost:50000/webdynpro/resources/sap.com/tcwddispwda/global/noclient.htm
So, seems like it is not possible to pass initial parameters to WD application.
Best regards, Maksim Rashchynski.
Maksim, Diego
To be exact -- you have to emulate complete WD "application session initiation" protocol. That assumes some mandatory "handshaking" part (identifying yourself as valid WD client and [optional] authenticating). Quite complex task for data sharing requirements (taking on account that protocol is not well documented).
VS
Hi Valery,
I didn't explain my scenario clearly.
I have two portal iViews, in one of them I'll be loading different web dynpro applications at runtime.
I have to send them start up parameters but the size of these parameters exceeds "HTTP Get Method" limit.
could you please tell me more about "transient attributes" of currently logged IUser (how to use them)?
Thanks in advance.
Regards,
Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Diego,
From where are you getting startup parameters initialy? Or are they hardcoded?
More information about "transient attributes" https://media.sdn.sap.com/javadocs/NW04/SP9/ume/com/sap/security/api/IUser.html (methods getTransientAttribute and setTransientAttribute). The main feature of transient attributes is non-persistance. They are not stored.
Best regards, Maksim Rashchynski.
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.