2006 Sep 19 11:09 AM
Hello Community!
My aim is to log onto my mailbox on http://profil.wp.pl/login.html?serwis=wp.pl
through EP, with SSO.
What I did:
I've created a HTTP system,
I've mapped a user,
I've created an URL Iview, where I use the SEND method to pass the values 'login_username' and 'login_password'.
I've enabled cookies.
But it does not work
what else can I do?
Thank You , LUCAS.
Message was edited by: LUkasz Dippel
2006 Sep 20 7:58 AM
Hi Lucas,
although not a portal expert, I would guess you have set up the iView incorrectly. Please have a look at http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/98dc60ad8243139402836e11abb2ba/frameset.htm. According to the docs, a POST request is only supported for the fetch method ( I can't find anything there about a SEND method though) . Also it may well be, that you have to send additional values as part of the form. There are two hidden fields in there, maybe therefor the target application does not accept the data. Maybe you can try to creat an HTML page first (on your local file system to mimic the post (just copy the form part of the origianl page and replace the [value=""] with [value="realvalue"]). Doing this, you can test, what the target app requires without having to reconfigure the portal each time. Maybe the doc at http://help.sap.com/saphelp_nw2004s/helpdata/en/61/2f0e84397f47919ac91ac712c90dfd/frameset.htm is of help here, althoug I'm sure you've read that already. <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/ep/~form/handler">Note 779865</a> contains some additional examples, which may apply to your case.
In addition, did you maintain the correct values for ume.usermapping.unsecure (TRUE/FALSE)
ume.usermapping.admin.pwdprotection (TRUE/FALSE)
ume.usermapping.refsys.mapping.type (internal/attribute)
see also http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/fd76a0c4e0834ba1a17698d0b5553d/frameset.htm
Hello Community!
My aim is to log onto my mailbox on http://profil.wp.pl/login.html?serwis=wp.pl
through EP, with SSO.
What I did:
I've created a HTTP system,
I've mapped a user,
I've created an URL Iview, where I use the SEND method to pass the values 'login_username' and 'login_password'.
I've enabled cookies.
But it does not work
what else can I do?
Thank You , LUCAS.
Message was edited by: LUkasz Dippel
2006 Sep 19 2:04 PM
There was a progress.
The mapped user name appears in the login field, but it stil does not log me in....
2006 Sep 20 7:58 AM
Hi Lucas,
although not a portal expert, I would guess you have set up the iView incorrectly. Please have a look at http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/98dc60ad8243139402836e11abb2ba/frameset.htm. According to the docs, a POST request is only supported for the fetch method ( I can't find anything there about a SEND method though) . Also it may well be, that you have to send additional values as part of the form. There are two hidden fields in there, maybe therefor the target application does not accept the data. Maybe you can try to creat an HTML page first (on your local file system to mimic the post (just copy the form part of the origianl page and replace the [value=""] with [value="realvalue"]). Doing this, you can test, what the target app requires without having to reconfigure the portal each time. Maybe the doc at http://help.sap.com/saphelp_nw2004s/helpdata/en/61/2f0e84397f47919ac91ac712c90dfd/frameset.htm is of help here, althoug I'm sure you've read that already. <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/ep/~form/handler">Note 779865</a> contains some additional examples, which may apply to your case.
In addition, did you maintain the correct values for ume.usermapping.unsecure (TRUE/FALSE)
ume.usermapping.admin.pwdprotection (TRUE/FALSE)
ume.usermapping.refsys.mapping.type (internal/attribute)
see also http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/fd76a0c4e0834ba1a17698d0b5553d/frameset.htm
2006 Sep 20 9:08 PM
Lukasz,
just tried to log in to the website you named. When submitting the form, your browser sends the following data to the webserver:
serwis=wp.pl
tryLogin=1
countTest=1
login_username=<i>your user name</i>
login_password=<i>your password</i>
subm=Zaloguj
savessl=2
starapoczta=2
savelogin=2
minipoczta=2
Possibly one of the parameters besides login_username and login_password is also required by the application. They all seem to be fixed values (as there is no means to enter them). Try adding these name/value pairs in your iview and see if it helps.
Regards,
Dominik
2006 Sep 22 12:09 PM
Hi Guys.
I tried but with no result.
I think I'll have to change the code of the HTTP system. Do you know where can I find the .PAR of it?
Thank You, LUCAS.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |