Building stateful Webservice top-down

Hi,
i generated a webservice from a wsdl. In the jdeveloper wizard i checked the box for stateful session beans.
Now i try invoke it via the "test webservice" functionality of the oracle enterprise manager (10.1.3.1).
But the webservice does not show a stateful behaviour...
What i am doing wrong here?
Thanks...

For statefull Web Services, you need to use cookie and have the JSESSIONID value stored in between the calls. From the top of my head, I can't remember if the this behavior can be tested from the EM screen.
You may want to try testing using soapUI or with a JUnit class generated from JDeveloper, using the genProxy feature.
Hope it helps,
-Eric

Similar Messages

  • Creating an interactive top down map of a floor of a building

    Hi,
    This is an extremely general high level question. I want to create a map of a building where the view is looking top down. I want to be able to add and remove different sized rooms and put a label on each room to say what it is. I don't even know what language would be best to use as I want to add it as a link to a website. If you could offer any advice as what to even look into it would be greatly appreciated.
    Cheers,
    elmicko

    Ok,
    I know that I could create an applet but is there a way to create "walls"? I know I could just draw lines but surely there is an easier way as I want to be easily able to change the layout without changing the code. I also want there to be text that appears when I go over a room but not a coridoor. Could you suggest any tools that could help me?
    Cheers,
    elmicko

  • Question about "top-down" web services development

    I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
    This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
    The error I have is:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit>ant
    Buildfile: build.xml
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    sub-init:
    gen-service:
    [echo] Generating service artifacts
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    wsa:
    [java] java.util.zip.ZipException: The system cannot find the file specified
    [java] at java.util.zip.ZipFile.open(Native Method)
    [java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:127)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:65)
    [java] Exception in thread "main"
    BUILD FAILED
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
    Total time: 1 second
    When I look at the common.xml file which is used by the build.xml one I have a class like:
    <pathelement location="${ws.lib.dir}/orasaaj.jar"/>
    The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
    Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
    Thanks

    I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
    This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
    The error I have is:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit>ant
    Buildfile: build.xml
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    sub-init:
    gen-service:
    [echo] Generating service artifacts
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    wsa:
    [java] java.util.zip.ZipException: The system cannot find the file specified
    [java] at java.util.zip.ZipFile.open(Native Method)
    [java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:127)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:65)
    [java] Exception in thread "main"
    BUILD FAILED
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
    Total time: 1 second
    When I look at the common.xml file which is used by the build.xml one I have a class like:
    <pathelement location="${ws.lib.dir}/orasaaj.jar"/>
    The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
    Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
    Thanks

  • Stateful webservice using topdownAssemble task.

    Hi,
    I have looked all over to find documentation on how to assemble a "stateful" webservice using the topdownAssemble task in Ant. It looks stateful webservice creation is supported using the bottom up approach but not the top-down approach. All the documentation I have found so far refer to the "assemble" task. Is my assumption true that topdownAssemble does NOT support stateful webservice creation?
    Thanks!

    Smok,
    Are you just trying to up your post count?
    My question is NOT about runtime support for stateful services. Nor is it about JDevelopers capabilities to support stateful service. I know that you can develop stateful services using JDeveloper and deploy them into OC4J/SOA Suite.
    My question is about an ANT task called "topdownAssemble" - thats the exact name of the task; and its ability to generate java code out of WSDL for **stateful** webservices.
    Get it now? By the way, I do consider this part of SOA development. So unless you tell me there is better forum for this question, don't be suggesting that it belongs elsewhere.
    Edited by: user645090 on Oct 7, 2008 11:21 AM

  • Top down approach for creating the web services in NWDS 7.1

    I am trying to develop a web service in top down approach.
    1) I created a Dynamic web project.
    2) Created a WSDL File using the WSDL Graphic editor.
    3) Now i am trying to create the Webservice from the WSDL file ,  i am getting the following error
    The SAP Netweaver Web service runtime does not support the service project type Dynamic Web Project.
    How do i created the web service from here on.
    Regards
    ABS

    In NWDS 7.1 i used to create webservice.I followed the process given in sap help.
    steps:
    1.      In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service.
    2.      In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service.
    3.      You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio.
    4.    You deploy the Web service endpoint on the application server.
    Thanks,
    Murthy.

  • Top down approach in developmet of Web services

    I am trying some initial development effort using Jdeveloper 11.1.1.1.0 version. I could successfully develop some samples using the bottom up method.
    Now thinking to go the top down approach.are there any risks/pitfalls in this approach. One question is that the team has a set of XSDs representing the objects we plan to pass as parameters to the web services methods. Is there some way in which we can sync up from XSDs to the generated java classes and if there are any changes done on the java classes can it be transparently reflected to the XSDs (using any of the capabilities of JDev)
    Also can we refer to the XSDs we generated, from the WSDL's so that both are separate and they are independently modifiable.
    It would be great if there is any documentation of the best practices approach for similar use cases.

    In NWDS 7.1 i used to create webservice.I followed the process given in sap help.
    steps:
    1.      In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service.
    2.      In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service.
    3.      You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio.
    4.    You deploy the Web service endpoint on the application server.
    Thanks,
    Murthy.

  • Financial Reportin Studio: Top down reporting, rollup then leaf level

    Hi,
    I am trying to build a report in Hyperion Reporting Studio. I need to build it so that it is a top down report. I am doing this for the Account dimension. For example I want the report to start with Balance Sheet ( our top rollup) then go down to the next rollups Current Assets then go into the third etc. If you have any questions just ask! Thanks so much for your help!
    Thanks,
    Noelle

    Are you wanting to just display all lines in a top down order or do you want a dynamic reports that starts with Balance Sheet, then the user clicks and it goes to Assets?

  • Java top down service

    Hello,
    Any links to java top down service tutorials using JDeveloper 11g?
    Thanks.

    chk here
    http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/10131_wstopdown/wstopdown.htm
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html

  • Hierarchy not getting displayed in BPS top down planning

    HI
    As per our business requirement we have enhanced planning levels 4MP70000 and 4MP80000 to make it as planning function for four quarters. This is working fine as expected but we are facing issues in hierarchy. When implemented from CRM side we are seeing them as indpendent structures and not as hierarchies. Also the constraint that the sum of child node amounts should not exceed the parent node is not getting implemented. We used the hierarchy variable 4MKTHI01.
    Please guide us what could be the issue and any help on this is greatly appreciated.
    Thanks.

    We got the sloution for this:
    We need to make the hierarchy setting and tick the check entry box in top down planning layout. Then this is automatically taken care of.
    Regards
    Sirisha.

  • KE28 Top-down distribution for only part of the Value Field

    Hi Experts,
    We have a situation where we will make manual postings in CO-PA through KE21N. Part of this postings will be at the lowest detailed level and part will be for a more summarized level od characteristics. All the postings will flow to the same value field.
    We need to make a top-down distribution only for the postings that were made in a summarized level, because the other postings already have the details that we need.
    Is it possible?
    Kind Regards
    Mayumi Blak

    Hi Venkata,
    Please note that :-
    you can not distribute to a characteristic that already contains a
    value.  Please see note 77476.  If you want to distribute to eg.
    profit center, then the characteristic must be initial (in the data
    to be distributed).
    In the case where the log showed "number of receivers" but no line
    written is a common problem in transaction KE28 logged by customers.
    One example is that, if the amount of line items is 0.00 for all the
    receivers, no line item will be written.
    No values in reference data:
    If there are no values in reference data for some segments (see the
    log). No records are posted (segments which were distributed, but
    their value is zero i.e. there is no value to be distributed, are not
    posted).
    No initial values in the distribution level (ie. # - non assigned)
    in each of the characteristics in distribution level.
    Kind Regards,
    Abhisek Patnaik,

  • How can I organize a 16 site broschure in landscape DIN lang format? You reed this broschure top-down!

    I tried to create a broschure with 16 sites. Open format of one site is 210x210 Closed format is 210x99. I tried a lot but I beleave Indesign accept only to organise the printarea from left to right. But I need a top-down site oranisation.
    I hope anyone know the answer.
    Thank in advanced

    You have to set up your brochure in portrait!
    You can rotate the view on screen of your spreads in 90° steps during your work. Only one problem remains, the baseline grid is not rotated, but you can use a frame based baseline grid which can be rotated, you can save this baseline grid in object styles.
    Your measures are wrong: Your pages have to have w x h 105mm x 210mm.
    99mm x 210mm is the Zick-Zack-fold from a DIN A4 which is 297/3mm x 210mm, this would be wrong here.

  • How can I call a stateful webservice from a user-defined XPath function?

    I'm calling a stateful webservice from a BPEL process using a PartnerLink which implements Custom Header Handler classes to handle the session state, storing the cookie as a property of the PartnerLink.
    I'd also like to call this same stateful webservice, in the same session, from a user-defined XPath function enabling me to call this from an XSL Transformation.
    Is this in any way possible? Can I access the cookie and attach it to the webservice call made by the user-defined XPath function?

    Actually, as long as the servlet returns valid javascript, you can indeed "call it" from the client. It will initiate a request and return the result to the browser.
    This example uses Perl, but it could be easily modified to go to a servlet instead.
    Note that it is only supported in DOM browsers (IE6+/NN6+/etc)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <html>
    <head>
    <title> Test server-side JS </title>
    </head>
    <body>
    <script type="text/javascript">
    function checkIt(variable, value)
    var newScript = "cgi-bin/validateJS.cgi?"+variable+"="+value;
    var body = document.getElementsByTagName('body').item(0)
    var scriptTag = document.getElementById('loadScript');
    if(scriptTag) body.removeChild(scriptTag);
    script = document.createElement('script');
    script.src = newScript;
         script.type = 'text/javascript';
         script.id = 'loadScript';
         body.appendChild(script)
    </script>
    <p>Test.</p>
    <form id="f1" action="">
    <input type="text" name="t1" id="t1" onChange="checkIt(this.name, this.value)">
    </body>
    </html>
    validateJS.cgi
    #!/opt/x11r6/bin/perl
    use CGI qw(:all);
    my @valArray = split(/=/,$ENV{QUERY_STRING});
    print "Content-type: text/javascript\n\n";
    # myPass is the password
    $myPass = "foobar";
    if ("$valArray[1]" eq "$myPass")
    print "alert(\"Success!!\")";
    else
    print "alert(\"Failure!!\")";

  • Need help with tree edit distance and restricted top-down mapping algorithm

    *This topic was posted a while ago in "java programming" section but was suggested to try here
    Hi everyone,
    A couple of days ago I posted a topic on analyzing structure similarity between two web pages. After some researching, I know I need to work out some tree matching algorithms: tree edit distance algorithm(TED) and a improved version: restricted top-down mapping algorithm(RTDM). TED is about calculating the minimum operation cost(insert, delete, replace) to map one tree into another. RTDM further restricts the 3 operations to only the leaf nodes so as to improve time complexity.
    This is the general idea but I'm having difficulties to find resources to let me understand and implement the algorithms. I'm using ACM portal (Association for Computing Machinery) to access the technical papers but I find that they do not provide enough info, google gives mostly the same technical papers and some websites which illustrate the general idea of these algorithms.
    Hoping that you can give me some guidance on these 2 algorithms. Not looking for codes but I need more details on them. Thanks in advance.

    For scientific research I prefer Scirus: http://www.scirus.com/
    Just two pages I found on a quick search:
    http://arxiv.org/abs/cs/0604037
    http://www.cs.uic.edu/~yzhai/
    The latter might not be exactly what you asked for, but you might be interested in the listed publications. I have not taken a closer look.

  • Is there a bug with stateful WebServices in JDeveloper 10.1.3.1 ?

    Hi
    I created an ultra simple JAX-RPC Webservice from the following class using the JDeveloper WebService Wizard:
    class myWebService
      private static int SessionId;
      public myWebService() {SessionId++;}
      public int getSessionID() {return SessionId;}
    } I declared this WebService as Stateful with Session Scope. The Timeout is 600s;
    Running this WebService in JDeveloper 10.1.3 (using the generated HTML-Testinterface) I see that "getSessionID" returns the same ID on each invocation. Obviously state is managed correctly.
    However, running the same WebService in JDeveloper 10.1.3.1 I see that "getSessionID" returns a different ID on each invocation. Obviously state has been lost.
    Is this a bug in JDeveloper?
    Thanks for your help.
    Frank Brandstetter

    Is anyone using stateful webservices with JDeveloper 10.1.3.1 ?

  • Top-down web service approach with 10.1.2

    We are trying to develop a web service using the top-down approach (from WSDL to Java) in Oracle App Server 10.1.2. The how-to´s we have found use wsa.jar, but this jar is not available in 10.1.2 (it comes with 10.1.3)...
    Can the top-down approach be used in 10.1.2 ?
    How ?
    Thanks in advance
    Fer

    Hello,
    The OracleAS Web Service stack in 10.1.2 does not support the Top Down generation of Web services (generation of the WS from a WSDL).
    Can you move to 10.1.3, if not one migration path is the following, you do use Apache Axis in 10.1.2 to create topodown WS and when moving in 10.1.3 you will be migrating your Axis to the OracleAS Web Service 10.1.3 stack.
    Regards
    Tugdual Grall

