OSB 10g: Accessing password in Service Account through WLST

Hi,
There is a requirement to get the password stored in a Service Account through a script. Can anyone let me know if this is possible and how it can be done?
Thanks in advance
Vikas

http://download-llnw.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/appendixAPIs.html#wp1046774
I doubt if you can do that. API to accomplish that is not in public domain as you can notice from the above link.
Manoj

Similar Messages

  • Error when try access password self service

    Hi,
    We are on AC5.3, patch level 11. We are trying to setup password self service but we are not very successfull.
    When trying to access password self service screen i type in a username and select logon. I then get the following error message:
    Application error occurred during request processing.
      Details:   java.lang.NullPointerException: null
    Exception id: [00215E963384006600005C47000005DC000487177DFC3B51]
    The java log is as follows:
    2010-05-21 11:05:56,616 [SAPEngine_Application_Thread[impl:3]_4] ERROR Ignorning exception in search by uniqueldapkey, searching by dn
    com.sun.jndi.ldap.LdapReferralException: Continuation Reference; remaining name ''
         at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(LdapNamingEnumeration.java:345)
         at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:224)
         at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:187)
         at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUserByDN(LDAPSearchUser.java:274)
         at com.virsa.ae.service.umi.ldap.LDAPSearchUser.setManagerDetails(LDAPSearchUser.java:908)
         at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUsers(LDAPSearchUser.java:695)
         at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUserById(LDAPSearchUser.java:880)
         at com.virsa.ae.service.umi.ldap.LDAPUserDetailsProvider.getUser(LDAPUserDetailsProvider.java:52)
         at com.virsa.ae.actions.LoginAction.verifyRequestorLoginHandler(LoginAction.java:607)
         at com.virsa.ae.actions.LoginAction.execute(LoginAction.java:102)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:295)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:431)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:461)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Please advise.
    Regards

    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  NavigationEngine.java@85:execute() : Current Module: |STARTUP_MODULE| Conversation: |STARTUP_CONVERSATION| Screen: |scrRequestAccess|
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  NavigationEngine.java@105:execute() :  Module#STARTUP_MODULE#Conversation#STARTUP_CONVERSATION#Screen#scrRequestAccess#Action#verifyRequestorLogin#
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  NavigationEngine.java@285:execute() : Handler found:class com.virsa.ae.actions.LoginAction
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LoginAction.java@437:verifyRequestorLoginHandler() : INTO the method
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPAuthenticator.java@66:<init>() : INTO the method : ZACTAD3
    2010-05-21 14:54:06,784 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPHandlerFactory.java@30:getHandler() : INTO the method : ldapServerType :ADldapSystemName :ZACTAD3
    2010-05-21 14:54:06,784 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  UMIFactory.java@116:getAuthenticator() : OUT of the method : Authenticator com.virsa.ae.service.umi.ldap.LDAPAuthenticator@17581758 found for authenticationType:LDAP authenticationSystem:ZACTAD3 authenticationStrategy:
    2010-05-21 14:54:06,784 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPAuthenticator.java@66:<init>() : INTO the method : ZACTAD3
    2010-05-21 14:54:06,787 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPHandlerFactory.java@30:getHandler() : INTO the method : ldapServerType :ADldapSystemName :ZACTAD3
    2010-05-21 14:54:06,787 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  UMIFactory.java@116:getAuthenticator() : OUT of the method : Authenticator com.virsa.ae.service.umi.ldap.LDAPAuthenticator@5a8f5a8f found for authenticationType:LDAP authenticationSystem:ZACTAD3 authenticationStrategy:
    2010-05-21 14:54:06,788 [SAPEngine_Application_Thread[impl:3]_33] DEBUG Processing interrupted Caused by conversation Interrupted
    com.virsa.ae.commons.utils.framework.servlet.InterruptProcessingException: conversation Interrupted
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:299)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:431)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:461)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:461)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by:
    com.virsa.ae.commons.utils.framework.InterruptConversationException: Forcing user to login
         at com.virsa.ae.actions.LoginAction.verifyRequestorLoginHandler(LoginAction.java:677)
         at com.virsa.ae.actions.LoginAction.execute(LoginAction.java:90)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:295)
         ... 24 more
    2010-05-21 14:54:06,816 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  AEFrameworkServlet.java@521:logRequest() :
    -- Request dump for Action Path is loadRequestorLoginPage
    2010-05-21 14:54:06,817 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  AEFrameworkServlet.java@546:logRequest() : -- End Request dump for Action Path is loadRequestorLoginPage
    2010-05-21 14:54:06,817 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  NavigationEngine.java@85:execute() : Current Module: |STARTUP_MODULE| Conversation: |STARTUP_CONVERSATION| Screen: |scrRequestAccess|
    2010-05-21 14:54:06,817 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  NavigationEngine.java@105:execute() :  Module#STARTUP_MODULE#Conversation#STARTUP_CONVERSATION#Screen#scrRequestAccess#Action#loadRequestorLoginPage#
    2010-05-21 14:54:06,817 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  NavigationEngine.java@285:execute() : Handler found:class com.virsa.ae.actions.SuccessAction
    2010-05-21 14:54:06,817 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  NavigationEngine.java@296:execute() : Target returned by execute action: success
    2010-05-21 14:54:06,817 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  AEFrameworkServlet.java@458:service() : forwarding to:/eu_login.jsp
    2010-05-21 14:54:06,818 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  AECacheUtil.java@2139:getDropDownList() : INTO the method : hmFA{DE=German, KO=Korean, SK=Slovak, NL=Dutch, IT=Italian, CS=Czech, PT=Portuguese, HR=Croatian, FR=French, PL=Polish, NO=Norwegian, FI=Finnish, ZH=Chinese, HU=Hungarian, JA=Japanese, ES=Spanish, EN=English, DA=Danish, RU=Russian, SV=Swedish}
    2010-05-21 14:54:11,067 [SAPEngine_Application_Thread[impl:3]_16] DEBUG  AEFrameworkServlet.java@521:logRequest() :
    -- Request dump for Action Path is requestorLogin1
    2010-05-21 14:54:11,067 [SAPEngine_Application_Thread[impl:3]_16] DEBUG  AEFrameworkServlet.java@541:logRequest() : requestType:0::PSS#
    2010-05-21 14:54:11,067 [SAPEngine_Application_Thread[impl:3]_16] DEBUG  AEFrameworkServlet.java@541:logRequest() : selLanguage:0::#
    2010-05-21 14:54:11,067 [SAPEngine_Application_Thread[impl:3]_16] DEBUG  AEFrameworkServlet.java@541:logRequest() : j_user:0::PADAM#
    2010-05-21 14:54:11,067 [SAPEngine_Application_Thread[impl:3]_16] DEBUG  AEFrameworkServlet.java@546:logRequest() : -- End Request dump for Action Path is requestorLogin12010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  NavigationEngine.java@85:execute() : Current Module: |STARTUP_MODULE| Conversation: |STARTUP_CONVERSATION| Screen: |scrRequestAccess|
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  NavigationEngine.java@105:execute() :  Module#STARTUP_MODULE#Conversation#STARTUP_CONVERSATION#Screen#scrRequestAccess#Action#verifyRequestorLogin#
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  NavigationEngine.java@285:execute() : Handler found:class com.virsa.ae.actions.LoginAction
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LoginAction.java@437:verifyRequestorLoginHandler() : INTO the method
    2010-05-21 14:54:06,772 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPAuthenticator.java@66:<init>() : INTO the method : ZACTAD3
    2010-05-21 14:54:06,784 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPHandlerFactory.java@30:getHandler() : INTO the method : ldapServerType :ADldapSystemName :ZACTAD3
    2010-05-21 14:54:06,784 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  UMIFactory.java@116:getAuthenticator() : OUT of the method : Authenticator com.virsa.ae.service.umi.ldap.LDAPAuthenticator@17581758 found for authenticationType:LDAP authenticationSystem:ZACTAD3 authenticationStrategy:
    2010-05-21 14:54:06,784 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPAuthenticator.java@66:<init>() : INTO the method : ZACTAD3
    2010-05-21 14:54:06,787 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  LDAPHandlerFactory.java@30:getHandler() : INTO the method : ldapServerType :ADldapSystemName :ZACTAD3
    2010-05-21 14:54:06,787 [SAPEngine_Application_Thread[impl:3]_33] DEBUG  UMIFactory.java@116:getAuthenticator() : OUT of the method : Authenticator com.virsa.ae.service.umi.ldap.LDAPAuthenticator@5a8f5a8f found for authenticationType:LDAP authenticationSystem:ZACTAD3 authenticationStrategy:
    2010-05-21 14:54:06,788 [SAPEngine_Application_Thread[impl:3]_33] DEBUG Processing interrupted Caused by conversation Interrupted
    com.virsa.ae.commons.utils.framework.servlet.InterruptProcessingException: conversation Interrupted
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:299)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:431)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:461)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:461)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by:
    com.virsa.ae.commons.utils.framework.InterruptConversationException: Forcing user to login
         at com.virsa.ae.actions.LoginAction.verifyRequestorLoginHandler(LoginAction.java:677)
         at com.virsa.ae.actions.LoginAction.execute(LoginAction.java:90)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:295)
         ... 24 more
    2010-05-21 14:54:06,816 [SAPEngine_Application_Thread[impl:3]_35] DEBUG  AEFrameworkServlet.java@521:logRequest() :

  • Access Denied creating user accounts through vba

    Hello,
    I have a MS-Access application that runs on a Windows 2012 server. My customer logs into the server using RDP. The MS-Access application is started up automatically by means of the environment variable in the user settings. The customer needs to be able
    to create new windows users for this application, simply by clicking a button.  
    The VBA script to create users works, because when I start up the MS-Access application with my own logged on Administrators account, the new users get created. If my customer tries it, he gets 'Access Denied' error. I have added his user account to
    the Power Users group, but that did not solve the problem. I also tried to make him member of the DCOM Users Group, the 'Access Denied' error remains...
    I do not want to give him administrator priviliges, because he is 'just a customer'...
    What do I need to do for this setup to work? I tried altering some DCom settings, but frankly I do not have enough knowledge to feel comfortable with this. Hope anybody can help me out here...
    best regards, Rob

    Is this a standalone server? Only administrators can create user accounts, so there is no work around for that. You could look at something that has the administrator account/password stored and launch PSEXEC or something else in an elevated session behind
    the scenes but that is a security volunerability because the credentials are stored.
    If the account is being created in an Active Directory environment you could delegate permissions to the appropriate OU for your customer.
    Mark B. Cooper, President and Founder of PKI Solutions Inc., former Microsoft Senior Engineer and subject matter expert for Microsoft Active Directory Certificate Services (ADCS). Known as “The PKI Guy” at Microsoft for 10 years.

  • How to set WSSE credentials using Service Account in OSB

    Hi Guys,
    Flow Path:
    OSB-A (Only Proxy Service) --> OSB-B (Both Proxy and Business service present) --> PIMWS --> PLSQL
    In OSB-A i have a service account, which iam getting it in a variable using assign activity and trying to populate that in header variable using replace activity then calling OSB-B but iam getting the following exception..
    When i check in the flow.. $header is not replaced with the actual WSSE: tags and credentials. How to make it to work ?
    <proc:OutputParameters xmlns:proc="http://xmlns.oracle.com/apps/ap/soaprovider/plsql/xx_i024_suppliers_pkg/process_suppliers/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <proc:X_RETURN_STATUS>Missing <wsse:Security> in SOAP Header</proc:X_RETURN_STATUS>
    <proc:X_RETURN_CODE>wsse:InvalidSecurity</proc:X_RETURN_CODE>
    </proc:OutputParameters>
    Thanks,
    Vijay
    Edited by: veejai24 on 16-Apr-2012 09:01

    I am able to use Service Account in my OSB. The following are the steps i did.
    I have created a service account and kept my username and password there in a common OSB Project.
    Then in my proxy service i have an assign which is having the wsse header tags, which retrieves the username and password from service account.
    I replace the header with the above information and calling the business service using routing options.
    In business service, in http transport page i have used Authentication type as basic and kept the service account by browsing from my common OSB Project.
    If i fire a request iam getting the response back as expected.
    My question is why should i do 2 times the same thing, when i try to remove the configuration from business service iam getting exception saying "WSSE credentials are missing"
    When i put it back its started working.
    Thanks,
    Vijay

  • "Sorry, something went wrong" when accessing Configure service accounts under Security in SP2013

    I have come across an interesting error which appears when accessing the Configure service accounts setting under Security>General Security.
    Has anyone come across this problem? I would appreciate some help with this as I am still fairly new to SP2013.
    Thank you in advance.

    It is part of the log entry when an error occurs (usually). Basically what you need to do is watch the current log file (using ulsviewer.exe), repeat the error and then capture the error in the log file.
    http://www.wservernews.com/archives/2013-10-28.htm#EC
    http://archive.msdn.microsoft.com/ULSViewer
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • HT201320 unable to open Email account or even set one up. Used many passwords that I have and nothing is accepted. I have an account through g mail, but will not open with passwords.

    Cannot set up Email account I once had and lost. Will not accept password(s) have account through gmail, but cannot use.

    It may be worth going directly to the gmail site: www.gmail.com can you login using what you believe to be your credentials? If not then it's likely to be an issue with the info you are using.  Also if you haven't used the account for a while it may have gone in to a suspended state, and logging back in will reactivate it. If you do manage to login ok, then try setting up the account on iPad again.
    Steve

  • Hello, I can no longer access my gmail account through the mail icon.  When I use the icon gmail tells me my password is invalid, however when I log in through Safari I have no problems.  Any suggestions?

    Hello,
    I had no problem accessing my Gmail account through the mail icon until two weeks ago.  I can still access my Gmail account through Safari, but when I attempt to access my Gmail through the mail icon, Gmail tells me that my password is invalid.  Any Suggestions?  Any help would be greatly aprecieated.
    Thanks,
    Frank

    I see you are using LastPass. Could that add-on be interfering with your login?? You could try disabling it temporarily under Tools > Add-ons to test that theory.

  • Service Account details are not going through header(OSB Business service)

    Hi
    I have an issue with service account. Assume I have a proxy service A, Business Service B, Proxy service C.
    A invokes B and B invokes C (A --> B --> C). All calls are through http protocol.
    I created a service account with userid and password details and attached it to the Business service B(Static for basic authentication).
    Added log activity in proxy service C for context variable $header to verify whether userid and password are coming through request header or not.
    I executed proxy service A from sbconsole but I couldn't see userid and password details of created service account in the logs. Only nemespace are logged in the file.
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>>
    Can someone please help me why service account details are not going through business service request. Am I missing any steps?
    Thanks in advance
    KK
    Edited by: 966531 on Oct 23, 2012 4:23 AM

    Basic authentication information is stored under transport headers (check $inbound) whereas $header is populated for message headers (for e.g. - SOAP headers), so you should be checking $inbound instead of $header
    Regards,
    Anuj

  • Several years ago I had an itunes account through my work email address. I have since left the company. When I tried to access the itunes I purchased, my password would not work because I no longer had access to that acct. How can I access that acct?

    Several years ago I had an itunes account through my work email address. I have since let the company but when I tried to access the songs I'd already purchased, my password would not work because that account no longer existed. I ended up having to open another account but how can I access that account to retrieve my other songs? I realize I can't transfer between accounts but maybe at least burn to CD?

    Hello, RSchultz13. 
    Thank you for visiting Apple Support Communities.
    You can reset your Apple ID password via the steps in the first article below.  I would try the option to answer your security questions.  If those steps do not work then you may need to reach out to our account security team to reset this old Apple ID password.  Once this is done you should be able to access your old DRM protected purchases.
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • Hi. Im trying to access my itunes account through my phone and its telling me to answer security questions to verify my account. I cannot remember my passwords for the 2 questions. Is there a place online that i can reset those?

    Hi. Im trying to access my itunes account through my phone and its telling me to answer security questions to verify my account. I cannot remember my passwords for the 2 questions. Is there a place online that i can reset those?

    Hello AndiHouse,
    Thank you for using Apple Support Communities!
    According to this article, Rescue email address and how to reset Apple ID security questions http://support.apple.com/kb/HT5312:
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so.
    Click the link above, and contact the iTunes Store support team directly for assistance with resetting your security questions.
    All the very best,
    Sterling

  • Custom WS Policy with Service account in OSB while invoking a https service

    Hi,
    I need your help on one of my issue in invoking an https service from OSB. I read through various posting and tried the below steps in this forum
    -Added the certificate for the https site to soa domain
    -Registered the https webservice as a Business service
    -Registerd a proxy service on top of this Business service
    -In the service call out on Proxy service I did a replace operation on the entire soap header with the below string
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-4" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
              <wsse:Username>sysuser@yahoo</wsse:Username>
              <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ABIHAIKLPLKLPMLERLER</wsse:Password>
         </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    -After doing all the above steps my call out worked from the test console, If you see closely the userid(sysuser@yahoo) and password(ABIHAIKLPLKLPMLERLER) is hard coded here.
    I need a way to mask the credentials and have the user pass them when they invoke the proxy service. I read through some posting and it was listed that we can create a custom policy and attach that custom policy to the Business service. But my problem here is the userid has an extra char @, so I wasn't able to create the user account with those credentials in OSB, but I was able to create the userid and password using a service account. Iam not sure how I can use this service account along with the custom policy.
    Can you please provide me a suitable approach, which will solve my issue. I appreciate your time and help
    Thanks
    Jagan.

    Hi,
    Below are the steps followed
    - OSB Proxy service has 'oracle/wss_username_token_service_policy' attached to it.
    - Iam invoking this from BPEL. BPEL process has 'oracle/wss_username_token_client_policy' attached.
    - I can invoke the osb proxy from bpel by passing credentials - No Issues.
    Now I need to put some authorization restriction to the proxy service, so only specific users can access that.
    -I used Role=Admin as a policy condition restriction under security in Proxy service.
    -Then I went to proxy test console and I added the 'oracle/wss_username_token_client_policy' credentials and weblogic/xxxxx at Transport section and I was able to invoke the process. Here weblogic has a Admin Role.
    -I cannot invoke the same proxy service from BPEL in Jdeveloper now.
    All Iam trying to do is to protect my proxy by authrorization policy.
    Thanks
    Jagan.

  • OSB Service account:Changing username runtime

    Hello,
    I am working on OSB project. For one of the requirement we have created Service Account with Static type and linked it with Business Service.
    As per our requirement i need to chnage the username at runtime based on one field which is coming in input request. We can not go with pass through option as dont want to expose password to proxy service client.
    Is this possible? If yes please tell the detailed steps.

    This was the info available in The trace file
    <i>Error on resolve of resource:/Subscriptions - com.sapportals.wcm.repository.InvalidUriException: Invalid RID: No repository manager found: /Subscriptions</i>
    The FS name is subscriptions.Is it anything to do with the RM.
    But the RM looks perfectly ok. Also it appears in KM Content but accessing
    shows an
    <i><b>"Item Not found"
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible</b></i>
    Will deletion of a RM lead to any issues ?
    Appreciate any inputs on this
    Regards
    Vineeth

  • OSB 11g: static service account customization

    Hi all,
    I'm currently evaluating OSB 11g with respect to our existing OSB 10g configuration and build process. For OSB 10g, we use a simple and straightforward method to customize service accounts between development stages. We have a plain text file with login and password inside which is applied to configuration in the same way as is the standard customization. In result, there is one configuration for all stages, one customization per stage and one plain text file with passwords per stage. For each stage this triplet is imported through JMX to OSB and we are very happy with that. Regarding service accounts we use a tool quite similar to the one described here:
    customization for static service account
    The problem is that in case of 11g there is probably no chance for us to go the same way any longer. There is no ServiceAccountConfigurationMBean to use. I went through all classes in http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/index.html and didn't find anything useful for accounts customization.
    The only one relevant idea I found is the trick based on <cus:externalReferenceMap> and described here:
    What needs to be chnaged in ALSBCustomization.xml file
    However, from usability point of view this is far from out current solution.
    Please, isn't there a better way to customize static service accounts in OSB 11g? I have a terrible feeling that either me or somebody at Oracle went mental. :-)

    Just to close this thread ...
    I raised a service request on Oracle support and the answer was that our OSB 10g approach is no longer supported in 11g and that the recommended way is to customize accounts manually using service bus console.

  • Accessing my hotmail.co.uk account through mac mail - deeply frustrated!!!

    Hello everyone, and thanks for your patience as I know very similar queries have been answered already in previous discussions.
    I have just bought my first mac after years of pc use.
    I would love to be able to access my hotmail.co.uk account through mac mail on os x tiger.
    However, despite following all previous posts as accurately as I possibly can, this still won't work. For this reason, I have transcribed absolutely everything I enter into the account setup below, to see if anyone can detect why this isn't working.
    I have downloaded httpmail (http://www.automagic-software.com/products.php) as suggested on previous posts.
    Also as suggested on a previous discussion, I have set mail to run using rosetta, to help deal with any complications I may face using my intel macbook.
    My email address is [email protected]
    Now, when I go to set up my account on mail, I enter:
    PAGE 1: GENERAL INFORMATION
    Account type: httpmail
    Account description: Hotmail acccount
    Full name: Alistair White
    Email address: [email protected]
    PAGE 2: INCOMING MAIL SERVER
    Incoming mail server: www.hotmail.co.uk
    Username: awhitetbn
    Password: ******
    I am then presented with the account summary:
    Account description: Hotmail account
    Full name: Alistair White
    Email address: [email protected]
    Username: awhitetbn
    Incoming mail server: www.hotmail.co.uk
    SSL: off
    Outgoing mail server: services.msn.com:awhitetbn
    SSL: off
    Next page: Conclusion: a new account has been created.
    Ok! All seems well, so I send a test email. However, I get the following message:
    Cannot send message using the server services.msn.com:awhitetbn
    Use the pop-up menu below to try a different outgoing mail server.
    However, in the pop-up menu, the only option I have is:
    send message using: HTTPmail:awhitetbn
    I would dearly love this to work and I sense I am not far from the solution... If anyone can help me I would greatly appreciate it. Where am I going wrong?
    Many many thanks
    Alistair White

    If you selected the Universal version of the httpmail plugin for download which installs a combination version that is compatible with Intel or PPC Macs , there is no reason to set the Mail.app to run under Rosetta on your Intel Mac.
    The sending problem is with your internet service provider and not the Mail.app or the httpmail plugin.
    Do you have access to an email account and SMTP server that is provided by your internet service provider used for connecting to the internet and if so, have you used your ISP's email account in the past with an email client on a Windows PC or via webmail access for the account?
    Most if not all ISPs now block the use of SMTP servers that are outside of their network or not provided by the ISP on Port 25 which is the default or standard port used for all SMTP servers. Some ISPs allow the use of an authenticated SMTP server only that is outside of their network on Port 25 but some block its use regardless. These restrictions are part of an overall effort to prevent spam emanating from the ISP's domain.
    First option to try.
    Go to Mail > Preferences > Accounts and under the Account Information tab for your Hotmail account preferences at the SMTP server selection, select the Server Settings button below for the Hotmail SMTP server.
    Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
    If this doesn't work and you have access to an email account and SMTP server provided by your ISP, you can create/access your ISP's account with the Mail.app or at least add your ISP's SMTP server to the Mail.app as an available SMTP server to choose from.
    Select/use your ISP's SMTP server to send messages with your Hotmail account and with any email account not provided by your ISP.

  • How to use Axis to access a web service through Authentication  proxy

    Using axis access internat web service is success,but access a web service through Authentication proxy is failure.But other java classes connect through a proxy to the internet which works very well:
    please help me ,thank you!!!
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    //this is my access webservice faliure   codes
    public class TestClient
       public static void main(String [] args) {
           try {
                System.getProperties().setProperty("http.proxySet", "true");
                System.getProperties().setProperty("http.proxyHost","proxy.com");
                System.getProperties().setProperty("http.proxyPort", "8080");
                System.getProperties().setProperty("http.proxyUser", "username");
                System.getProperties().setProperty("http.proxyPassword","password");
               String endpoint =
                        "http://nagoya.apache.org:5049/axis/services/echo";
               Service  service = new Service();
               Call     call    = (Call) service.createCall();
               call.setTargetEndpointAddress( new java.net.URL(endpoint) );
               call.setOperationName(new QName("http://soapinterop.org/", "echoString") );
               String ret = (String) call.invoke( new Object[] { "Hello!" } );
               System.out.println("Sent 'Hello!', got '" + ret + "'");
           } catch (Exception e) {
               System.err.println(e.toString());
       }I get an "(407)Proxy authorization required" error?

    I am also looking for a solution. Does any one know how to do through code instead of jvm settings?
    Thanks in advance!

Maybe you are looking for

  • Error is occuring at the time of PO Creation

    Hi, I did a mistake that while creating raw material type, i forgot to change the current period (i.e month and year)in Maintain company codes for material management "OMSY". Due to this reason I am getting an error of "control indicators" while crea

  • Network printing with HP 2100 TN

    I've been unable to print to a Hewlett Packard networked Laserjet 2100TN. It is not visible under 10.3.9 or 10.4 (MacBook). I have tried using the IP address but without success. I have tried GIMP drivers as suggested in earlier answers, same result.

  • Payment Terms at Item Level

    Hi All, 1.After SO Creation, When I change payment terms at Header level, Payment terms at Item level are not changing. 2. We are using same payment terms at both Header and Item Level.(Payment terms are not getting determined from Condition Record.

  • How to store large text in clob column???

    i have create a table this .. create table realistic_docs id number primary key, text clob and i want to load text data into clob column the data is .... The solar system may not be alone. Yesterday astronomers announced the first ever discovery of a

  • Pixelated images in different zoom levels

    Hi, since yesterday I´ve got a mystic problem when zooming my images. In the 100% view the images look sharp, clear and smooth. But when I zoom out and reach the 30% the images is pixelated like there is to much sharpness in it. The view doesn´t smot