Results 1 to 2 of 2
- 12-07-2012, 11:06 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 50
- Rep Power
- 0
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
- 12-10-2012, 12:01 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
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
-
Problem: Sending JSON messages to a SOAP Web service using Axis2
By hans_dc in forum Advanced JavaReplies: 0Last Post: 09-27-2011, 04:46 PM -
Netbeans axis2 java web service: Results not shown with input variable in URL
By wk3000sg in forum Advanced JavaReplies: 0Last Post: 09-11-2011, 05:34 PM -
Problem with Axis2 and JSON when calling web service in javascript
By pista in forum Advanced JavaReplies: 2Last Post: 01-18-2011, 11:19 AM -
web service database help
By fiqueudrue in forum New To JavaReplies: 3Last Post: 01-23-2009, 03:43 PM -
Creating a web service from database
By fiqueudrue in forum NetBeansReplies: 8Last Post: 01-19-2009, 07:22 AM
Bookmarks