What I am trying is to use a soap call to send and retrieve information between two web applications. I have added a service reference and now in my code I am trying to use the soap client to make a call.
(in my code I used a 'using' as to not need to specify the namespace in the next line of code)
ResourceSoapClient resourceSoapClient = new ResourceSoapClient("ResourceSoap");
after this line of code I spend some lines of codes to acquire the data that needs to be sent and then I use the resourceSoapClient object to make a call to it:
resourceSoapClient.SendResource(id, resourceData);
The problem I have however is that immediately after the creating of 'resourceSoapClient' the method is aborted and nothing of the code that follows is executed. As I step through the method while debugging it acts like just hitting F5 to continue running but no further code is stepped through although I step into or step over. I don't understand what goes wrong here. I hope one of you can help me?