Providing user id and password in web service model

hi,
i hv created a web dynpro application using web service model. The WSDL link had user id and password.
even i had to provide the user id and password at the time of coding.
what is the disadvantage of using userid and password at llink and also at runtime?
hw can it be avoided?
regards,
ankita

Hi
you can give user name and password in coding
wdContext.currentXXElement().modelObject()._setUserName(uid);
wdContext.currentXXElement().modelObject()._setPassword(pwd);
Regards,
Naga

Similar Messages

  • How to set up User id and Password for Web services or authentication

    Hi ,
    I am new to web services . I have created a new Web service in SAP , and while creating Service defination , set the Authentication as LOW for server proxy .Then created End-point in SOAMANAGER with USREID/PWS requried .This WSDL i am planning to share with Third party to call from Java application.
    But my web service checks for authorization which needs to be set up to allow the user id and pws .
    So question is how do i pass my user id and pws as i do not see this WSDL with User id and pws option displayed for me when i test this using SOAP UI .I saw some of WSDL with tag "AuthHeader" with user id and pws tags in them .So how could i get them ?
    Or requirement is that my Third party should be able to access my Web service in PRD and also be able to have authorization to auth object embedded in FM inside service defination .So how is this acheived ?
    Thanks,
    Sitaraman

    Hi,
    After creation of WSDL , you will get URL lkie http://idessapdev.ad.infosys.com:8000/index.html.
    For this URL your third party system need sto add id and pwd for accessing like http://idessapdev.ad.infosys.com:8000/index.html&userid = 111&pwd= wwgw.
    this is not the exact syntax. you can check with your third party system for this URL.
    Regards,
    Lokeswari.

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • VC Change username and password for web services

    Hi everybody
    I need to change the username and password into the portal of some web services that   have already been created portal is consuming these web services  a XI
    Thansk
    Ivan

    it is ok ....
    thank you....
    i have now this issue:
    i need to add new E1 to be in the same trunk for previous E1 which is for Abdali. new E1 will not have signal it depeneds at old one timeslot.
    i used this for new E1:
    prov-add:nailedtrnk:name="1033",srcsvc="ss7p-jtc-abdali",dstsvc="naspath1-abdali",srcspan="ffff",dstspan="0",srctimeslot="33",dsttimeslot="33",spansize=31
    for old one this:
    prov-add:nailedtrnk:name="1002",srcsvc="ss7p-jtc-abdali",dstsvc="naspath1-abdali",srcspan="ffff",dstspan="0",srctimeslot="2",dsttimeslot="2",spansize=30
    ============================
    at AS5400 i used to add new E1:
    controller E1 7/2
    framing NO-CRC4
    pri-group timeslots 1-31 nfas_d primary nfas_int 1 nfas_group 0
    Is this true or there are other commands i should use?
    OLD E1 is configured as:
    controller E1 7/0
    framing NO-CRC4
    channel-group 0 timeslots 1
    pri-group timeslots 2-31 nfas_d primary nfas_int 0 nfas_group 0
    description Connection to Abdali
    interface Serial7/0:0
    no ip address
    encapsulation ss7
    channel-id 0
    interface Serial7/0:15
    no ip address
    encapsulation hdlc
    isdn switch-type primary-ni2c
    isdn incoming-voice modem
    isdn map address . plan isdn type network
    isdn rlm-group 0
    no isdn send-status-enquiry
    isdn negotiate-bchan resend-setup
    isdn bchan-number-order ascending
    no cdp enable
    any help please for correct commands i shall use? please see attached file for details.

  • MFA Server - User portal and mobile app web server should be installed where?

    Hi. We are in the process of testing the Multi-Factor Auth server and are currently using it for two-factor authentication to RDS for a couple of users. At the moment we are only using the phone call/text options but I'd like to get the mobile app portion
    working to test.  Also still need to implement the user self-service portal for testing.
    Currently I have a vm that was dedicated to MFA where the Multi-Factor Authentication Server software was installed.  Now though I'm a bit confused as to if its safe to install the user portal and mobile app web service portion on this same machine
    or if they should go on a different server(s)?  Currently the box is internal but I'm guessing if it has also act as the web server we would stick it behind the TMG for external inbound access.  Is external access to the primary MFA server ok? 
    What's the best practice for separation of the MFA roles; or is there none and its fine to just put it altogether? 
    Thanks.

    Hello Col. Forbin,
    Thanks for posting here!
    You have a dedicated MFA server and if you install User Portal on the same server as the MFA Server, it uses RPC to communicate with the MultiFactorAuth service locally.
    If the User Portal is installed on a different server, it must connect via the Web Service SDK. You can use either a username/password of a service account that is a member of the PhoneFactor
    Admins security group, or you can configure client certificates. If using the username/password, you can encrypt the appSettings section of the web.config file if desired.
    Under Inetpub\wwwroot\MultiFactorAuth when you edit the web.config file you need to make sure these values are set.
    USE_WEB_SERVICE_SDK:
    true
    WEB_SERVICE_SDK_AUTHENTICATION_USERNAME: domain\user
    WEB_SERVICE_SDK_AUTHENTICATION_PASSWORD:
    password
    OVERRIDE_PHONE_APP_WEB_SERVICE_URL: 
    You might want to refer this thread link:
    https://social.msdn.microsoft.com/Forums/en-US/ad1f6fc1-ab3f-482d-a435-e4fd6665f640/mfa-user-portal-issue?forum=windowsazureactiveauthentication
    Additional reference links:
    https://technet.microsoft.com/en-us/library/dn376347.aspx#multifactor
    https://pfweb.phonefactor.net/install/6.2.1.16387/release_notes.txt
    Let me know if you have any further questions!
    Regards,
    Sadiqh Ahmed

  • User name and Password for Actions

    Dear Friends
    i am working with IDES 6.0 , while performing Hiring action, for every infotype after enter data, sys prompting for USER name and Password, only after providing User name and Password  sys is going for the next infotype
    to my knowledge sys should not ask for Uname and password
    please suggest how to solve this
    Thanks
    kumar

    Hi,
    This is a basis issue. Ask your basis team to solve this problem. same thing was happening for me also few days back. I took help from basis team and solved. If you are not able to solve let me know I will ask my basis team and inform you.
    Regards,
    Purnima

  • Locked PDF files will not open with user name and password. Help?

    I go to school online and our eBooks are in pdf format. I download them to my MacBook so that I can read them offline. When I download them, they open as they always did but, when I put my username and password in to unlock them, it tells me something about the file is edited and a copy will be saved but, it never opens the file. I have adobe reader on it, I am getting frustrated! I don't want to be logged into class every time I am studying material. Any ideas? Thanks in advance - this is my first Mac so, bare with me

    Not using netwok magic. I shut it down when it comes up.  I have tried using 192.168.1.1 but still will not accept user name and password.  I never changed the factory default and it just continues to ask for the user name and password.  Web utility site will not come up.  I have a wired desktop as my main computer and that is the computer I have been trying to access the utility from. 

  • User Name and Password in weblogic realm while invoking a web service

    Hi,
    I deployed a rpc web service using WLS 7.0 SP2 in HP-UX 11 environment. When I
    invoke the web service through my browser (IE 6.0) using the web services url,
    it brings my service method correctly. From there, if I click the invoke button
    it asks me for a network user name and password under "weblogic" realm??? If I
    provide the admin user credentials (which I supplied while creating my domain)
    it is not accepting that it keeps popping up this network user password window
    over and over. Not sure which username/password I have to provide here to see
    the result of my service.
    If I try to invoke the web service through my client (static) I am getting a connection
    refused exception. I guess either way, I am not able to access my web service.
    In the attached file, I have cut and pasted the client stack trace as well as
    the server log trace from weblogic.
    Any ideas would be highly appreciated.
    Thanks,
    Ganesh
    [errorstacktrace.txt]

    I think the client is not able to do a HTTP POST
    to the WLS server but it can do a HTTP GET.
    I dont know why.
    http://manojc.com
    "Ganesh" <[email protected]> wrote in message
    news:3eba91bc$[email protected]..
    >
    Hi,
    I deployed a rpc web service using WLS 7.0 SP2 in HP-UX 11 environment.When I
    invoke the web service through my browser (IE 6.0) using the web servicesurl,
    it brings my service method correctly. From there, if I click the invokebutton
    it asks me for a network user name and password under "weblogic" realm???If I
    provide the admin user credentials (which I supplied while creating mydomain)
    it is not accepting that it keeps popping up this network user passwordwindow
    over and over. Not sure which username/password I have to provide here tosee
    the result of my service.
    If I try to invoke the web service through my client (static) I am gettinga connection
    refused exception. I guess either way, I am not able to access my webservice.
    In the attached file, I have cut and pasted the client stack trace as wellas
    the server log trace from weblogic.
    Any ideas would be highly appreciated.
    Thanks,
    Ganesh

  • Update User Password via Web Services

    Hello. I am attempting to update the password for a user via the Rights Management web services, https://{mydomain}/soap/services/RightsManagementService?wsdl&lc_version=9.0.1, using .NET 4.0 (C#).
    Below is the function I have written. When I execute the code it always returns false. I have searched the documentation and forumns but have not found anything. Can someone provide any ideas on how I can successfully update a users password in LiveCycle via the exposed web services?
    public bool UpdateUserPassword(string userName, string password)
                bool result = false;
                WebServices.RightsManagement.UserImpl user = new WebServices.RightsManagement.UserImpl();
                user.userid = userName;
                user.canonicalName = userName;
                user.domainName = DefaultPolicySets.DefaultDomain;
                user.principalType = "USER";
                user.local = true;
                user.locked = false;
                user.disabled = false;
                user.system = false;
                Console.WriteLine(this.rmSvc.resetExternalUserPassword(user, password));
                return result;

    The answer to this question was to use another function exposed by the Directory Management Web services, {domain}/soap/services/DirectoryManagerService?WSDL&lc_version=9.0.1.
    The function in question is called updateLocalUser().
    You can find more information here, http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/com/adobe/idp/um/api/Directory Manager.html#updateLocalUser%28com.adobe.idp.um.api.infomodel.User,%20java.lang.String%29.

  • Could not connect to DbaaS Service using the given user name and password.

    I'm not able to create Java Cloud Service (Oracle Java Cloud - Virtual Image Services) for my newly created Oracle Database Cloud Service instance. It fails with
    "Incorrect values entered
    Could not connect to DbaaS Service using the given user name and password.
    Verify that the user name and password are correct and the user name has SYSDBA privileges."
    I'm using SYSTEM user and the password I used during Oracle Database Cloud Service instance creation. I've verified them with sqlplus and also by connecting remotely.
    Java Cloud Service wizard doesn't allow me to proceed to instance creation.

    Hi Alexander,
    Maybe you'll find useful the document from Oracle docs specified bellow regarding Creating an Oracle Java Cloud Instance:
    http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-31F00F2C-221F-4069-8E8A-EE48BFEC53A2.htm#JSCUG3128
    Thanks,
    Cristiana.
    #OracleCloud

  • HT4245 When I try to activate iMessage and while I write my correct password I I receive message say that my user name and password is incorrect although I was use iMessage service on the same network (etisalat ) U.A.E  before I update to ios6

    When I try to activate iMessage and while I write my correct password I I receive message say that my user name and password is incorrect although I was use iMessage service on the same network (etisalat ) U.A.E  before I update to ios6
    Note : my iPhone is been swapped 2 weeks ago and I already erase all data in old I phone

    1) Go here: http://www.apple.com/support/appleid/manage/
    2) Click on Sign in to manage your Apple ID
    3) Click on Manage your Apple ID
    4) Type in your Apple ID and Password and click Sign in
    5) Select Addresses from the left hand side
    6) Click Edit
    7) In country region type United Kingdom
    8) Click Save at the bottom of the page
    9) Go to your Apple Device Settings - General - International - Region Format - Select United Kingdom
    10) Press the Home button
    11) Log into Facetime and iMessage with your CORRECT APPLE ID AND PASSWORD
    This should work for all of you guys. Hope it helps.

  • I'm on a web site that requires a user name and password to enter the site., but Firefox has never asked me if I want to save this info. Is it possible to do this even though Firefox never asked me?

    This is the only site that Firefox has not asked me to save user name and password.

    The website may be using autocomplete=off to prevent Firefox from saving the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    See also:
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • Single Sign On and Application with Web Services

    My Application Server is set as partner application for SSO so for example this address: http://myserver:80 is SSO enabled.
    I have two ADF applications on it with jspx pages and the ADF security is enabled on them. SSO works for these applications (for jspx files).
    I added a new application with a web service and deployed this new application. It is on the same application server as those two applications and its security provider in identity management, SSO enabled. Its address is something like:
    http://myserver:80/newWebService-Project1-context-root/MyWebService1SoapHttpPort
    So I expect to be unable to test web service, but I can and I am not prompted for user name and password.
    Regards
    Farbod

    Thank you.
    Yes I had cleared the cache and in these cases I always use a new browser also.
    I deployed a third application without declarative security options (ADF application, no security settings) and this application also didn't ask me for user information though it was under SSO.
    Regards
    Farbod

  • Difference between a Search and a Retrieve web service?

    Anyone has any idea what's the difference between a Search and Retrieve web-services generated by the 7.1 WS Generator? It seems like you can use both to retrieve any kind of result definition and search by any field.
    I don't mind really, just curious if I'm missing something.
    Alon

    Googling led me to this:
    Authentication:
    Portal: You log-in to the site. Provides you with information based on who you are.
    e.g. mail.yahoo.com
    Website: No log-in.
    e.g. www.yahoo.com
    Personalization:     
    Portal: Limited, focused content. Eliminates the need to visit many different sites.
    e.g. you type in your user name and password and see your yahoo mail only.
    Website: Extensive, unfocused content written to accommodate anonymous users needs.
    Customization :
    Portal: You will select and organize the materials you want to access. Organized with the materials you want to access.
    Website: Searchable, but not customizable. All content is there for every visitor.
    e.g. you can navigate to yahoo mail, yahoo shopping, geo cities, yahoo group. If you wish to use any of these services you will either have to authenticate yourself and see things personalized to you or you can simply visit sections that are for everyone like yahoo news were if you are not signed in then the default sign in is guest.

  • When I try installing Firefox 6.0 from the binary file, a box with "Run As" in the type field appears, which asks me for user name and password. Please advise about the course of action that I should take.

    Trying to run it as the current user, or as one from a different account(administrator in this case) also doesn't work.

    I think the client is not able to do a HTTP POST
    to the WLS server but it can do a HTTP GET.
    I dont know why.
    http://manojc.com
    "Ganesh" <[email protected]> wrote in message
    news:3eba91bc$[email protected]..
    >
    Hi,
    I deployed a rpc web service using WLS 7.0 SP2 in HP-UX 11 environment.When I
    invoke the web service through my browser (IE 6.0) using the web servicesurl,
    it brings my service method correctly. From there, if I click the invokebutton
    it asks me for a network user name and password under "weblogic" realm???If I
    provide the admin user credentials (which I supplied while creating mydomain)
    it is not accepting that it keeps popping up this network user passwordwindow
    over and over. Not sure which username/password I have to provide here tosee
    the result of my service.
    If I try to invoke the web service through my client (static) I am gettinga connection
    refused exception. I guess either way, I am not able to access my webservice.
    In the attached file, I have cut and pasted the client stack trace as wellas
    the server log trace from weblogic.
    Any ideas would be highly appreciated.
    Thanks,
    Ganesh

Maybe you are looking for

  • Camera Raw 5.4 RC and PSE 6 Mac

    Hello, Does anybody know when CR5.4 for PSE 6 Mac will be available? Thanks

  • Can't install Photoshop, what's a Classic Volume??

    I want to install Photoshop Elements 2 in my new MacBook Pro. I put the disc in and eventually get a warning message that says: "You have no Classic volume is selected." Quit the installer and go to System Preferences Classic. Select the volume on wh

  • Cannot open System prefrences after OS10.7.2 update

    Since upgrading to OSX.7.2 i am unable to open System prefrences, what am i doing wrong

  • Why downloads damaged?

    I have adobe reader version 11.0.03, my laptop runs Mac OSX 10.8. adobe reader files I downloaded and successfully opened now respond " There was an error opening thiss document. The file is damaged and could not be repaired." Can anyone help me fix

  • Complete URL in unstructured UI Template?

    Hi, Is it possible to retrieve complete url in unstructured UI Template in Oracle Portal 10.1.2? I would like to pass it on as a parameter to pl/sql: <ORACLE> declare    v_complete_url varchar2(4000); begin    v_complete_url := <some magic code to ge