Maybe you are looking for

  • My 5 month old Touch battery drains at random times.

    I'm baffled.  My apps running in the background are cleaned up.  I've checked my settings more times than I can count.  It'll be fine sitting on my desk--I'll check it ever so often--and then, usually overnight when I'm not checking it, it'll just dr

  • Function Module for fnding all employees under an Org Unit

    Hi, Is there any Function module to find the employees of an ORG Unit . I need to specify the Org unit Name and get the employees out of it . I looked at the FM HRCM_ORGUNIT_EMPLOYEE_LIST_GET . It has import parameters as OTYP OBJID PATH_ID What valu

  • Transformationstep and error handling

    Hello, SAP library says: Transformationstep -> exception exists for system error -> generated for permanent system error. My idea was: If I have an error in a mapping embedded in a transofrmation step, this should generate a system error which I can

  • Field lengnth is more than 60.....

    Hi Gurus, there is one field VAKEY from KONP table which is having the length is 100, how we can create an info object in BW side? BW will alllow max of 60 length, in this case how we can solve this issue, if any routine is requires please provide me

  • Dreamweaver (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS..."

    I am evauating wether to purchase Dreamweaver CS6... Dreamweaver CS6 trial (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS (explicit encryption)".  I have a NEW Godaddy SSL certificate installed on the IIS server.  On connectin