How to integrate a WEB-Service in my Windows-Applacation

P

Peter Stojkovic

I am using VS2003 and VS2005 on WINDOWS XP Professional SP2.
I want write an Application to Application ( A2A ) communication via
WEB-Services.


Application A1 on PC A should send information via WEB-Service to
Windows-Application A2 on PC B.
The data that are send should appear atonce on the screen of Application A2.

My Problem is.
I can write a WebService that can take the data from Applictaion A.
But how can than the data moved to application A2


I have already studied AsyncWebService sample in VS.2003
But this example is not what I need.


Thanks for any hints
Peter Stojkovic
 
J

Javier G. Lozano

In order to connect to Application 2, (A2), your application will have
to the web services. This means that, if your application is not a web
application, you will need to use the ASP.NET host classes to host the
web service. You can check out this quick (but old) article by Scott
Gu showing you how to do this:
http://aspalliance.com/articleViewer.aspx?aId=220&pId=

Have you thought of using .NET remoting instead? That works a little
bit better for application to application communication.
 
P

Peter Stojkovic

I used now the ASP.NET host classes.
It works in the sample.

But I think it is not exactly the same like a Web-Service hosted in a IIS

When I use .NET Webservice Studio everything is fine,
if my service is hosted in IIS.

But when I host the similiar in my Windows-Application, I get only errors in
..NET Webservice Studio , when I try to test my service.


Do you know any example , where a web-Service is hosted in a
Windows-Application ?
 
P

Point.Cube

I face the same problem and no way to find something interesting in
internet!
I ll inform u if I find a solution and pls let me know if u find
sonething interesting,
Regardes,
Fred,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top