Wednesday, March 28, 2012
Web service
I`m very much new to VB.NET
Can anyone will explain me the concept of Web Service and its application.
Any example code is welcome.
Anita.there's a brief description and a brief example on my website www.vb-tech.com, or have a look at http://www.dotnetjohn.com/webservices.aspx which is a good all round website as well.
Nick
Thanks nswan,
Can anyone will tell@.me What is the difference between
Web service and Web Form?
Or we can use only Web Forms to creat a web service?
Anita
A web form is a pretty way to say a web page. That is all. A web form is something you can navigate to in your browser and view just like any other html page on the internet.
A web service is like a object you put on the internet for other applications to use (or just your apps, whatever you like). Basically, it only applies to application developers, normal end users shouldn't have a need for them. What they do is expose some methods that you can call from your applications (windows, or web) as if you were calling a method on a object in your project, even though the web service lies on another server.
(Hypothetical situation:)
Lets say FED EX wanted to expose a web service to allow programmers to access their information to display in their own applications. I could build a application for my company that sits in the system tray or something that would allow the users at my business to click it, enter a tracking number, and get the tracking results back. What would happen behind in the code would be I would take that tracking number, and pass it as an argument to a web service method that FED EX exposed. The return for that function would be the tracking data that I would then display on the form.
Hope that helps you.
Example
You have a web site (site A) which give news to its visitors, so that your site has three sections: sports,national and culture news.
But the sports news come from another company, suposse site B, and the same for the other kind of news, site C for national news and site D for culture news.
So each site has its own information in its database, but you need to extract this information to your site, how can you do it?
Well, each site (i.e. site B,C,D) has a web service echa one which its principal function is to provide the information you need; not just you could extract the information but other companies, trought a web service client.
In general a web service is a function which you call, but this function is in other web site.
Web Service
I'm new in aspx an new in web services. i made a few web services as test and works fine. I have the following situation :
I have a process that needs 30 min to run. I launch the process using asp.net in a web page. This process consist in charge a table in a SQL database from a TXT file, and make some actions.
My question is : can i use a web service as batch procesing to do that charge and let the browser free so the usr can do other task?
Thk's
:thumb:not sure but one suggestion, a poor one, would be to use frames in the browser.
you could do threading but do not think ASP.NET has that, unless im mistaken :)
Do you mean you need an Asynchronous Web Service? Does the web service need to return a result to the user?
Web Service
I need to create a webservice for weather report
so how can i create the WSDl file to consume the weather
please help me out
Thanks and Regards
Sathish ReddyWhere is the weather report web service?
Web Service
------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'Service'.
Source Error:
Line 1: <%@dotnet.itags.org. WebService Language="vb" CodeBehind="~/App_Code/Service.vb" Class="Service"%>
Source File: /sathish/datasetservice/service.asmx Line: 1
------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42Show your code.
web service
Hi,
I am using web method in my web app by using web reference.
It works fine when in debug mode.
It fails when testing a published version.
error message is: The remote name could not be resolved: 'ws.mysite.net'
Is there any issue when publishing project?
Do I need to do something different while publishing web project that uses web service reference.
Thanks,
Vaibhav
Open the web.config file and change the location of the WebService URL. that should solve the issue.
Hope this helps...
Unfortunately, this didn't help me. Any other input?
Thanks,
Vaibhav
This must be the issue of the proxy server. Please ensure that the server does not require any kind of authentication like telnet. Also add entry in the machine.config for your application under Default proxy tag.
hope this helps
Regards,
Suhas
Hi,
Entry in machine.config solved problem.
I added a sectiongroup in it i.e. same lines copied from web.config to machine.config for web url.
Thanks,
Vaibhav
web Service
Don
donkienly thanks for your reply.Lets make my question more specific.If i would like to do a calculator which is in the windows application where the calculation metod/function are all in the web services.
problems is I already created the web services but i cant call it out from in the windows application,while i write the function name in the windows application it shown me the error that the function is not a member of the web services.how can i avoid it?
Ah, gotcha. Have you added a Web reference to your project, assuiming you are using Visual Studio .NET? If not, you have to do that first, in the Solution Explorer window.
Let me know if you've done that, and we can go from there.
Don
Refer
Link
thanks i managed to fixed it
how if i would like to store the data from the web service to the client database(PDA) where the client is programed in windows application.
Web Service
Its a very loaded question but in a sentence or two if you want to connct another application with your application.
Simple examples are you need to Submit an order to another company site that exposes a webserive to do that.
A weather information from weathr site.
Within an organization you might have AS400 Enterprise application like PayRoll, Inventory, Factory etc and you need to get an important piece of information or move the information around these application. These all can be done much easier then before using WebServices. and how about Credit Card verification webservice ...:)
Web Service
Hi everyone,
I am looking for good Web Service in C# or VB.NET tutorials. If you know the good links. Then please let me know. Thanks.
May
It depends on what you really need...For a basic understanding try these...
www.codeproject.com/cs/webservices/myservice.asp
http://www.codeguru.com/Csharp/Csharp/cs_webservices/tutorials/article.php/c5477
Hope this helps...
http://samples.gotdotnet.com/quickstart/aspplus/doc/wsbehavior.aspx
Hi,
here are some good articles,
web service
I got to create a system that automatically sends out an email when the server date is equal to a date field in an sql server database. The project I am working has been built using asp but I can't find a solution using classic asp. I'm relatively new to asp.net and thought maybe using a .net web service to provide this functionality. Can anyone advise me of a way to do this asp or asp.net and whether I was on the right track with the web service idea?
Thanks in advance.Hi,
You don't require a webservice for this. Instead you can create a console application using c# or vb.net which will be an exe that will run daily at a specified time and check if the server date is equal to that in the database and then send out a mail, if it is equal.
Once you are done with the logic, you can put it in task scheduler (type tasks form command prompt) for the same to run daily.
Hope it helps.
Web Service
1. First , Create a Web Application. such like "http://localhost/webService"
2. Second, Add a new service from solution: Add New Item, select "Web Service", such like: WebService1.asmx.
3. In this page, default has a function, you need to uncomment it.
[WebMethod]
public string HelloWorld()
{
return "Hello World"; // You can return your XML format string. What you returned is just what the client will get.
}
4. You can make your function and return what you want.
5. Set this file as start page, then build it.
6. Run and test it.
7. In client side, such like WinForm, you need add a web reference. On project's references, right click mouse, in popup menu, select "Add Web Reference";
8. Type the web site and page file , such like : http://localhost/webService/WebService1.asmx, then click "go"
9. In "Web Reference Name", put the name you like to name it,such like: "myWebService", then OK.
10. In a WinForm Page, call web server and see what you get.
the code like this:
myWebService.Service1 service = new myWebService.Service1();
string result = service.HelloWorld();
If your response is a XML file, the result string will be the XML string.
Web Service
DJ
Thank You for your reply but I was able to take care of this by recreating the project.
it probably would have moaned because you would not have the webservice virtual directory set up in iis.
it probably works now cos by recreating the project you set up the vd
I think I agree with you on that.
WEB Service
I dont know much about the web service if you know tell me any website
to learn web service or you tell me
1) What is Web service?
2) why WEB Service?
3) Give one example with code behind VB
Thanks,
Regards
PRABHU ANBAZHABANprabhu A wrote:
Quote:
Originally Posted by
Hai,
>
I dont know much about the web service if you know tell me any website
to learn web service or you tell me
>
1) What is Web service?
2) why WEB Service?
3) Give one example with code behind VB
>
Thanks,
>
Regards
PRABHU ANBAZHABAN
Hi,
here is two link
http://msdn.microsoft.com/webservic...ng/default.aspx
http://msdn.microsoft.com/webservic...ng/default.aspx
Hope its might help
Masudur
Kaz Software Ltd
www.kaz.com.bd
Web Service
Hello.
I use a web service that I created through a custom
control on a windows form and it works fine. However, if iput this control
on a
webform usinf the <object...classid..> label, i get an security error when i
call the web service
saying:
"The application attempted to perform an operation not
allowed by the security policy. The operation required the
SecurityException. To grant this application the required
permission please contact your system administrator, or
use the Microsoft .NET security policy administration tool.
Request for the permission of type
System,Net.WebPermission..."
What can i do?
I don't know how to explicitly trust the assembly.
ThanksYou'll need to use CASPOL.exe from the command line, or use the
framework configuration UI [1] under the Administrative Tools menu on
the computer.
What I would do is use these tools to grant the additional permissions
through a new code group [2] based on either a strong name or a URL
membership condition. Since URLs can be spoofed I'd suggest you string
name the assembly with your custom control and use the strong name
membership.
--
Scott
http://www.OdeToCode.com/blogs/scott/
[1]
http://msdn.microsoft.com/library/d...mscorcfgmsc.asp
[2]
http://msdn.microsoft.com/library/d...odegroups .asp
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 30 Aug 2005 09:13:34 +0200, "Aurelio"
<corcharelliARROBAhotmail.com> wrote:
>Hello.
>Hello.
>I use a web service that I created through a custom
>control on a windows form and it works fine. However, if iput this control
>on a
>webform usinf the <object...classid..> label, i get an security error when i
>call the web service
>saying:
>"The application attempted to perform an operation not
>allowed by the security policy. The operation required the
>SecurityException. To grant this application the required
>permission please contact your system administrator, or
>use the Microsoft .NET security policy administration tool.
>Request for the permission of type
>System,Net.WebPermission..."
>What can i do?
>I don't know how to explicitly trust the assembly.
>Thanks
Web service
http://www.nraila.org/Services/Legi...dates.asmx?WSDL
in a datagrid on a website.
Any good place to start in figuring out how to do this? I've found some
RSS stuff on the web, but it doesnt allow you to adjust the content like
loading it into a datagrid would do.
BCGoober:
I got it up and running in about 2 minutes, bet you can do the same.
In VS.Net, open a web project (new or existing), right click on "References"
and select "Add Web reference" enter that URL in the box and hit "go".
Click "Add Referenc"
in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
<asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" /
in your codebehind, just do:
Protected grid As System.Web.UI.WebControls.DataGrid
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
grid.DataSource = nraila.GetLegislativeUpdates()
grid.DataBind()
End Sub
and you should be all go :)
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Goober" <goober@.christian.net> wrote in message
news:e6EKBrJCFHA.612@.TK2MSFTNGP09.phx.gbl...
> I am wanting to display the following:
> http://www.nraila.org/Services/Legi...dates.asmx?WSDL
> in a datagrid on a website.
> Any good place to start in figuring out how to do this? I've found some
> RSS stuff on the web, but it doesnt allow you to adjust the content like
> loading it into a datagrid would do.
> BC
Karl :
how to add a web reference when there is a proxy ??
"Karl Seguin" wrote:
> Goober:
> I got it up and running in about 2 minutes, bet you can do the same.
> In VS.Net, open a web project (new or existing), right click on "References"
> and select "Add Web reference" enter that URL in the box and hit "go".
> Click "Add Referenc"
> in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
> <asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />
> in your codebehind, just do:
> Protected grid As System.Web.UI.WebControls.DataGrid
> Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
> Handles MyBase.Load
> Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
> grid.DataSource = nraila.GetLegislativeUpdates()
> grid.DataBind()
> End Sub
> and you should be all go :)
> Karl
>
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
>
> "Goober" <goober@.christian.net> wrote in message
> news:e6EKBrJCFHA.612@.TK2MSFTNGP09.phx.gbl...
> > I am wanting to display the following:
> > http://www.nraila.org/Services/Legi...dates.asmx?WSDL
> > in a datagrid on a website.
> > Any good place to start in figuring out how to do this? I've found some
> > RSS stuff on the web, but it doesnt allow you to adjust the content like
> > loading it into a datagrid would do.
> > BC
>
Vinay:
To be honest I didn't know...but a google search turned up a couple results
you might find handy:
http://www.devx.com/tips/Tip/17401?trk=DXRSS_DOTNET
and
http://www.codeproject.com/vb/net/w...ce_by_proxy.asp
Hope this helps,
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"vinay" <vinay@.discussions.microsoft.com> wrote in message
news:8A4764EA-CFA0-41F3-8B76-C9FB38307CAA@.microsoft.com...
> Karl :
> how to add a web reference when there is a proxy ??
> "Karl Seguin" wrote:
> > Goober:
> > I got it up and running in about 2 minutes, bet you can do the same.
> > In VS.Net, open a web project (new or existing), right click on
"References"
> > and select "Add Web reference" enter that URL in the box and hit "go".
> > Click "Add Referenc"
> > in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
> > <asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />
> > in your codebehind, just do:
> > Protected grid As System.Web.UI.WebControls.DataGrid
> > Private Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs)
> > Handles MyBase.Load
> > Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
> > grid.DataSource = nraila.GetLegislativeUpdates()
> > grid.DataBind()
> > End Sub
> > and you should be all go :)
> > Karl
> > --
> > MY ASP.Net tutorials
> > http://www.openmymind.net/
> > "Goober" <goober@.christian.net> wrote in message
> > news:e6EKBrJCFHA.612@.TK2MSFTNGP09.phx.gbl...
> > > I am wanting to display the following:
> > > > http://www.nraila.org/Services/Legi...dates.asmx?WSDL
> > > > in a datagrid on a website.
> > > > Any good place to start in figuring out how to do this? I've found
some
> > > RSS stuff on the web, but it doesnt allow you to adjust the content
like
> > > loading it into a datagrid would do.
> > > > BC
WEB Service
I dont know much about the web service if you know tell me any website
to learn web service or you tell me
1) What is Web service?
2) why WEB Service?
3) Give one example with code behind VB
Thanks,
Regards
PRABHU ANBAZHABANprabhu A wrote:
> Hai,
> I dont know much about the web service if you know tell me any website
> to learn web service or you tell me
> 1) What is Web service?
> 2) why WEB Service?
> 3) Give one example with code behind VB
> Thanks,
> Regards
> PRABHU ANBAZHABAN
Hi,
here is two link
http://msdn.microsoft.com/webservic...ng/default.aspx
http://msdn.microsoft.com/webservic...ng/default.aspx
Hope its might help
Masudur
Kaz Software Ltd
www.kaz.com.bd
web service
Could you for example have 200 methods or more? We are working on a massive
system that we would like to use web services to provide functionality to
remote users... thanks!Have you considered Remoting (whicn can be hosted within IIS) instead of
WebServices?
If your clients are .Net, the remoting would be favored.
If your clients are .Net (and others, asp, vb6, java), then WebServices
would be preferred.
See
9/27/2005
Leveraging Dot Net Remoting To Keep Your "Secret Code" Safe
http://sholliday.spaces.live.com/blog/
or
[url]http://secretg
.net/QAD_Remoting.asp[/url]among other sites.
..
If you're using .Net 3.0, you have more options.
"Smokey Grindle" <nospam@.dontspamme.com> wrote in message
news:euY4o4jlHHA.4628@.TK2MSFTNGP06.phx.gbl...
> Is there any limit to the number of methods you can put into a web
service?
> Could you for example have 200 methods or more? We are working on a
massive
> system that we would like to use web services to provide functionality to
> remote users... thanks!
>
Would remoting work with Compact Framework also? We were planning on having
some PocketPC apps with of course reduced functionality and then .NET apps
running on the workstations.. (nothing that isn't .NET 2.0 native) Thanks!
"sloan" <sloan@.ipass.net> wrote in message
news:%23yP$hlklHHA.4840@.TK2MSFTNGP04.phx.gbl...
> Have you considered Remoting (whicn can be hosted within IIS) instead of
> WebServices?
> If your clients are .Net, the remoting would be favored.
> If your clients are .Net (and others, asp, vb6, java), then WebServices
> would be preferred.
>
> See
> 9/27/2005
> Leveraging Dot Net Remoting To Keep Your "Secret Code" Safe
> http://sholliday.spaces.live.com/blog/
> or
> [url]http://secretg
.net/QAD_Remoting.asp[/url]> among other sites.
> ..
> If you're using .Net 3.0, you have more options.
>
>
> "Smokey Grindle" <nospam@.dontspamme.com> wrote in message
> news:euY4o4jlHHA.4628@.TK2MSFTNGP06.phx.gbl...
> service?
> massive
>
Web service
http://www.nraila.org/Services/Legi...dates.asmx?WSDL
in a datagrid on a website.
Any good place to start in figuring out how to do this? I've found some
RSS stuff on the web, but it doesnt allow you to adjust the content like
loading it into a datagrid would do.
BCGoober:
I got it up and running in about 2 minutes, bet you can do the same.
In VS.Net, open a web project (new or existing), right click on "References"
and select "Add Web reference" enter that URL in the box and hit "go".
Click "Add Referenc"
in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
<asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />
in your codebehind, just do:
Protected grid As System.Web.UI.WebControls.DataGrid
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
grid.DataSource = nraila.GetLegislativeUpdates()
grid.DataBind()
End Sub
and you should be all go :)
Karl
MY ASP.Net tutorials
http://www.openmymind.net/
"Goober" <goober@.christian.net> wrote in message
news:e6EKBrJCFHA.612@.TK2MSFTNGP09.phx.gbl...
> I am wanting to display the following:
> http://www.nraila.org/Services/Legi...dates.asmx?WSDL
> in a datagrid on a website.
> Any good place to start in figuring out how to do this? I've found some
> RSS stuff on the web, but it doesnt allow you to adjust the content like
> loading it into a datagrid would do.
> BC
Karl :
how to add a web reference when there is a proxy '
"Karl Seguin" wrote:
> Goober:
> I got it up and running in about 2 minutes, bet you can do the same.
> In VS.Net, open a web project (new or existing), right click on "Reference
s"
> and select "Add Web reference" enter that URL in the box and hit "go".
> Click "Add Referenc"
> in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
> <asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />
> in your codebehind, just do:
> Protected grid As System.Web.UI.WebControls.DataGrid
> Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
> Handles MyBase.Load
> Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
> grid.DataSource = nraila.GetLegislativeUpdates()
> grid.DataBind()
> End Sub
> and you should be all go :)
> Karl
>
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
>
> "Goober" <goober@.christian.net> wrote in message
> news:e6EKBrJCFHA.612@.TK2MSFTNGP09.phx.gbl...
>
>
Vinay:
To be honest I didn't know...but a google search turned up a couple results
you might find handy:
http://www.devx.com/tips/Tip/17401?trk=DXRSS_DOTNET
and
http://www.codeproject.com/vb/net/w...ce_by_proxy.asp
Hope this helps,
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"vinay" <vinay@.discussions.microsoft.com> wrote in message
news:8A4764EA-CFA0-41F3-8B76-C9FB38307CAA@.microsoft.com...
> Karl :
> how to add a web reference when there is a proxy '
> "Karl Seguin" wrote:
>
"References"
System.EventArgs)
some
like
Web Service
Hello.
I use a web service that I created through a custom
control on a windows form and it works fine. However, if iput this control
on a
webform usinf the <object...classid..> label, i get an security error when i
call the web service
saying:
"The application attempted to perform an operation not
allowed by the security policy. The operation required the
SecurityException. To grant this application the required
permission please contact your system administrator, or
use the Microsoft .NET security policy administration tool.
Request for the permission of type
System,Net.WebPermission..."
What can i do?
I don't know how to explicitly trust the assembly.
ThanksYou'll need to use CASPOL.exe from the command line, or use the
framework configuration UI [1] under the Administrative Tools menu on
the computer.
What I would do is use these tools to grant the additional permissions
through a new code group [2] based on either a strong name or a URL
membership condition. Since URLs can be spoofed I'd suggest you string
name the assembly with your custom control and use the strong name
membership.
Scott
http://www.OdeToCode.com/blogs/scott/
[1]
http://msdn.microsoft.com/library/d...gm
sc.asp
[2]
http://msdn.microsoft.com/library/d...r />
groups.asp
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 30 Aug 2005 09:13:34 +0200, "Aurelio"
<corcharelliARROBAhotmail.com> wrote:
>Hello.
>Hello.
>I use a web service that I created through a custom
>control on a windows form and it works fine. However, if iput this control
>on a
>webform usinf the <object...classid..> label, i get an security error when
i
>call the web service
>saying:
>"The application attempted to perform an operation not
>allowed by the security policy. The operation required the
>SecurityException. To grant this application the required
>permission please contact your system administrator, or
>use the Microsoft .NET security policy administration tool.
>Request for the permission of type
>System,Net.WebPermission..."
>What can i do?
>I don't know how to explicitly trust the assembly.
>Thanks
>
>
Web Service - get remote machine/network parameters
about remote machine and network right from the user's browser using this
request:
NameValueCollection coll = Request.ServerVariables;
But what if we write a Web Service? What can we do in this case? How can we
get the remote machine IP and the HostName for example? Do we have any way
that can be used from the Web Service for that? I know that I probably can
get the same info at the remote machine and send it to the Web Service for
logging, but actually it's always easy, because some of the clients are
working from their LANs and the real IP exposed by their Internet Providers
is hard to be received.
The question - how can we get a reliable information about remote network,
user, machine, etc?
Just D.What if you try:
HttpContext.Current.Request.ServerVariables.ToStri ng();
Does that work?
Kind regards,
Nikander & Margriet Bruggeman
"Just D." wrote:
> I know that writing ASPX app we easily can get all required information
> about remote machine and network right from the user's browser using this
> request:
> NameValueCollection coll = Request.ServerVariables;
> But what if we write a Web Service? What can we do in this case? How can we
> get the remote machine IP and the HostName for example? Do we have any way
> that can be used from the Web Service for that? I know that I probably can
> get the same info at the remote machine and send it to the Web Service for
> logging, but actually it's always easy, because some of the clients are
> working from their LANs and the real IP exposed by their Internet Providers
> is hard to be received.
> The question - how can we get a reliable information about remote network,
> user, machine, etc?
> Just D.
>
>
yeah it will work definately...
From http://www.google.co.in/search?hl=en&q="HttpContext.Current.Request.ServerVariables().tost ring"&btnG=Search&meta=
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
yeah it will work definately...
From http://www.google.co.in/search?hl=en&q="HttpContext.Current.Request.ServerVariables().tost ring"&btnG=Search&meta=
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Web service - how to?
I would like to access an ms access database located at a web site from my
desktop via web service. Is there some information available on how to do
that? Would the web service run on a shared hosting web account?
Thanks
RegardsWhere ever the web service is running will have to have file level access to
the DB, is this possible with your setup?
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"John" <john@.nospam.infovis.co.uk> wrote in message
news:%23wQKuMDPEHA.1312@.TK2MSFTNGP12.phx.gbl...
> Hi
> I would like to access an ms access database located at a web site from my
> desktop via web service. Is there some information available on how to do
> that? Would the web service run on a shared hosting web account?
> Thanks
> Regards
>
Think of a web service as a special purpose web page with a predefined
URL and output. Let's say you wrote an ASP page that would take an ID
from the URL, get some data from the database and display it on the
screen. Now, take the URL and replace it with a special XML string,
and wrap the result up the same way and you have a web service.
The Web Service code is just another ASPX page (with a different
extension and a few more lines of code). Therefore, whatever you would
need to do to get to the database in an ASPX page, you would need to
do in a web service.
On Mon, 17 May 2004 18:19:06 +0100, "John" <john@.nospam.infovis.co.uk>
wrote:
>Hi
>I would like to access an ms access database located at a web site from my
>desktop via web service. Is there some information available on how to do
>that? Would the web service run on a shared hosting web account?
>Thanks
>Regards
>