siddharth kumar singh
siddharth kumar singh

Reputation: 57

Processing a SOAP request

I have created a windows service for processing XML file that takes a file from a file folder ( it is polling the XML file from that file folder continuously). When i will drop the XML file inside the file folder, my service will pick the file and start processing it.After processing, it sends the file to the destination location. So currently i am dealing with the file folder only.

Now my idea is to poll SOAP messages from WCF service using my windows service just like what i am currently doing with the help of file folder. After processing, the response should also be sent to the WCF service. How can i implement my idea ? Please help.

Upvotes: 0

Views: 66

Answers (1)

Jon
Jon

Reputation: 41

The quickest solution would be to create a continuous loop within your code that calls the web service.

You can then make the code pause for an amount of time before performing the loop again. The pause can be accomplished with Thread.Sleep

Upvotes: 1

Related Questions