Results 1 to 2 of 2
  1. #1
    KSBeyaz is offline Member
    Join Date
    Nov 2011
    Posts
    50
    Rep Power
    0

    Default Axis2 Web Service with Database connection

    Hey guys...

    I have android senior project that need database service.

    I have researched that i need web service for my project.

    I have read tutorial and tried some applications.

    I did successfuly axis2 web service that comminicate with android client application.

    But my problem is that i need database methods such as insert,delete update in web service that have connection with my local MS SQL 2008 database server.

    Is there a tutorial for that ? i need help on that things which i dont know how to do

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,091
    Rep Power
    20

    Default Re: Axis2 Web Service with Database connection

    The code your web service uses to "talk" to the database is the same as would be used for any other Java app, that is (probably) JDBC.
    The JDBC tutorial is here.

    All you need to add is a way of turning your data into a query, for INSERT/UPDATE/DELETE type statements, and a way of turning the ResultSet returned by a SELECT statement into your data model. The web service returns the data model.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 0
    Last Post: 09-27-2011, 03:46 PM
  2. Replies: 0
    Last Post: 09-11-2011, 04:34 PM
  3. Replies: 2
    Last Post: 01-18-2011, 10:19 AM
  4. web service database help
    By fiqueudrue in forum New To Java
    Replies: 3
    Last Post: 01-23-2009, 02:43 PM
  5. Creating a web service from database
    By fiqueudrue in forum NetBeans
    Replies: 8
    Last Post: 01-19-2009, 06:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •