I have a flex application which uses SOAP webservices from SAP to retrieve data.
Everytime one of the SOAP webservices is called the user have to enter a name plus password
I would like to make this automaticly. So that the user haven't got to fill this in. But Flex already filled it automaticcally.
But how do this work? How can you set this in Flex?
hi Sathyamoorthi. That is correct. But i'd like to suppress this one time login for the user.
My wish is that during the calling of the webservice in SAP, a system user is automatically login in the background just like the retrieving of the data.
So the user who uses the flex application has no idea that a webservice in SAP is used for the retrieving of the data.
Do you have any idea how to solve this?
I hope you embed you flex applicatios in .do file. when you try to load .do file SAP asks you login. it is not depends only on flex. if you load anything from SAP first it aks you login. For example if you load PDF file from SAP it asks you login. once you give your login credential you don't need to give login for the entire browser session.
regarding flex you can use setCredetials method in webservice. But it is not related to flex app. SAP asks login before loading flex app i.e when it loads html file that containing flex. May be you can try it in SAP settings. I am not sure about that.
To be frank, i never try this approach. Need some security around our app. So it is better to leave as it is.