473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

access database records to web service

171 100+
Hi
I have an access database (2007) for managing staff leave. I would like to connect it to our web service and send the records and get response from the web service back.
Can anyone suggest or guide me how to achieve this.
May 16 '14 #1
23 4156
zmbd
5,501 Expert Mod 4TB
This is very difficult to do depending on your situation.
You will have to work very closely with your IT department once you have everything in place.

Please use the search next to the bytes logo (or just to the left of the orange magnifying glass):
access zmbd web database

and again
access zmbd publish

and this link:
http://bytes.com/topic/access/insigh...ccess-data-web KEEP IN MIND: Data access pages support has been depreciated as of ACC2010 and completely removed in ACC2013.

http://bytes.com/topic/access/answer...atabase-online is where this has progressed.
May 16 '14 #2
rajeevs
171 100+
Dear zmbd
Thank you for the reply.My IT will be providing the web service and other requirements related to the web. I like to know that after generating my recordset from ACCESS how can I transfer that to the web service. What is the easiest way? Is there any VB code can do this transfer of records from ACCESS to the web application?
Basically the data in ACCESS is staff leave and we need to transfer those records to the web service and update. Hope I have explained about my issue. Please guide me
May 17 '14 #3
zmbd
5,501 Expert Mod 4TB
I would go with a hybrid share-point

What I mean by that is that most of your actual work is handled by the Access program. You Design a few very basic forms and tables to handle the Lists within the Share-Point server.

This is what I've done.
1) Decided on what I really needed from the share-point side of the interface... in the most simplistic terms

2) Used the web-database template (ACC2010, I've not used ACC2007 so I'm guessing that this is fairly much the same) and developed the most basic forms and tables that I could.
2a)(We have a person on site that mainly handles Share-Point development. Often, I can simply design the front-end with the look and feel that I need and he can translate this fairly much from the Share-Point developer's side and I need only link into the lists once done).

3) Started development of my "Normal" database with a split back-end and then add links to the share-point tables.

Moving data between the linked tables is no different than any other data movement.

Introduction to integrating data between Access and a SharePoint site

