on 06-03-2010 2:58 PM
Hi,
Could you please let me know how to accept and process the POST request from external website ?
Vinit
//@@begin javadoc:loadCountItemsParameter()
/** Declared method. */
//@@end
public void loadCountItemsParameter( )
{
//@@begin loadCountItemsParameter()
boolean count = false;
try {
String paramCountItems = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("CountItems");
//this.messageShowMessage("[loadCountItemsParameter]: paramCountItems = " + paramCountItems, PBMessagesTypes.TP_Exception, null);
count = Boolean.valueOf(paramCountItems).booleanValue();
} catch (Exception ex) {
wdComponentAPI.getMessageManager().reportException(new com.sap.tc.webdynpro.services.exceptions.WDNonFatalException(ex), false);
}
wdContext.currentVnAppPropertiesElement().setVaCountItems(count);
//@@end
}
regards,
Angelo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but is it possible to catch these values in the same session.
currently what is happening is, I need to pass a URL to external site on which it can return the data.
1. How do we get the current application URL and when I pass that URL is it possible to stop the browser refresh and catch the value in the same iview.
Thanks,
Vinit
You need to create "plug suspended" and specify some attributes in WebDynpro application.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a08c287b-96a5-2a10-a691-b8b8bc40ea43
regards,
Angelo
Hello Angelo,
My requirement is interact back and forth with an external website.
Ex, I need to call the external website from my webdynpro application on portal, read the data from the external site and use them in my webdynpro application.
Here I need to send the external website a URL - HOOK_URL, and external site would return me data back on the same url I passed. When I pass my application url i get the data, however I loose the portal window, i.e it is redirected to standalone application url.
Please advise.
Thanks,
Vinit Pugaliya
Sounds Good, but can i use a standalone application instead of EJB to process the data.
Also can you please let me know how do I pass the parameter from the standalone webdynpro application to the application which is created as an iView.
Basically in my standalone application i get the data, however I am unable to navigate to my main iview, can we use EPCF eventing to pass the values and if yes, please let me know how ?
Thanks,
Vinit
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.