473,320 Members | 1,953 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,320 software developers and data experts.

Dynamically Calling Several Web Services

Hi All,

I am not sure if this approach is feasible. But i have a timesheets
application that works for several small organisations. One of the
companies has a small office in South Africa and cant access the system
remotly due to poor Intenet connections.

I need to implement local DBs and distibute the application locally on
machines, so in what essentially i will be doing is running a local
version of my application on these machines in south Africa (currently
2). There is no application server, otherwise i would run it off here
and not have an issue.

My question is, i want to automate the whole process of the data being
sent back to London from south Africa using web services. The problem i
have is i think i would have to deploy the web service locally on each
machine, and if so, how could i create an application where i could
maintain some sort of list so that the web services (From all machines)
methods could be interrogated and the data in London be updated
automatically. I was thinking of scheduling a console application
written in .NET but am unsure if there is a way that i can dynamically
interrogate a web service using code, or do i have to consume each
service individually within the application and then redeploy the
console app each time the situation changes. I do expect that if they
do get over 5 employees then a server will be installed but untill then
i need to introduce a system such as this.

Any advice would be greatly appreciated!

Rob

Nov 23 '05 #1
1 1592
Hi,

for the dynamics part;

Since you say you have 1 WebService (deployed on several locations)
you end up with 1 WSDL file with the only change being the end-point
you call.

You can just generate the proxy based on the WSDL file (and add the
/urlkey:CurrentEndPoint option).

In your code you can now easily set "webServiceProxy.URL = 'whatever
server you want'" or let it use the App/Web.Config "CurrentEndPoint"
variable.

For the synchronization you'll have to write some logic yourself.

Hope this helps,

Marvin Smit.

On 9 Nov 2005 03:11:52 -0800, "RM82" <r_******@hotmail.com> wrote:
Hi All,

I am not sure if this approach is feasible. But i have a timesheets
application that works for several small organisations. One of the
companies has a small office in South Africa and cant access the system
remotly due to poor Intenet connections.

I need to implement local DBs and distibute the application locally on
machines, so in what essentially i will be doing is running a local
version of my application on these machines in south Africa (currently
2). There is no application server, otherwise i would run it off here
and not have an issue.

My question is, i want to automate the whole process of the data being
sent back to London from south Africa using web services. The problem i
have is i think i would have to deploy the web service locally on each
machine, and if so, how could i create an application where i could
maintain some sort of list so that the web services (From all machines)
methods could be interrogated and the data in London be updated
automatically. I was thinking of scheduling a console application
written in .NET but am unsure if there is a way that i can dynamically
interrogate a web service using code, or do i have to consume each
service individually within the application and then redeploy the
console app each time the situation changes. I do expect that if they
do get over 5 employees then a server will be installed but untill then
i need to introduce a system such as this.

Any advice would be greatly appreciated!

Rob

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Falc2199 | last post by:
Hi, Does anyone know how to make this work? var sectionId = 5; repeat_section_sectionId(); function repeat_section_5(){ alert("firing"); }
15
by: Bryan | last post by:
I have a multi-threaded C# console application that uses WMI (System.Management namespace) to make RPC calls to several servers (600+ ) and returns ScheduledJobs. The section of my code that...
1
by: Benjamin | last post by:
Hi, I'm currently writing a Web Services that interacts with a database. To allow me to use not just one database provider (for example, I could use MS Access, SQL Server or MySQL), the Web...
7
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is...
0
by: Fabio Hemylio | last post by:
I have built a XML Web Services that needs to call a COM component registered im Component Services. When calling the methods from XML Web Service, that in turns calls the methods from COM+...
2
by: brian.gabriel | last post by:
I have a core web service that acts as a gateway for several third party web services. Each one of the third party web services has it's own "interface" class derived from a main interface. When...
2
by: mfr | last post by:
Hi all, In a project I'm working on, I need to call web services methods based on information that is given to my client program only at run-time. I get the wsdl url, the name of the method to...
9
by: Allen | last post by:
The arguments of function is variable. Given function address, argument type and data, how to dynamically call the function? The following is pseudo code. int count = 0; int offset = 0; char...
15
by: =?Utf-8?B?VG9tIENvcmNvcmFu?= | last post by:
I've been led to believe by several articles, particularly Eric Gunnerson's C# Calling Code Dynamically, that calling a method dynamically through Reflection was much slower than through a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.