Link to home
Start Free TrialLog in
Avatar of dev775
dev775

asked on

Create a Simple Web Service

Need help and sample code to create a simple web service.  Functional requirement is: ClientApp1(my customer's java app) will send data (5 basic values) to ClientApp2 (my .NET app).  The web service must receive the data, check for duplicates, then connect to SQL Server and create a new record in the customer table.  How do I setup a web service to achieve this?
ASKER CERTIFIED SOLUTION
Avatar of Ralf Klatt
Ralf Klatt
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dev775
dev775

ASKER

Raisor,
Thank you for your response.  The article is helpful, but I would appreciate a bit more help as I am still a pretty raw novice at this.  Also, I understand the SOAP toolkit is not available any more.  I am using VS2005.  Here is some additional information and related questions;
1. In my first application, as described above, I will be running my .NET app on the same physical network as the customer's java application (ClientApp1).  The UI in ClientApp1 will have a button - when clicked it will send a packet of data which I then need to receive through this web service and process - essentially checking for duplicates and then creating a new record in the SQL DB.  This will be a one-way transfer of data - my app will not send anything back.  I want to use a web service as this same functionality will be required for other installations where servers are located remotely. Plus I want to learn how to build and implement a web service.
2. Given the explanation above, I need help understanding what the top level architecture looks like: what are the required components and what application represents the client in this case.
3. What is the starting point to build the web service?  Can it be created in VS?  How does it talk to my .Net application?
4. Can a web service perform functions such as reading and writing to a table directly?
These questions hopefully outline my basic need for help.  I think if I can some help to walk through the process once, I will get through the current roadblock that I have.  Thanks again.