If the service does not define a namespace, the binding of the data may not be correct. This means that the data may not be on the property that you expect. This make it seems that there is no data, but the data may be in the ExtensionData field. You can
look for that field when you are debugging. For detail on this, look at this:
So you have an application on your machine, and a web service on some web server within your network?
You can definitely debug both your local application and your remote web service at the same time by attaching to your web service's process. You have to
Open two instances of Visual Studio
One with your local application project
One with your web service project
start the MS Service Monitor on the machine that's hosting your web service
Then just start the debugger in your local application. When the code encounters the call to the webservice the debugger will hit your debug point in the instance of Visual Studio with your web service in it.
"Don't sweat the petty things, and don't pet the sweaty things"
- George Carlin
abbas24
Member
50 Points
40 Posts
webservice problem
Jul 20, 2012 10:41 AM|LINK
I am calling a webservice which is hosted on a server, locally....
I know that one method in that webservice returns a dataset....bt when I debug it shows nothing in vb.net....
What do I need to do so that I can debug my application locally and also fetch the data that I am seeking from the webservice....
shree_ars
Participant
1395 Points
776 Posts
Re: webservice problem
Jul 20, 2012 11:10 AM|LINK
u cant debug ur webservices if its hosted in another machine.
If its hosted in your machine then u can test it out.. just by hitting the url in the browser or from the source code..
ozkary
Contributor
2034 Points
303 Posts
Re: webservice problem
Jul 21, 2012 02:44 PM|LINK
If the service does not define a namespace, the binding of the data may not be correct. This means that the data may not be on the property that you expect. This make it seems that there is no data, but the data may be in the ExtensionData field. You can look for that field when you are debugging. For detail on this, look at this:
http://ozkary.blogspot.com/2012/01/wcf-web-service-call-to-another-wcf-web.html
og-bit.com
barryman9000
Participant
1698 Points
605 Posts
Re: webservice problem
Jul 23, 2012 10:41 PM|LINK
So you have an application on your machine, and a web service on some web server within your network?
You can definitely debug both your local application and your remote web service at the same time by attaching to your web service's process. You have to
- George Carlin