How to pass user and password in workspace when open a bqy

hello,
how to pass user and password of workspace when refresh a bqy for a query in DB2.
I don't know where to insert the properties in order to use user and password of workspace,
I want to use user of login of workspace,
I don't want to make to appear the mask of login newly when the user refresh the query.
I don't want to set a default user and password
thanks
massimo

Dear Friend,
What you mean?
1. Do you mean how to pass login page on workspace ?
2. or Do you mean how you can use a connection file to connect to db that is hide from user?
3. or You mean how to use user & password to login to doc on workspace
Answer for 1:
use link
http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy?user=admin&pass=password
Answer for 2:
a) Upload or import connection file ( MyConn.oce ) to DB2 into workspace,
b) for IR doc properties change file connection ( MYConn.oce )
Answer for 2:
use link without user & pass parameter
http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy <?user=admin&pass=password>
regards
siyavuş

Similar Messages

  • How to pass username and password while invoking a web service through wsdl

    Hello All,
    i am calling a web service through wsdl, but it is giving error 401. i want to know how to pass userid and password when i am invoking webservice?
    i am using NetBeans 6.1.
    i did following thing:
    First i created one web application, then i right clicked on project new->web service client, and gave the url for my wsdl.
    after that i create one main class and try to call my required operation by that wsdl.
    Thanks in advance

    Thanks dumchikov, i tried the same thing what ever you told but there is no option for security.
    when i right clicked on web service reference its open 1 window which have 2 tab one is quality of service and second is wsdl customization, then i clicked on wsdl customization. which contain Global Customization, Port Types, Port Type Operations, Port Type Faults, Binding, Binding Operations, Services, Ports and External Binding Files. it don't have security option.

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How to pass Username and password using Invoke to a webservice

    Hi Guys,
    Please tell me how can I pass Username and password using Invoke to a webservice, I am using SOA 11G.
    Thanks
    Yatan

    Hi Yatan
    I suppose you want to use basic HTTP authentication.
    Try to lookup in the SOA docs this property
    oracle/wss_http_token_client_policy
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b32511/configuring.htm#WSSEC2261
    Regards
    Mihai

  • How to reset user and password on MacBook Pro without CD

    I recently bought a MacBook Pro, 15" with Lion on Ebay.
    There are times when I am asked for a password. I have asked the person who I bpught it from, but he does not remember.
    I do not have the original disk, so I need a method to reset the user and password.
    Thanks

    Thank you for your input.
    I received an e-mail from a computer tech that thought the following would work; please let me know what you think:
    ResetLion password with Single User mode
    Anyone running Mac OS X Lion cantake advantage of this method:
    Shut down your Mac and turn it back on while holding     down the Command and S keys at the same time until your see     a black screen with white text. This is known as Single User mode.
    You can skip this step, but it’s recommended that you     don’t because it will check the consistency of your hard drive. At the     prompt, type fsck -fy and press Enter.
    Once the disk check is complete and the prompt returns,     type mount -uw / and press Enter.
    Type launchctl load     /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist and press     Enter.
    Type ls /Users and press Enter. All of the     usernames on the computer will be listed, which is helpful if you don’t     know or remember what these are.
    Type dscl . passwd /Users/username password     while replacing username with one of the users displayed in     the previous step and replacing password with the new password     of your choice. Press Enter. You will likely get an error message about a     file or directory not being found – it’s safe to ignore this.
    Type reboot and press Enter.

  • How to pass username and password from form to web service

    Hi All,
    We need to develop an offline interactive to form.
    When on desktop computer, the user has to click on button and it calls a web service (exposed via PI ) which updates the backend.
    But backend needs an authorised user for updation. We have a dummy user with authorisations.
    But how to pass the that username with its password to web service
    Please give your suggestions
    Regards,
    Aditya Deshpande

    i am closing this thread

  • Passing user and password in the URL for web shop

    Does anyone know the parameters to pass a user ID and password in the URL of a B2B, B2C or UCES web shop?
    thanks
    Stu

    Suppose the URL of ur webshop is http://asdhfksldhfjsa.htm
    Provide parameters and attach it to above url, ex: http://....default.htm?firstname=Joshua&lastname=Dell&website=SDN
    In above URL you have 3 variables: firstname, lastname & website. These are name=value pairs separated by symbol & .

  • How to reset  user and password of macbook pro os x version 10.5.8

    hi,  I tried every option it does not worked for me. My machine is mac os x version 10.5.8  when I restart and press command  s or Command   R it goes to old log in page   when I type name and password it does not work. when I type, all the keys type number and symbols only.  and power on buttom does not response when f12 key pressed power on.
    Battery condition is full, all hardware working, fan is working.
    how to fix this issues

    Back up your data, click here, and read the entire page. Mac OS X 10.7 and newer don't support PowerPC software such as Microsoft Office 2004.
    (106264)

  • How to pass username and password to ftp server using jdk1.4

    My following codes runs fine when i give full access to the anonymous user on ftp server. But when the ftp server is password protected the code gives me error
    "sun.net.ftp.FtploginException"...How can i solve it???
    import java.net.*;
    import java.io.*;
    import java.security.*;
    class Dnet
    public static void main(String r[])
    try
    File fi=null;
    FileInputStream fis=null;
    BufferedReader buff=null;
    OutputStream os=null;
    InputStream ins=null;
    String s=null;
    String ar[]=null;
    int i=0;
    String li=null;
    String ht="i will be there for u";
    fi=new File("c:/nick");
    ar=fi.list();
    System.out.println(ar[0]);
    for(i=0;i<ar.length;i++)
    URL ul1=new URL("ftp://pg-12/satyen/"+ar);
    URLConnection ucon=ul1.openConnection();
    ucon.setDoOutput(true);
    os=ucon.getOutputStream();
    fis=new FileInputStream("c:/nick/"+ar);
    buff=new BufferedReader(new InputStreamReader(fis));
    while((li=buff.readLine())!=null)
    os.write(li.getBytes());
    os.flush();
    os.close();
    }catch(Exception e)
    System.out.println("error is: "+e);
    }

    Hi,
    you need to extend the URL to :
    ftp://user:password@host/path/file
    e.q :
    URL ul1=new URL("ftp://user:passwd@pg-12/satyen/"+ar);
    SKA

  • How to read system user and password to login to a application

    Hello Experts,
    i need to open a application with out asking for the user name and password. the application when opened should take system user name ans password can u tell me how can i do this in webDynpro java. or is there any alternate method to do this

    hello,
    This can be achived in following manner,
    1) Ask ur basis peron to creat ur id on the server (for ex. if u are using a dev server ask him to creat a user their)
    2)Now Logon to your user id n system password
    it will take you to the portal and the roles assigned to you by basis.
    Result:
    u will be able to see a portal logged in by your name and rols assigned to u
    With Regards,
    Prajakta

  • How to pass user name and password in openConnection method ?

    Hi, Exports,
              I am trying to post data from applet to another application which is
              protected by network password.
              How to pass user name and password when I use openConnection method? In java
              doc, this method looks like do not accept these two parameters.
              Thanks
              ----- my code in applet ---------
              URL url = new URL("http://127.0.0.1/xml/index.cfm");
              URLConnection connection = url.openConnection();
              connection.setDoInput(true);
              connection.setDoOutput(true);
              connection.setUseCaches(false);
              connection.setAllowUserInteraction(false);
              DataOutputStream dos = new DataOutputStream(connection.getOutputStream());
              dos.writeBytes("POST " + path + " HTTP/1.0\r\n");
              dos.writeBytes("Referer: http://127.0.0.1/XML/index.cfm\r\n");
              dos.writeBytes("Content-Type:
              multipart/form-data;boundary=---------------------------7d0b414b04\r\n");
              dos.writeBytes("Host: "+host+":"+port+"\r\n");
              dos.writeBytes("Content-Length:" + buff.length()+"\r\n");
              dos.writeBytes("Connection: Keep-Alive\r\n\n");
              dos.writeBytes("-----------------------------7d0b414b04\r\nContent-Dispositi
              on: form-data;name=\"xmlDoc\"\r\n\r\n");
              dos.writeBytes(buff.toString());
              dos.writeBytes("\r\n-----------------------------7d0b414b04--\r\n");
              dos.close();
              

    you need to negotiate Authentication in ur applet code...
              For example:
              If u r using Form based auth u need to send Post a request with j_user_name &
              j_password to the action j_security_check. and when server returns back the
              cookie
              u need to hold it and pass that cookie to the each and every request made to the
              protected application.
              Basically u need to imitate the browser.
              regards
              aseem
              David wrote:
              > Hi, Exports,
              >
              > I am trying to post data from applet to another application which is
              > protected by network password.
              > How to pass user name and password when I use openConnection method? In java
              > doc, this method looks like do not accept these two parameters.
              >
              > Thanks
              >
              > ----- my code in applet ---------
              > URL url = new URL("http://127.0.0.1/xml/index.cfm");
              > URLConnection connection = url.openConnection();
              > connection.setDoInput(true);
              > connection.setDoOutput(true);
              > connection.setUseCaches(false);
              > connection.setAllowUserInteraction(false);
              > DataOutputStream dos = new DataOutputStream(connection.getOutputStream());
              > dos.writeBytes("POST " + path + " HTTP/1.0\r\n");
              > dos.writeBytes("Referer: http://127.0.0.1/XML/index.cfm\r\n");
              > dos.writeBytes("Content-Type:
              > multipart/form-data;boundary=---------------------------7d0b414b04\r\n");
              > dos.writeBytes("Host: "+host+":"+port+"\r\n");
              > dos.writeBytes("Content-Length:" + buff.length()+"\r\n");
              > dos.writeBytes("Connection: Keep-Alive\r\n\n");
              > dos.writeBytes("-----------------------------7d0b414b04\r\nContent-Dispositi
              > on: form-data;name=\"xmlDoc\"\r\n\r\n");
              > dos.writeBytes(buff.toString());
              > dos.writeBytes("\r\n-----------------------------7d0b414b04--\r\n");
              > dos.close();
              >
              > ------------------------------------------
              

  • How can I pass username and password in a client bean to call a webservice?

    Hi,
    I have created a Client Java Bean for a web service (an automatically created Service from a Bapi) that requires username and password. How can I pass username and password in the code?
    Thank you!
    Julia
    This is my code:
    public Z_FlightGetlist port;
    Business Method.
    public String test1234() {
    try{
    BAPI_FLIGHT_GETLIST list = new BAPI_FLIGHT_GETLIST();
    list.setAIRLINE("KLM");
    port.BAPI_FLIGHT_GETLIST(list);
    return "ok";
    catch(Throwable e){
    return "error"+e;
    public void ejbCreate() throws CreateException {
    try{
    InitialContext ic = new InitialContext();
    Z_FlightGetlistService s = (Z_FlightGetlistService)ic.lookup ("java:comp/env/FlightProxy");
    Z_FlightGetlist vi = (Z_FlightGetlist)s.getLogicalPort(Z_FlightGetlist.class);
    this.port = vi;
    catch(Throwable e)

    Hello Julia,
    Check this document
    http://help.sap.com/saphelp_nw04/helpdata/en/50/a5d13f83a14d21e10000000a1550b0/frameset.htm
    Best regards, Maksim Rashchynski.

  • I have forgotten my itunes user and password details how to do I find them again?

    I have forgotten my itunes user and password details, how do I find them again?

    Have you got any of its downloads in your computer's iTunes library : http://support.apple.com/kb/HT1920
    You can also try this page and see if you can get the id from it and/or reset its password : http://iforgot.apple.com

  • How to retrieve WorkflowContext without passing username and password ?

    Hi,
    I have created a dynamic ApprovalGroup and inside this class i have the following private method.
    private IWorkflowContext fetchWorkflowContext() {
              IWorkflowServiceClient wfSvcClient =
                   WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.LOCAL_CLIENT);
              ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
              IWorkflowContext workflowContext;
              try {
                   workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
                   } catch (WorkflowException e) {
                   e.printStackTrace();
    But when i retrieve workflowContext, I have to pass username and password.As this dynamic ApprovalGroup class will be deployed on the same SOA server under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1
    I have kept wf_client_config.xml under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1\classes.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration
    xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true" excludeFromFederatedList="true">
         <localClient>
              <participateInClientTransaction>false</participateInClientTransaction>
         </localClient>
         <remoteClient>
              <serverURL>t3://localhost:8001</serverURL>
              <userName>weblogic</userName>
    <password>weblogic1</password>
              <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
              <participateInClientTransaction>false</participateInClientTransaction>
         </remoteClient>
         <soapClient>
              <rootEndPointURL>t3://localhost:8001</rootEndPointURL>
              <identityPropagation mode="dynamic" type="saml">
                   <policy-references>
                   <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                   </policy-references>
              </identityPropagation>
         </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    How to retrieve WorkflowContext without passing username and password ?
    ============================
    workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
    ============================
    regards.
    Edited by: user10303338 on Oct 5, 2011 1:51 AM

    Use :
    Properties prop = System.getProperties();
    prop.put("proxySet","true");
    prop.put("http.proxyHost","yourProxy");
    prop.put("http.proxyPort","8080"); // change the port
    //prop.put("https.proxyHost","yourProxy");
    //prop.put("https.proxyPort","8080"); // change the port
    Denis

  • Where and how users and password are stored?

    1) I'd like to know where and how users and passwords are stored in portal30_sso schema.
    Does anybody know something about?
    2) Why have I to start httpd with ssl enabled as root user? Isn't it insecure?

    This only applies to Unix
    Mike
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sebastiaan van Dijk:
    Hi,
    When the portnumber is under 1024, you have to start it as root, but you can run it as another user.
    So, your SSL webserver instance can run under another user than root. Root only has to start it up.
    HTH, Sebastiaan<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Adjusting Automatically Generated Document Properties?

    Background: I create documents with Word Perfect X4.  I then print to PDF using a printer called "Adobe PDF."  I also have a program installed on my computer called Adobe Distiller that I think may be involved. I've notice recently that my PDF files

  • How to avoid multiple selection in ALV tree control?

    Hi, Experts, I want to avoid multiple selections on Alv tree control after pressing control keyboard button(Ctrl). Even by pressing Ctrl keyword button i want to select only one row of a Alv tree control.i have used cl_salv_tree class for it is there

  • Commercial Invoice Problem

    Dear All, I created Import PO, for which MIRO for customs done first. While doing that MIRO I have done wrong hence I cancelled that and created a new MIRO for the customs again. At the time of GR for the PO, in the Commercial Inv. No field it is pic

  • I just downloaded Firefox 4.0, but I lost all my old bookmarks, how do i recover them?

    The question is the detail.

  • Don´t allow drag&drop

    In my app you can drag&drop images from the file system into air. but now I want to forbid to drag and drop the image inside the application. now I get this error message when dragging images inside my app: "TypeError: Can't get property length from