One thing I don't understand: when I call a web service method in the code behind which is defined in the Reference file (generated from the wsdl) and put a break point on the corresponding method in the Reference file, that method in Reference is never hit when I debug. In fact, I can't ever seen to get anything in Reference to stop at a break point. I'm trying to trace through the execution of the web service call so I can figure out what exactly is being passed (as well as whether what's being passes is in xml or json format) to the web service, but either the visual studio simply completes the web service call in one step, so to speak, or it says "cannot step into server" or something.
Hi Thanks for keeping you interest in watching. You cannot debug through the proxy reference through the break point. Break point will not hit the reference methods and you cannot debug the remote server code where web service is hosted. If you want to see the communication XML or JSON use fiddler tool or soap ui tool. In my channel I have already discussed using these tools go through that. Please SUBSCRIBE and stay tuned. Thanks :)
Hello, I am new to developing C # web service. I do not know if it can help me if I have contract (WSDL) and I want to generate create a web service according to the WSDL how can I start
Good explanation
Thank you +siddu spsps.
Subscribe and keep watching:)
One thing I don't understand: when I call a web service method in the code behind which is defined in the Reference file (generated from the wsdl) and put a break point on the corresponding method in the Reference file, that method in Reference is never hit when I debug. In fact, I can't ever seen to get anything in Reference to stop at a break point.
I'm trying to trace through the execution of the web service call so I can figure out what exactly is being passed (as well as whether what's being passes is in xml or json format) to the web service, but either the visual studio simply completes the web service call in one step, so to speak, or it says "cannot step into server" or something.
Hi Thanks for keeping you interest in watching.
You cannot debug through the proxy reference through the break point. Break point will not hit the reference methods and you cannot debug the remote server code where web service is hosted.
If you want to see the communication XML or JSON use fiddler tool or soap ui tool.
In my channel I have already discussed using these tools go through that.
Please SUBSCRIBE and stay tuned. Thanks :)
Hello, I am new to developing C # web service. I do not know if it can help me if I have contract (WSDL) and I want to generate create a web service according to the WSDL how can I start
Follow this link ua-cam.com/video/8diviRYUdKk/v-deo.html