Can Web services be Stateful?

Hello,
Enterprise Services can be stateful. Can this principle apply to web services also?
Can anyone elaborate on this aspect.
Thanks.
Regards,
Gajendra.

Hi,
look at this article: <a href="http://xml.coverpages.org/statefulWebServices.html">Stateful Web Services</a>
Regards,
Boris

Similar Messages

  • Can Web Services be synchronized

    Can Web services be synchronized ?
    Regards
    Dheeraj

    applications/modules can be developed to access a database, which can then be exposed as a WebService. So I guess the answer is yes. If you use a mapping framework, abstract it with EJB, or use DAO/JDBC and stick to a SQL command set common to all the databases you want to use, it could also be portable.
    Example of a Web Service for JBoss? -- see jboss.org I'd expect.
    The Oracle Database Web Service chapter in the Web Services documentation provides a good insight into some of the capabilities we have with Oracle Application Server to talk directly to an Oracle database.
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/devdbase.htm#BDCCBHFG
    -steve-

  • Web Service from stateful Session Bean deleted after server restart

    Hi,
    i created a stateful session bean and from this a web service.
    I am able to deploy it and it works really fine.
    My problem is: after a server restart the web service is gone and i
    have to deploy it again.
    I have some other web services (but these are web services from stateless session beans)
    but they "survive" the server restart.
    I don't want to deploy the web service after every server restart, did I forget something or
    is it a general problem of stateful session beans or web services?
    Thanks in advance
    Jens

    Hello Björn,
    I am not quite sure what your problem is but did you have a look at these articles:
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/993441c73cef23e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/be/2e2c4142aef623e10000000a155106/frameset.htm
    I hope they can give you some idea.
    Regads
    Vyara

  • Can Web Service Consumption in SAP CRM 7.0 handle multiple records

    Hi All,
    I have a requirement where in I need to Consume a web service in SAP CRM. The response of the web service will have multiple records.
    My questions is will Web Service Consumption in SAP CRM 7.0 be able to handle these records in a popup or not.
    I would like to know whether it is feasible or not.
    Thanks,
    Deepika

    Hi Kavita,
    There is a standard column in UWL with name 'Sent Date'. Other functionalities in UWL for example deadline monitoring (Due date column) are based on this sent date. This shows an employee what was the date workitem was created (sent date) and when it will get escalated (due date). Displaying forwarding date in Sent date will not give clear picture to employee as the deadline will be calculated based on sent date only not based on forwarding date. this was just an example.
    even though if your client is insisting, i dont think it can be done without any enhancement in UWL web dynpro com sort of thing. you can check with your portal consultant too.
    Regards,
    Ibrahim

  • (266436851) Q: WWSD-7 Can web service be in packages other than .ear files?

    Q:<WWSD-7> Could we deploy the SOAP package not using the ear, instead could we
    put all the related Java code to jar file and the rest of the code to the war
    files? The reason I asked is because we do not deploy our applciation in ear format.
    A:<WWSD-7> EAR files are general packaging structures that can contain war, EJB
    jar, rar and regular jar files. The wsgen task provided expects an output file
    to be an ear file. If you are going to utilize another format you will be resonpsible
    for building the appropriate web application components. It can be done but you
    will have to do more work and not use the provided wsgen task. As far as web services
    in general are concerned, the actual business processing can be done by any component
    just as long as there is a servlet that understands the SOAP requests and responses.
    It is BEA expectation that EJBs are supposed to be you core business components
    so these will be the operations most likely to be exposed as web srevices.

    Hello Erik,
    I was looking into the thread , it seems you have found out the solution .
    Could you look into this thread and provide some insight for the same ? I am currently facing the problem as mentioned in the link below.
    CAF-EJB
    Regards,
    Ronniee

  • Can web service schema loading again by flex once it is failed ?

    Hello,
    I used cairngorm architecture and in that i used webservice.
    I show that service controller / flex load wsdl schema first in webservice object.
    Once loading is finished flex can use this schema to call the webservice function.
    I have one question is it . If some how during wsdl schema loading any error is occured then can flex loading again this schema ?
    Thanksl
    Mohit

    Hue sud.. Thanks for your answer.
    In fact I did saw this tutorial and I decided to make it work today. Which in fact I did, but got in trouble with a bunch of libraries. Now I do have my java classes in the database with their java sources. The tutorial also says to create a procedure since its static the way to call the class. The procedure creates sucessfully. But now I got the problem when I try to execute my procedure I get this error:
    04:11:45 p.m. ORA-29532: Java call terminated by uncaught Java exception: java.lang.IncompatibleClassChangeError
    04:11:45 p.m. ORA-06512: at "AMES_JAVA.MAIN", line 1
    04:11:45 p.m. ORA-06512: at line 5
    Do you know how to execute the procedure from the database once is up? I also tried creating a function but got the same result

  • Stateful Web Services: how to free session after commit?

    Hello,
    We're developing an interface via web services to DM5.
    The web services are stateful, so we can handle BAPI_TRANSACTION_COMMIT/ROLLBACK.
    Apparently the web service session is not freed after the call to BAPI_TRANSACTION_COMMIT/ROLLBACK. This is visible in a test that sends 100 operations very quicly, the app server stops responding after the first 90 calls (actually the server starts responding a void text/xml). After a while (I guess after some http sessions are available after timeout), the server starts responding again.
    Our assumption was that commiting the transaction would free the corresponding session, but it looks like this is not the case...
    Do you have any clues on that? Timeout is the only way to free a web service session?
    Thank you
    Regards

    Hi,
    Please refer the below article and browse code.
    http://code.msdn.microsoft.com/Remote-Authentication-in-b7b6f43c
    Thanks,
    Srikanth

  • Web service is running but Server Admin says "Not available"

    Hello,
    I cannot configure the web service using the Server Admin tool any more. The service is running and showing no error, but the "Web" icon in the "Computer & Services" panel of Server Admin is showing dark grey color. The Overview tab of the Web Service is stating: "Web Service is: Not available"
    Any ideas what I can do to get it work again?
    sudo apachectl configtest gave no errors or warnings.
      Mac OS X (10.4.7)  

    You should not be logging in as root, despite what anyone has told you.
    And the entire mechanism of OS X Server (and most other *nix OS-en), is meant for you to not be logged in as root.
    Use sudo and/or authenticate in the GUI when/where needed.
    Please try Wesley's advise here:
    http://discussions.apple.com/thread.jspa?messageID=2862670
    Try launching apache manually, and watch your logs
    Ie:
    in one terminal window, type:
    tail -f /var/log/httpd/error_log
    make a new Terminal window and type:
    sudo apachectl start

  • DO Web Service allow you to retrieve data from database and make it pluggab

    Can Web Services allo you to retrieve data from the database and do they make the pluggable by allow you to plug them into any database.. how is that possible....

    Going through the javaee tutorial is one sure way of accelerating your learning curve, as almost every basic you will need to get your job done is explaiined well in there. i have been using it to learn building enterprise application and is awesome good resource.
    seriously consider downloading it
    java.sun.com/javaee/5/docs/tutorial/doc/

  • Web Services on TCP

    Hi,
    Can web services be invoked only using TCP, without going through the internet?
    Elaborating :
    1. Suppose I have two systems, with one hosting a web service & another being the consumer - If the consumer has the endpoint location of the service, does it still have to go through the internet to invoke the web service?
    2. If no, then does it imply that a consumer on the same Local Area Network(LAN) has faster access to the webservice than the one that is accessing the service through the internet and is miles away?
    I am new to web services, require help in better understanding this technology.
    Thanks,
    Niranjan
    Some more clarification:
    3. I understand that WSIF can be used to invoke webservices locally on the same JVM. Can WSIF be used to invoke a web service on a different system on the LAN?
    4. If yes, can can WSIF be used to invoke any kind of web service - .Net webservice, EJB, legacy apps, etc?
    Message was edited by:
    Niranjan

    Hi,
    if your webservice runs in a different java vm (different oc4j) the request will not leave your machine.
    If you run the webservice on the same oc4j the call will be done via rmi and not via tcp.

  • Calling a WebLogic web service from a WebLogic web application

    We would like to call a WebLogic web service from WebLogic web application. The current architecture looks like:
    LoadBalancer--->iPlanet-1/iPlanet-2--->Firewall--->WebLogic-AppServer-1/WebLogic-AppServer-2
    The web application and web service are in the same WebLogic cluster. We would prefer that the web services do not get published externally.
    Does the WebLogic web application need to make a call back outside the firewall to the load balancer?
    Is there a way the web services can be called locally with load balancing?
    Can web service calls be made over the t3 protocol?
    Thanks,
    Mike

    I think one solution is to use a Java proxy to call the Web services.
    In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
    Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
    (For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )

  • SSL certificates and Web Services Usage inside Oracle Database Questions!

    We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
    Service1 is already working, and we can call the service from PL/SQL without troubles.
    However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
    Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
         - SSL Certificates:
    1- Can installed certificates in the Database put in risk the stability of the database?
              2- Can installed certificates in the Database generate performance issues?
              3- Can installed certificates reloading the Databases?
              2- Can installed certificates in the Database generate security issues?
         - Web services:
    1- Can web services calling from the Database put in risk the stability of the database?
    2- Can web services calling from the Database generate performance issues?
    3- Can web services calling from the Database generate security issues in the DMZ?
    Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
    Those are the links describing the procedure mentioned above.
    1 -http://www.kotti.es/2009/11/oracle-wallet/
    DB: Oracle 9i.
    Average number of lines in file: 300
    Periodicity: Twice at day.

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • Web Services for ECC 5.0 .

    Hi ,
    I' m new to Web Services in a ECC 5.0 , where do I start ? Any documentation, or web link will be usefull , Thank you .
    Also, can Web Services in ECC 5.0 be done "inside" SAP , like in SE80 ?
    Or do we have to have Java NWDI ?
    The base idea here is to have a "shop" on the Web (Not being SAP), and to use WebServices to Check Stock, Create Orders , Order Status , ... .
    Regard's

    Hi Christophe,
       Yes Webservices can be done in SAP using SE80. To start with you can follow the inside out approach . For this you need an RFC enabled FM or a BAPI which you can readily convert into a webservice . Just go to SE80 look for your RFC or BAPI , Right Click and select Create Webservice from the menu . The resulting wizard will help you with the rest. For more info pls refer to this link. Very useful for people who are totally new to webservices.
    <https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9>.
    Best Regards, Girish
    PS: Reward points if you are happy with the reply

  • Need help calling stateful web service from BPEL 10.1.3.1

    I found the tutorial located at http://www.oracle.com/technology/products/ias/bpel/htdocs/callingstatefulwsfrombpel.html which talks about how to call a stateful web service, it is also mentioned on Clemens Utschig's SOA blog.
    The problem is that the code for the handlers will not compile as given under 10.1.3.1 -- it seems that the method signature for the invoke method has changed in the interface com.collaxa.cube.ws.HeaderHandler
    Has anyone gotten this to work in 10.1.3.1 or can anyone give me a tip on how to call a stateful web service in a different manner from BPEL?
    Thanks!

    Hi,
    'm trying to call a username/password secured service,
    with
    <property name="basicHeaders">credentials</property>
    <property name="basicUsername">username</property>
    <property name="basicPassword">password</property>
    But getting the following exception,
    FAIL :: Cause : :exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Bad Set-Cookie header: JSESSIONID_twos=Lf1VTn7Q5KG5PhtJlGjTTM0nhhJ5FLyR51zZJLLBGfVs04VY8fmv!-728969536; domain=wosdev; path=/; secure=true, WLAUTHCOOKIE_JSESSIONID_btwosfportal=ZHfuVwF5kudqtHEoR6Ap; path=/; secure Expected ';' or ',' at position 131:
    Kindly help!
    Thanks,
    ChandraMouli
    Edited by: user13110451 on Sep 8, 2011 5:52 AM

  • Consuming stateful web service via ABAP proxy

    Hi all,
    I´ve got the following scenario. I´ve a ABAP proxy generated based on a WSDL file. The provider is a WebService provided by a tomcat server. (no PI etc. as middleware). The problem i´ve now is that the webservice is stateful so I need a stateful communication between my ABAP report (client) and the Web Service.
    I´ve already found the possibiliy to switch on the feature "Session-Oriented Communication" on "Preconfiguration Tab" of the ABAP Proxy Screen. But unfortunately it´s not working.
    Anybody knows whether general system settings has to be changed for this. Or anybody has other tips.
    I´m currentliy working on the SAP Discovery System v3 which is a Netweaver 7.0.
    Many thanks in advance for your answers,
    Andy

    Marcelo  Almeida wrote:
    > You can use Logial port for it in LPCONFIG ( Transaction). See this examplo Below:
    >
    > TRY.
    >
    > CREATE OBJECT my_proxy
    > EXPORTING
    > logical_port_name = 'LP01'.
    > CATCH cx_ai_system_fault.
    > ENDTRY.
    >
    > TRY.
    > input-airline_id = p_carrid.
    > input-connection_id = p_connid.
    > input-flight_date = p_fldate.
    >
    > CALL METHOD my_proxy->flight_get_detail
    > EXPORTING
    > input = input
    > IMPORTING
    > output = output.
    > CATCH cx_ai_system_fault.
    > CATCH cx_ai_application_fault.
    > ENTRY.
    >
    > Its necessary create a connection in SM59 (type H) and setting in the call parameters logical port (LPCONFIG).
    Hi,
    thanks for your answer. It´s working!
    Cheers,
    Andy

Maybe you are looking for

  • Automatic Clearing in F.13 post differences

    Hi, Presently, we run automatic clearing of g/ls/vendors/customers in F.13. There are no tolerances, only balances that equal nil post. We now have a scenario that for one particular G/L we want to set a tolerance of say £0.50p that would post to ano

  • Why is this message showing up on ALL sites I want to use?

    when I go to bookmarks or click on web address this message always pop up. I can't get this to stop even when I dis able the yahoo from being active. So how do I get this fixed or repaired? Server not found Firefox can't find the server at signin.eba

  • Prepared/Active state for a Resource adatper.

    Hi All, I am deploying a resource adapter and as soon as the adapter is deployed, though the weblogic page shows it to be in "Prepared" state but it gets started. If I click on the "Start" button and the weblogic page shows it to be in "Active" state

  • VM Bug?

    I'm getting a monitor block in the VM at a place in my code where there are no monitors! It's possible that hotspot is just confused about the stack somehow, but the traceback below shows another curious thing... the thread stack shows that monitor 0

  • How do I stop running programs.

    I am using my Imac for recording purpose so I would like to stop the programs which are not needed.that may be running in the background.On my pc I go to the tak manager & find what is running.Is there a task manager type thing where I can go & stop