Webservices with Database interaction

Hi,
I am new to Web Services.
I have a requirement to retrieve database records using web services.
I am uisng Tomcat and JWSDP or AXIS
Thanks

Sorry, but for some reasons the way you formulated this question really demotivates me to give any help.
Please ask questions the smart way: [http://www.catb.org/~esr/faqs/smart-questions.html].

Similar Messages

  • Webservice with Database access

    Hi all,
    I have a requirement in which my client will send some data through webservice and i will store that in oracle database, i want to know best approach to handle this. Following are some approches
    1- Develop webservice with EJB back
    2- Develop webservice with POJO back
    3- Develop webservice with service lifecycle and get datsoource/connection from servicelifecycle implementation
    4- Deavelop a webservice with DAO class and initialize DAO in constructor of webservice
    Please recommend wich approach will be better, please also suggest any other approach.
    Regards,
    imran

    I think the best approach is to keep your web service layer isolated from the data access layer. Hence i would create a business service or business delegate kind of layer which will be called from web service. Business service then calls the DAO methods. For data access layer you have multiple choice of using hibernate, JPA, JDBC, etc based on your requirement. I would prefer to use some sort of dependency injection for injecting the objects in various layers.
    Hope this helps.
    Divyesh

  • Problem consuming a webservice with Adobe Interactive Form

    Hello
    everyone
    I make a Web Service based on a function in ABAP (RFC) when I try to create the data connection in Adobe form, an error is displayed. "there is no associated SOAP binding"
    Can anyone tell me how can I modify the WSDL so that it can be read by Adobe
    Best Regards
    Leonardo Vásquez

    You need to use SOAMANAGER transaction , search for your Web Service and then download the WSDL from there.
    Chintan

  • Ivr interaction with database

    How IVR interact with database. Any idea?
    I mean to say mechanism it follows to populate data using IVR system for inbound and outbound calls.

    AnkitAshokAggarwal wrote:
    How IVR interact with database. Any idea?
    I mean to say mechanism it follows to populate data using IVR system for inbound and outbound calls.
    SQL  is the only mechanism to populate data using IVR system for inbound and outbound calls.

  • Using cfform to interact with databases

    hi there, I am just trying to get ito using the cfform tag,
    and I thought it would be as easy to do insert into table ect using
    server behaviours, but clearly not! could somebody point me the
    right direction of some good tutorials please, to show me how to do
    all the wonderful interaction with Databases that I have been able
    to do with normal dreamweaver html forms...
    Many thanks

    I have found that <cfform> is a bit of a pain. I prefer
    using the standard <form>
    and writing the SQL myself. Much cleaner!
    <cfquery ...
    INSERT INTO t_someTable
    (column1, column2)
    VALUES
    '#trim(form.field1)#',
    '#trim(form.field2)#',
    </cfquery>

  • Query regarding XI interaction with database

    Hi all,
    I have got the Oracle database and SAP R/3 system
    Is it possible that through JDBC adapter ,
    a) Direct fetching of data from database
    b) Data should come in XI and after mapping should be  
        posted in SAP R/3 .i.e complete automated process
    c) Is it possible to put direct query statement in XI
        while connection with database through JDBC adapter
        E.g For fetching the vendor data from database
        Select * from .... 
    Thanks in advance
    Shikha Jain

    Shikha,
    <i>a) Direct fetching of data from database</i>
    In the JDBC Sender adapter you have to mention the SQL Query.
    <i>b) Data should come in XI and after mapping should be
    posted in SAP R/3 .i.e complete automated process</i>
    This is what XI does. There is no manual intervention needed.
    <i>c) Is it possible to put direct query statement in XI
    while connection with database through JDBC adapter
    E.g For fetching the vendor data from database
    Select * from ....</i>
    your question a is same. You can execute a SQL statement in the Adapter which polls the database in the intervals you mention. It could be a SELECT or EXEC PROC etc.
    regards
    Shravan

  • CMP Entity Bean with database specific features

    Hi there,
    I�m studying Entity Beans and I'm doing some experiences with SQL Server.
    At first, I built a CMP Bean and marked in deploytool to create the tables. Ok, it worked.
    Now, I'm trying to interact to an existent database. But, I got a problem: the primary key is defined by the Server. I can read it and I can remove entries. But, when I try to insert some entry, I can't pass the key in SQL statement. I edited the generated statement to do it, but it doesn't work. I get a RollbackException.
    My question is: is it possible to do what I'm intending to do with CMP? What am I doing wrong?
    Do you think that, to do this, I should use BMP Entity beans?
    Thanks in advance,
    Anicio

    "CMP provides you with database independence and less coding efforts."
    BMP is not database dependent, unless you invoke database specific things in your SQL (something I do not do). CMP on the otherhand is inherently appserver specific (which was it's goal when BEA, IBM, et al. came up with it), and still limits your design possibilities. See this thread for an example:
    http://forum.java.sun.com/thread.jsp?forum=13&thread=318785
    As for less coding effort, that is a relative statment. Yes a simple CMP bean requires less coding to develop the first time. I personally view a few lines of SQL to load and store the data as being fairly trivial. But that needs to be offset with the problems inherent in using appserver specific CMP implementations.
    As an example, try mapping WebSphere CMP to a pre-existing database without using IBM's IDE. It's an incredible pain in the ass since WebSphere does not come with a "meet-in-the-middle" solution. Any J2EE developer that has had the experience of working with different appservers (especially if they have had to port an app, as I have) can attest to the complications that arise with each implementation.
    A BMP bean, written with non-DB-specific SQL, is the most portable, most flexible approach to EntityBeans. Yes, it requires the developer to be able to write some SQL, which should not take a significant amout of time. WRT queries, you have to write them, either SQL, EQL, or some appserver specific format.
    As an aside, the use of code generators to simplify the creation of EJBs lends itself well to BMP. By using a (or writing your own) code generator, you can mitigate the annoying SQL bugs that creep up early in development.

  • EAI is just about  WS and database interaction or WS and What

    Salut,
    I want a straightforward answer for this question
    EAI: is it about WS and legacy database interaction or what ?

    Hello,
    Have you take a look to BPEL (Business Process Execution Language) that is a language that use Web Services to define your business process.
    Take a look to the BPEL page on OTN and you will learn about what can WS give you in term of EAI. For example Oracle Application server with its adaptor based on JCA allow you to publish this JCA information as Web Service so you can leverage any legacy system...
    - BPEL Page
    Regards
    Tugdual Grall

  • J2sdk1.4 takes higher response time in database interaction than jdk1.3

    Hi All
    I am working on performance issues regarding response time . i have upgraded my system from jdk1.3 to j2sdk1.4 . I was expecting the performance gain in terms of response time in j2sdk1.4. but to my surprise it shows varied results with my application. it shows that j2sdk1.4 is taking higher time for executing the application when it has to deal with database. I am using oracle 9i as the backend database server.
    if any body has the idea about, why j2sdk1.4 is showing higher responce time while interacting with database as compare to jdk1.3. then do let me know this.
    Thanx in advance

    Hi All
    I am working on performance issues regarding response time . i have upgraded my system from jdk1.3 to j2sdk1.4 . I was expecting the performance gain in terms of response time in j2sdk1.4. but to my surprise it shows varied results with my application. it shows that j2sdk1.4 is taking higher time for executing the application when it has to deal with database. I am using oracle 9i as the backend database server.
    if any body has the idea about, why j2sdk1.4 is showing higher responce time while interacting with database as compare to jdk1.3. then do let me know this.
    Thanx in advance

  • Call secure RestFul WebService with basic authorization via https

    Hi,
    is there a way to call a secure RestFul WebService with basic authorization via https from APEX?
    Database: Oracle 11g XE
    APEX: 4.2.1
    I have a solution by calling the WebService from Java which was called from the database via scheduled job (execute).
    As my hosting partner does not support Java I am looking for another option.
    Regards
    Markus

    Hi,
    I think its not possible, in this link you can find in more detail why.
    Its related with the use of wallets to acess https requests.
    http://www.apexninjas.com/blog/2011/06/https-access-with-utl_http-on-oracle-xe-has-anyone-managed-to-do-this/
    Edit: Because you are using Oracle XE
    Edited by: carlos.pereira on Jan 23, 2013 6:15 PM

  • Add management server: Setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0

    I want to add another management server to our existing SCOM environment. But whenever I run this setup on a new server I get stuck in the window for selecting the OperationsManager database. The database field stays blank and in the OpsMgrSetupWizard log
    there are lines that the setup version is not compatible with the database version. But I use the same installer as when I installed the other management servers a year ago.
    Maybe there is a newer setup installer? But I can't find it.
    [10:42:54]: Error:
    :Error:setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Info:
    :Info:isOMDatabase:  Read returned true.  so far, this is OM DB, not an empty DB
    [10:42:54]: Debug:
    :Connection was not open.  We will try to open it.
    [10:42:54]: Debug:
    :SqlConnectionReady returned True.
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Info:
    :Info:isOMDatabase:  Read did not return true.  The MG is missing. This is not OM DB
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Always:
    :Azman store table not found in OperationsManagerDW table, assuming this is an not a valid OMDB for empty DB scenario.
    [10:42:54]: Info:
    :Info:DatabaseConfigurationPage: DB connection attempt completed.
    [10:42:54]: Info:
    :Info:DatabaseConfigurationPage: DB connection attempt completed.

    Never mind, found it!
    Apparently there was a newer version of SCOM setup in msdn and someone upgraded our existing SCOM environment. Downloaded the new setup, new report viewer controls and a System
    CLR Types for Microsoft® SQL Server® 2012 and now it works!! 

  • UDI-00018: Data Pump client is incompatible with database version 11.2.0.1

    Hi
    I am trying to import data in Oracle 11g Release2(11.2.0.1) using impdp utitlity and getting below errror
    UDI-00018: Data Pump client is incompatible with database version 11.2.0.1.0
    Export dump has taken in database with oracle 11g Release 1(11.1.0.7.0) and I am trying to import in higher version of the database. Is there any parameter I have to set to avoid this error?

    AUTHSTATE=compat
    A__z=! LOGNAME
    CLASSPATH=/app/oracle/11.2.0/jlib:.
    HOME=/home/oracle
    LANG=C
    LC__FASTMSG=true
    LD_LIBRARY_PATH=/app/oracle/11.2.0/lib:/app/oracle/11.2.0/network/lib:.
    LIBPATH=/app/oracle/11.2.0/JDK/JRE/BIN:/app/oracle/11.2.0/jdk/jre/bin/classic:/app/oracle/11.2.0/lib32
    LOCPATH=/usr/lib/nls/loc
    LOGIN=oracle
    LOGNAME=oracle
    MAIL=/usr/spool/mail/oracle
    MAILMSG=[YOU HAVE NEW MAIL]
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    NLS_DATE_FORMAT=DD-MON-RRRR HH24:MI:SS
    ODMDIR=/etc/objrepos
    ORACLE_BASE=/app/oracle
    ORACLE_HOME=/app/oracle/11.2.0
    ORACLE_SID=AMT6
    ORACLE_TERM=xterm
    ORA_NLS33=/app/oracle/11.2.0/nls/data
    PATH=/app/oracle/11.2.0/bin:.:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.:/usr/local/bin:/usr/ccs/bin
    PS1=nbsud01[$PWD]:($ORACLE_SID)>
    PWD=/nbsiar/nbimp
    SHELL=/usr/bin/ksh
    SHLIB_PATH=/app/oracle/11.2.0/lib:/usr/lib
    TERM=xterm
    TZ=Europe/London
    USER=oracle
    _=/usr/bin/env

  • Problem when adding ABAP custom webservice with Visual Studio 2010

    Hi All,
    After creating a webservice for a custom RFC function developed in a ECC6.0 SAP machine, I tried to add it to a Visual Studio 2010 windows aplication (through a web reference connection).
    The sequence I've done is:
    - Create RFC in ABAP, with testing ok
    - Create a WEBSERVICE with the ABAP editor
    - Configured the webservice with SICF with:
         Procedure: Standard
         Logon data: standard R3 user
         Security requirement: Standard
         Authentication: Standard SAP User
    Then, in SOAMANAGER I copied the webservice URL and tried to add it to Visual Studio 2010, but it keeps asking me the user and password. I try to supply the R3 username and password but if fails.
    Why is ECC6.0 asking the user and passord if I've defined a SAP user for the login process?
    Is there any way to disable this?
    Thanks,
    Manuel Dias

    Hello Manuel,
    You can use the following code:
    CredentialCache cache = new CredentialCache();
          cache.Add(new Uri("WEBSERVICEURL:PORTNUMBER/"), "Basic", new NetworkCredential("USERNAME", "PASSWORD"));
    SAP needs a password.
    Kind regards,
    JK

  • EXP-00037: Export views not compatible with database version

    kindly help with this error. We have already run catexp.sql but still that is not helping, we are still getting the same error.
    we are exporting 8i db.
    Export: Release 8.1.7.0.0 - Production on Thu Feb 21 14:34:25 2008
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    EXP-00037: Export views not compatible with database version
    EXP-00000: Export terminated unsuccessfully

    Does this apply to you?
    Error: EXP 37
    Text: Export views not compatible with database version
    Cause: The Export utility is at a higher version than the database version
    and is thereby incompatible.
    Action: Use the same version of Export utility as the database.

  • XML error when Crystal report calling Webservice with Rampart (ws-security)

    Could you please advise me where I am doing wrong -
    I have designed the report using CR 2008 following a SAP document instructions but getting error. -
    1. Created a Class file and put it in the class folder -
    public class PasswordHandler implements CallbackHandler { public void handle(Callback[] callbacks) throws IOException,UnsupportedCallbackException { for (int i = 0; i < callbacks.length; i++) { WSPasswordCallback pwcb = (WSPasswordCallback)callbacks<i>; pwcb.setPassword("clientPassword"); return; } } -
    2. created wse_policy.xml with below content clientName com.rockalltech.action.reports.PasswordHandler -
    3.Also modified CRConfig.xml with below data com.PasswordHandler -
    Still I am getting Rampart error like below -
    [2009-06-02 18:04:26,977,,FATAL,com.crystaldecisions.data.xml] org.apache.axis2.AxisFault: org.apache.rampart.Rampart at org.apache.axis2.deployment.URLBasedAxisConfigurator.getAxisConfiguration(URLBasedAxisConfigurator.java:77) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(ConfigurationContextFactory.java:190) at com.crystaldecisions.data.xml.a.b.a(Unknown Source) at com.crystaldecisions.data.xml.a.a.a(Unknown Source) at com.crystaldecisions.data.xml.f.a(Unknown Source) at com.crystaldecisions.data.xml.f.int(Unknown Source) at com.crystaldecisions.data.xml.CRDB_XMLImpl.DbExecuteQuery(Unknown Source) at com.crystaldecisions.reports.queryengine.driverImpl.xml.XMLQueryDefinition.Execute(Unknown Source) Thomas Edited by: thomasjv on Jun 2, 2009 7:15 PM Edited by: thomasjv on Jun 3, 2009 10:45 AM Edited by: thomasjv on Jun 3, 2009 10:45 AM Edited by: thomasjv on Jun 3, 2009 10:46 AM

    Hi!
    Thanks for the help:
    - I give all proxy details. In HTTP and HTTPS proxy tabs too.
    one interesting thing:
    - We publicate the same WebService with HTTP and HTTPS prefix.
    - If I create a proxy for the WS with HTTP, everything is correct and works well.
    - If I create a proxy for the WS with HTTPS, gives the error written the previous posts. (And can't create the logical port with SOAMANAGER)
    I compare the 2 WSDL. It is the same, except the links. (HTTP and HTTPS) all others are same.
    - And why it is possible in both case (HTTP, HTTPS) to create the proxy with SE80 from the WSDL URL? (And after the logical port was failed)

Maybe you are looking for

  • Creative Cloud Packager 1.2 Builds error on Install...

    As I posted in this thread, with no resolution, I am running into issues with Creative Cloud Packager 1.2 Builds. The builds create fine, the applications install fine (when you unpack and rename the Set-up.dat to Set-up.exe), however trying to run t

  • Books on iPad not shown under iPad tab in iTunes

    For some reason existing ebooks on my iPad mini are not visible under the "Books" sidebar entry inside iTunes, under the "On This iPad" tab. I can add books to iBooks on the iPad by dragging them to the iPad icon inside iTunes, and the books transfer

  • Help! My main content has moved outside of my page and ruined every other page in the site....

    I am new at using dw and building sites and now I came accross a problem that I can't figure out. I was going to add new content to one of my pages in my site and this happened above. I quickly exited before saving and when I reopened the file it rem

  • Is it possible to authenticate the SAP GUI user against LDAP ( no SSO )

    Hi I was under the impression that you can user LDAP to authenticate your SAP GUI user . ( so users do not have to maintain and remember multiple passwords ).. However - note #603208  claims that this is not possible. This is quite an old note , is t

  • Fact to Fact linkage thru a map table

    Hi, I have a situation where in two fact tables are linked thru an intermediate map table. The purpose of doing so was to facilitatie an n:n relationship between f1 and f2. So this map table essentially has 3 columns viz pk, f1 key, f2 key. f1 and f2