windows service to process SOAP call in.net2005
-
Hello everybody, I have gone through lot many articles regarding the SOAP in webServices. I did many applications in the windows service in .net2005. Now my new requirement is to create a new windows service which can do two things: 1) it should be able to service a SOAP call by reading the MySQL db and generate a SOAP enevelpe. And 2) It should also run for every x-seconds/x-mins. I am carrying out this task in C#.net2005. And MySQL. Can anybody help me out in getting me the correct theory and code articles, because in my research.. i am getting deviated everytime. So, please can anybody help me out.. Thanks in Advance anumadhu Anee
-
Hello everybody, I have gone through lot many articles regarding the SOAP in webServices. I did many applications in the windows service in .net2005. Now my new requirement is to create a new windows service which can do two things: 1) it should be able to service a SOAP call by reading the MySQL db and generate a SOAP enevelpe. And 2) It should also run for every x-seconds/x-mins. I am carrying out this task in C#.net2005. And MySQL. Can anybody help me out in getting me the correct theory and code articles, because in my research.. i am getting deviated everytime. So, please can anybody help me out.. Thanks in Advance anumadhu Anee
anumadhu wrote:
- it should be able to service a SOAP call by reading the MySQL db and generate a SOAP enevelpe.
Can you break that out? Like: 1) Receive and parse a SOAP Request ( over what protocol)? 2) Query a MySQL database 3) Generate and send a SOAP Response ( over what protocol)?
-
anumadhu wrote:
- it should be able to service a SOAP call by reading the MySQL db and generate a SOAP enevelpe.
Can you break that out? Like: 1) Receive and parse a SOAP Request ( over what protocol)? 2) Query a MySQL database 3) Generate and send a SOAP Response ( over what protocol)?
Thanks Mike, Task-1: It should be able to do query and update MySQL database in backend for every x number of seconds. Task-2: And meanwhile, if it receives the SOAP request, it should do the following activities: 1) The windows service should be able to receive and parse a SOAP Request over HTTP protocol 2) Query and update a MySQL database 3) After updating the database, it should send a message(example: "Your Request Processed")as SOAP Response or SOAP Envelope over HTTP protocol. Any related articles or the code samples in C#.net 2005, is of more help to me. Thanks Anee
-
Hello everybody, I have gone through lot many articles regarding the SOAP in webServices. I did many applications in the windows service in .net2005. Now my new requirement is to create a new windows service which can do two things: 1) it should be able to service a SOAP call by reading the MySQL db and generate a SOAP enevelpe. And 2) It should also run for every x-seconds/x-mins. I am carrying out this task in C#.net2005. And MySQL. Can anybody help me out in getting me the correct theory and code articles, because in my research.. i am getting deviated everytime. So, please can anybody help me out.. Thanks in Advance anumadhu Anee
It should also run for every x-seconds/x-mins. you can create exe file and use schedled task from os to run exe file every x-seconds/x-mins
-
Thanks Mike, Task-1: It should be able to do query and update MySQL database in backend for every x number of seconds. Task-2: And meanwhile, if it receives the SOAP request, it should do the following activities: 1) The windows service should be able to receive and parse a SOAP Request over HTTP protocol 2) Query and update a MySQL database 3) After updating the database, it should send a message(example: "Your Request Processed")as SOAP Response or SOAP Envelope over HTTP protocol. Any related articles or the code samples in C#.net 2005, is of more help to me. Thanks Anee
-
Hello everybody, I have gone through lot many articles regarding the SOAP in webServices. I did many applications in the windows service in .net2005. Now my new requirement is to create a new windows service which can do two things: 1) it should be able to service a SOAP call by reading the MySQL db and generate a SOAP enevelpe. And 2) It should also run for every x-seconds/x-mins. I am carrying out this task in C#.net2005. And MySQL. Can anybody help me out in getting me the correct theory and code articles, because in my research.. i am getting deviated everytime. So, please can anybody help me out.. Thanks in Advance anumadhu Anee
WCF easily allows you to host a webservice from a Windows service. Of course you can do it all yourself, but I can't think of any reason to do that. EDIT: Hmm, now I see you wrote .Net 2005 which unfortunately doesn't really mean anything - I originally read it as VS2005 and replied based on this. If you mean .NET 2.0 then you have to do it yourself as is often the case when you try to do anything using outdated technology. If you mean VS2005, then simply install the CTP addons for VS2005 allowing you to program for .NET 3.0.