This is for ACC2010 and some of this may not be available in ACC2007 but you should know about this too: Edit or publish a web database on SharePoint 2010 (note the applies to ACC2013 tag, that's a recent change to this page so I suspect this will also apply in ACC2013)

Things to keep in mind:
- Forms and reports that are developed for Share-Point do not support VBA and support only a very limited set of the Access Macro language.
- Share-Point does not support table relationships. The work-around is to use the most hated look-up-field wizard and create look-up fields at the table level.
(I try to avoid this; however, it often can't be avoided)

Some other things:

Ways to share an Access database (ACC2007)


Publish a database to a SharePoint site (ACC2007)

Finally:
Do not use the older MDB file format to try and workaround the removal of Data Access Pages (url=http://office.microsoft.com/en-us/access-help/what-happened-to-data-access-pages-HA010030832.aspx]What Happened to Data Access Pages[/url]
There is no effective support in ACC2007/ACC2010 and they cannot even be opened in ACC2013 without a major hack.
May 17 '14 #4
rajeevs
171 100+
Thank you for the detailed reply. But my problem is not to share the data or datbase. I need to send the records to an existing web service (which manages the staff leave.
So in other words I will populates the records from ACCESS and upload that to a web application. Hope I explained well
May 18 '14 #5
zmbd
5,501 Expert Mod 4TB
ah... a much different beast than what I thought you were talking about.

My advise there is to talk with the database administrator with your provider. However, most likely a text file export will be the option. Without a lot very detailed information from your provider we'll not be able to help you... and I highly doubt they will want to release that kind of information to a public forum.

Something else, Plain text files scare me a tad so I would look at sending it encrypted.
May 18 '14 #6
rajeevs
171 100+
Dear zmbd
Yes. The concept is sending or transfer the query results to the web application. The access database will produce the result recordset. I want to transfer the recordset to the web application. I will have the username and password to access the web service and the web service will be able to receive the data and store the data. In return the web service will send a response for each record processed.I can provide the structure of the recordset which the database produces and expected string return from the web
May 19 '14 #7
zmbd
5,501 Expert Mod 4TB
You will still have to talk with your service provider as to how/what files they will allow and what protocols they allow, usually a FTP transfer. If this is sensitive information then I would also be inquiring about secure transfers with your provider.

As for directly linking over the interner...AFAIK: only via SharePoint (and that's iffy) or a VPN services, once again, this is provider specific. The base point here being that otherwise, Access isn't intended to operate directly over the internet.
May 19 '14 #8
rajeevs
171 100+
Thank you zmbd
I have only a logical thinking about this issue. I was reading lot of posts over the internet about web service and transfer of access recordset. Now my first question is how can we transfer a TXT or XML file to a web application if we have access to the web application? Secondly how much coding is required. I thought it would be possible by VBA or some kind of scripting. Hope you understand my scenario.
May 19 '14 #9
zmbd
5,501 Expert Mod 4TB
rajeevs
Until you contact your service provider and we have some more details, there is nothing more I can help you with.

Perhaps someone else reading this thread will be able to provide some more guidance???
May 19 '14 #10
rajeevs
171 100+
Dear zmbd
You mean our system admin or internet service provider?
Please explain what kind of information you are looking for. I can provide
May 19 '14 #11
zmbd
5,501 Expert Mod 4TB
The Webservice provider.
They are the ones that will be able to tell you about your VPN connection requirements, or how they want to receive the updates to your service's application.
May 19 '14 #12
rajeevs
171 100+
The data can be transferred manually from the access DB by a user on a weekly basis. It is basically a query result with certain records (not many - may be a maximum of 200 records)send to our own web application residing in another location through internet. After successful transfer the DB has to receive same recordset with two three additional fields which the web service will provide
May 19 '14 #13
zmbd
5,501 Expert Mod 4TB
The data can be transferred manually from the access DB by a user on a weekly basis.
And pray tell, how is that being performed?
If you want to automate this process, then you MUST talk with the person(s) responsible for providing your service.
May 19 '14 #14
rajeevs
171 100+
Thank you for the quick reply zmbd. Desperately that is what i am looking for :How to transfer the records from ACCESS to web ?
May 19 '14 #15
zmbd
5,501 Expert Mod 4TB
and you didn't answer the question...
May 19 '14 #16
rajeevs
171 100+
Yes. They will do the needful from their side (web service). But to start with from my side I need to have something which can call the web service from ACCESS and send the data. I read somewhere about SOAP toolkit 3.0. I have downloaded that but I don't know how to start with. My access version is 2007.
May 19 '14 #17
zmbd
5,501 Expert Mod 4TB
1) SOAP has been depreciated for over 5 years... migration to webservices pushed since 2002

2) You will still need the basic connection information from your Webservices provider. Once again, they should be able to help you setup the connection.

3) How are you sending the data to your provider now; FTP, Email, or what? In what format are you sending the data; txt, csv, pgp, asx, etc?
May 19 '14 #18
rajeevs
171 100+
Answer to Q2 : This part they are ready to provide
Q3 : It was individual staff login to the web and enter data
We want to change that concept and link directly to the web service and send data for all staff by one user
May 20 '14 #19
zmbd
5,501 Expert Mod 4TB
Well, then try the following:
Skip to the section for publishing:

Create a Web Service data connection (ACC2010)
It is for 2010 however, other than the location of controls the method should be the same in 2007.


Microsoft Access 2010 lets you link to external data that is available through a Web Service. You must already have the Web Service connection file, which is supplied by the Web Service provider.The general process of using Web Service data is as follows:
May 20 '14 #20
rajeevs
171 100+
Thank you zmbd for the patience.
I have tried the link. But the begining it says as :
Create a connection to a Web Service
1.On the ribbon, click the External Data tab.
2.In the Import group, click Web Service.
But I checked my ACCESS 2007 ribbon and cannot find Web Service in the import group. So i am stuck there
May 20 '14 #21
zmbd
5,501 Expert Mod 4TB
I was hoping that ACC2007 had webservices installed.
Looks like you are going to have to use the SOAP toolkit or develop a custom dot-NET COM add-in for ACC2007.

It has been a few weeks since ADezii was around, perhaps he'll hear me talking about him and drop by the site. He was able to help with a SOAP webserviced connection here http://bytes.com/topic/access/answer...-access-2007-a maybe he'll be around shortly to give us a hand and perhaps the link will give you some ideas.

Along that same line, goto the top of this page, in the search box enter "Access 2007" SOAP there were a few other threads there dealing with this.

If they can provide a SQL-Server, or MYSQL IP connection string we might be able to go that route; however, I've never tried to establish a raw connection over the internet... usually a VPN network which once setup up you would link into the database like anyother networked drive..
.
>>>EDIT>>> Z's storing this link here just in case it proves helpfull' however, he hasn't finished reading information
Connecting to SQL Server over interner
May 20 '14 #22
rajeevs
171 100+
Hi zmbd
I am also hoping that ADezii will join. Meantime I will try the link you have provided tomorrow and advise you tomorrow the result
May 21 '14 #23
rajeevs
171 100+
Hi zmbd
I tried the link but nothing achieved. Hope I will get some help to overcome this situation
May 27 '14 #24

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Nicolae Fieraru | last post by:
Hi All, I have some asp pages which use a local Access database. I want to add different records to the database and also to be able to browse the page. When the database is open in MS Access, I...
10
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network...
35
by: deko | last post by:
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 =...
4
by: Ian | last post by:
Can anyone help I have a web server on the internet with and ASP.NET application on it, the application is set to allow Anonymous Access and Integrated Windows. The Web.config is set to use...
1
by: James | last post by:
I'm having this problem with an ASP.NET web service (C#)... can anyone help please? My connection string is: Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:System Database=" +...
13
by: Joner | last post by:
Hello, I'm having trouble with a little programme of mine where I connect to an access database. It seems to connect fine, and disconnect fine, but then after it won't reconnect, I get the error...
9
by: thomasp | last post by:
First of all, thanks for the help on my previous VB.NET/MS Access questions. This time I need do the following 1. Connect to a table 2. step through each of its records 3. read the value of two...
2
by: Avatar | last post by:
Hi: My team is developing a project where a client app needs to interact with a remote Access database using a Web Service. The client app, the Web Service and the database accessing layer are...
0
by: MA P | last post by:
Hi! I am currently using MS Access Database on my ASP.NET 2.0 project thru VWD Express. I found that it is running when updating records thru a datagrid view but I want to customize the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.