How to get session.maintain property on server side?

Is there a way to trap javax.xml.rpc.session.maintain property on the server side in JAX-RPC compliant web service implementation? I would like to know if the client has enabled session.maintain property to true (which false by default). If not, can I specify the web service to be of "Application" or "Session" scope during deployment time? It used to be the case for Apache SOAP processor. I do not see any mention of that in the JAX-RPC spec.
Thanks for any pointers.
-Anirban.

When I first started to work with JAXRPC I had questions about how web services maintained session across multiple calls and also if it was
possible to maintain session across multiple web services. I downloaded
the JAXRPC runtime implementation source code and tell you what I found.
There is a HttpClientTransport class that handles the actual HttpConnection to the server. It checks to see if maintain session is
set to true or false. If it is set to true it appends the JSESSIONID to the header variables of the request.
The very first call gets a response back with header variable
Set-Cookie: JSESSIONID=blahblahblah
The HttpClientTransport looks for it and if it finds it takes the cookie and stores it somewhere. Every call after that will check to see if session maintain is true or false. If true, it will send
the header:
Cookie: JSESSIONID=blahblahblah
Hope that helps.
Mike

Similar Messages

  • How to get the publish method with server side actionscript?

    We publish this way at client side:
    ns.publish(name, howToPublish);
    How to get this howToPublish at server side?
    application.onPublish = function(){
        //how to know whether the stream's publishing method(live,record,append) here?

    I am not sure whether you can know mode of publish via SSAS, best way would be to use Authorisation Plug-in which can intercept you publish request and get the information which you need - in this case mode of publishing.

  • How to get path of image from server side in form of URL

    Hello,
    I want to access images stored on server side local folder. How do I create a URL for that. Images in the folder changes dynamically, so I should be able to display the new modified images. Please help me.
    Thanks in advance

    Are you asking from client side to access server (local folder) images...
    if yes
    where the security goes....
    please be in detail...

  • How to get the client certificate at server side

    hi, this is ravikiran
    I am working on a project which requires, receiving a signed file from the client side and verify whether the file is signed by a valid certificate that is there in the servers keystore.
    I have no idea how to do this.
    can anyone help me.
    thanx in advance.

    [sorry, deleted irrelevant wrong answer]

  • How to get and maintain Http persistent connection to get pushed data from

    At MangoSpring ,www.mangospring.com we are working on application which uses IMPS protocol where we always required to receive data pushed by server.
    To achive this we'll have to maintain one persistent Http connection on client side, so that we can be notified whenever some data is pushed by server.
    Reply With Quote

    our problem is :: " How to get and maintain Http persistent connection to get pushed data from Server "

  • How to get the files in presentation server while uploading?

    how to get the files in presentation server while uploading?
    give me the function module name

    Hi,
    PARAMETERS:  P_FILE LIKE RLGRAP-FILENAME DEFAULT C_PRES.  "Prsnt Srvr
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          DEF_PATH         = P_FILE
          MASK             = ',..'
          MODE             = '0 '
          TITLE            = 'Choose File'
        IMPORTING
          FILENAME         = P_FILE
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 4
          OTHERS           = 5.

  • How to get Document Set property values in a SharePoint library in to a CSV file using Powershell

    Hi,
    How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
    I suggest you can get the document sets properties like the PowerShell Command below:
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $siteurl="http://sp2013sps/sites/test"
    $listname="Documents"
    $mysite=new-object microsoft.sharepoint.spsite($siteurl)
    $myweb=$mysite.openweb()
    $list=$myweb.lists[$listname]
    foreach($item in $list.items)
    if($item.contenttype.name -eq "Document Set")
    if($item.folder.itemcount -eq 0)
    write-host $item.title
    Then you can use Export-Csv PowerShell Command to export to a CSV file.
    More information:
    Powershell for document sets
    How to export data to CSV in PowerShell?
    Using the Export-Csv Cmdlet
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get the 'text' property value of a button in coding?

    Hi Experts,
    I'm using 10 buttons all are having common action('click'). when i click a button the 'text' value of the button should pass to a function.So the action is same but the passed value will be the 'text' value of the corresponding button.  I don't know how to get the 'text' property of a button in coding. Kindly help me to solve this problem.
    Thanks and Regards
    Basheer

    Hi,
    My event is like this.
    public void onActionclick(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
         String s =  ?  ; // should get the 'text' property of clicked button
         fillInput(s);     // function to be called
    The called function is,
    public void fillInput( java.lang.String id )
        String str=wdContext.currentContextElement().getNum();
        str = str + id;
        wdContext.currentContextElement().setNum(str);
    How can i get the 'text' property value of the corresponding button. Click action should be common to all buttons.
    Thanks and Regards,
    Basheer

  • Bw web report plugin http session hangs at the server side

    Hi,
    I am having problems when closing the browser of a BW web report. After I closed the browser by going File->close, I ran SM04 and found out the Plugin HTTP session hangs at the server side.
    How can we terminate the Plugin HTTP session at the server side when user closes the internet browser?
    I did implement a logoff function at my web template, if user clicks on the logoff, the Plugin HTTP session is terminated at server side correctly. But As you know, 50% of time user will close the report by closing the internet browser instead of clicking the logoff. That leaves lots of hanging Plugin HTTP sessions at our server side.
    By the way, we actived our BEX service at the SICF.
    Thanks for help!
    JA

    Hi
    If you want to avoid a blank page with logoff button, add opener=0
    <a href="<SAP_BW_URL CMD='LOG_OFF' ~command='logoff'
    >" onClick="javascript:window.close(opener=0);">Log off</a>
    If you want to close the session via X, use this code:
    create a sapscript function
    function closeSession()
    logoff()
    window.unload=CloseSession()
    However, the Plugin HTTP session isn't killed.
    Regards

  • How to get rid of automatically created server accounts in iCal and Mail?

    I have recently setup an OS X 10.6.2 Server for our small office. I got the domain name wrong in the initial install and fixed this by doing a complete clean reinstall of OS X 10.6 server (then upgrade to 10.6.2).
    The problem is that one of the OS X 10.6.2 clients had been setup to talk to the server prior to the rebuild. Now on this client, I cannot work out how to get rid of or change the automatically created server accounts in iCal and Mail - everytime you login, these are recreated using the old domain name (and of course don't work).
    In Mail if you remove the server account (from Accounts in Preferences), it just pops back again. I even removed every trace of the old domain name from the apple.com.mail.plist file but when I re-open Mail that darned server account (with the old domain name) just pops up again.
    In iCal its slightly different in that you can remove the account and it stays away while you have iCal open. But as soon as you close and re-open it, that server account just pops up again!
    I thought it might be something to do with Kerberos and found a Kerberos file on the client which had the old domain name throughout it - I changed all these references to the new domain name, but still the same behaviour in Mail and iCal.
    This is doing my head in. Any ideas?
    Message was edited by: davidav

    I suggest you ask in the snow leopard server forum
    http://discussions.apple.com/category.jspa?categoryID=264

  • ADF security : How to get fnd_users list in weblogic server

    Hi All,
    I have a question related to ADF security.
    I am able to apply ADF security to the application, where users information and roles are defined in jazn.xml file.
    On deployment, users/ roles information is being successfully ported to weblogic server.
    But my requirement is to fetch users information from fnd_users table. If you have any idea as how to get the fnd_users data to weblogic, please reply.
    Thanks,
    Randhir

    Thanks John.
    I went through the link and got steps for authentication with fnd_users.
    I have one more question on this.
    Do I need to enable jazn.xml for implementing security or only the steps given in this link is sufficient?
    Since roles are also stored into fnd table, how to secure the taskflow? (roles are not defined in jazn.xml)

  • How to get name of default mail server?

    Hi ,
    I need to get the name of default mail server . In 1.5 i can get this using
    System.getenv("MAIL_SERVER");.
    How do i get this in 1.4?
    Since getenv() is depricated in 1.4 , how can i get the name of mail server in 1.4?
    plz help me....

    How do i get this in 1.4?Pass the environment variable to your JVM (windows) with the -D parameter
    java -Dmail_server="%MAIL_SERVER%" myClassthen in your code
    String mail_server = System.getProperty("mail_server");--
    http://www.rgagnon.com/howto.html

  • Index file share with pictures - how to get the "Tag" property as refiner?

    Hi,
    I'm indexing a folder in file share and in the windows explorer view i gave values to the "Tags" property.
    Now i want to set it as refiner in search results. I see that SharePoint gets the properties of: file name, size, picture height, picture width, author... how to get also the properties of Tags? and Dimensions?
    keren tsur

    Hi keren,
    According to your description, my understanding is that you want to add some refiners based on pictures’ properties in SharePoint 2013 Search.
    Firstly, do a full crawl for the content cource.
    For the ‘Tags’ refiner, go to the results page, click on edit page and edit the refiners web part, then choose the Choose Refiners picker. Now add the TAGS field to the right hand column.
    More information, please refer to the link:
    http://social.technet.microsoft.com/wiki/contents/articles/23690.sharepoint-metadata-tag-refiners-not-displaying-in-sharepoint-2013office-365-search.aspx
    SharePoint indexes an item based on list/library columns. However, for the Dimensions property of pictures, SharePoint library cannot retrieve the property from pictures . So when crawling, the property cannot be crawed as a crawled property, you are not
    able to add it as a refiner in Search. When you use Picture Library, there are Picture Size, Picture Width and Height columns, you can create refiners based on these three columns. You can check them in Crawled properties(CA->Search Service Application->Seach
    Schema).
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to get the system property - user.name from a client system

    Hi All,
    I have an application which would enable active users from the domain of the company. I want to get the name of the client from the system. I tried to run it on the local machine from Jdeveloper, it returned me the correct user name. But when the application is deployed on the Oracle Application server, and i hit the URL of the application, it returns the server URL.
    I understand that the JSP works on the server side here but help me out to get a solution. I want to read the user name from the client side.
    Thanks in advance!
    Akhil

    Akhil,
    I hope this will never work. Think about your requirement for a second....
    This would mean an application is able to see my user credentials without my knowledge. It's bad enough the know my IP if I'm not using TOR.
    To get your requirement to work you have to redefine it a bit. The user have to log in to your application. The application holds the name together with an ID of the session to know the user in further requests.
    Thats a basic security theme, described in the dos [Adding Security to a Fusion Web Application|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm] .
    Timo

  • How to get pst from Exchange 2007 server

    Hi,
    How to get pst from exchange server 2007 & 2010.
    Regards
    Anil

    Hi,
    Do you want to export mailboxes to a .pst file in Exchange 2007 and Exchange 2010?
    If so, to export mailbox to a .pst file in Exchange 2007, we can use the Export-Mailbox cmdlet. You can refer to the following article.
    How to Export Mailbox Data
    http://technet.microsoft.com/en-gb/library/bb266964(v=exchg.80).aspx
    To export mailbox to a .pst file in Exchange 2010, we can use the New-MailboxExportRequest cmdlet. For more details about this command, please see the article below.
    Create a Mailbox Export Request
    http://technet.microsoft.com/en-gb/library/ff459227(v=exchg.141).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • How can I get more than one firewre port ?

    Hello, how can I get more than one firewire port ? I'd like to be able to connect my canon HV30 camera as well as my firewire external HD at the same time so I can use firewire to upload the videos I've taken. Is this possible? TIA

  • Help Needed in establishing connection between Kepware OPC server and UDS 4

    Hi All, I am in the process of establishing connection between Kepware OPC server and UDS 4.0, Can anyone guide me through the process of configuring UDS 4.0 to establish conection with the Kepware. Any standard documentation on UDS 4.0 will be of gr

  • Photo stream not showing up in iphoto

    Upgraded iPhone 4 to iOS 5 and enabled photo stream and upgraded iPhoto on my MacBook Pro and enabled photo stream on it as well but new pics taken on iPhone are not showing up in iPhoto. Any ideas?

  • Change AutoScroll Bounds in JTextPane

    I cannot figure this out for the life of me. I would like to CHANGE the bounds for the autoscroll on a JTextPane that resides inside a JScrollPane when the user selects text and moves the mouse outside of the "autoscroll bounds". The normal bounds fo

  • Add New Virtual Network Interface to RRAS

    In the past (W2k3), adding an interface to the OS would also cause that interface to be added to RRAS.  I have a server running RRAS and it has multiple VMs running in Hyper-V.  I want to add an isolated VM that has a single port available from the I