473,761 Members | 3,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Can I debug WebService??

Hi all
I have a webservice that I want to debug it line by line..
I enabled the Debug option in WeConfig.
but I can't debug that and when I set a break point for it,that dosen't work
..

thanks in advance
Aug 12 '06 #1
5 5771
Hi,
Make sure that your website project is the startup project, then right click
on your web service (.asmx) and choose Set as Start page. Hit F5 and you'll
be shown the default web service debug page which will allow you to enter
values for your web methods, etc. When you click Invoke, the break point in
that method should be hit.

Mike
http://www.seeknsnatch.com

"perspolis" <re*****@hotmai l.comwrote in message
news:ea******** ******@TK2MSFTN GP03.phx.gbl...
Hi all
I have a webservice that I want to debug it line by line..
I enabled the Debug option in WeConfig.
but I can't debug that and when I set a break point for it,that dosen't
work
.

thanks in advance

Aug 12 '06 #2
Thanks..but I have an application that coonect to that WebService..
I want to debug that from my application ..how can I debug that from my
application??

"Michael" <in**@seeknsnat ch.comwrote in message
news:44******** **************@ news.free.fr...
Hi,
Make sure that your website project is the startup project, then right
click on your web service (.asmx) and choose Set as Start page. Hit F5 and
you'll be shown the default web service debug page which will allow you to
enter values for your web methods, etc. When you click Invoke, the break
point in that method should be hit.

Mike
http://www.seeknsnatch.com

"perspolis" <re*****@hotmai l.comwrote in message
news:ea******** ******@TK2MSFTN GP03.phx.gbl...
>Hi all
I have a webservice that I want to debug it line by line..
I enabled the Debug option in WeConfig.
but I can't debug that and when I set a break point for it,that dosen't
work
.

thanks in advance



Aug 13 '06 #3
Do as I described in the previous post, then run your app. You'll still hit
the breakpoint, normally.

If this isn't working, do you get an exception, etc. ? What is your setup?
app and web service on the same machine, same VS solution etc ?

Mike
http://www.seeknsnatch.com

"perspolis" <re*****@hotmai l.comwrote in message
news:O%******** ********@TK2MSF TNGP02.phx.gbl. ..
Thanks..but I have an application that coonect to that WebService..
I want to debug that from my application ..how can I debug that from my
application??

"Michael" <in**@seeknsnat ch.comwrote in message
news:44******** **************@ news.free.fr...
>Hi,
Make sure that your website project is the startup project, then right
click on your web service (.asmx) and choose Set as Start page. Hit F5
and you'll be shown the default web service debug page which will allow
you to enter values for your web methods, etc. When you click Invoke, the
break point in that method should be hit.

Mike
http://www.seeknsnatch.com

"perspolis" <re*****@hotmai l.comwrote in message
news:ea******* *******@TK2MSFT NGP03.phx.gbl.. .
>>Hi all
I have a webservice that I want to debug it line by line..
I enabled the Debug option in WeConfig.
but I can't debug that and when I set a break point for it,that dosen't
work
.

thanks in advance




Aug 13 '06 #4
Put both of them in the same solution then set "Multiple start up projects"
to include the web site and the client application

Paul

"perspolis" <re*****@hotmai l.comwrote in message
news:O%******** ********@TK2MSF TNGP02.phx.gbl. ..
Thanks..but I have an application that coonect to that WebService..
I want to debug that from my application ..how can I debug that from my
application??

"Michael" <in**@seeknsnat ch.comwrote in message
news:44******** **************@ news.free.fr...
>Hi,
Make sure that your website project is the startup project, then right
click on your web service (.asmx) and choose Set as Start page. Hit F5
and you'll be shown the default web service debug page which will allow
you to enter values for your web methods, etc. When you click Invoke, the
break point in that method should be hit.

Mike
http://www.seeknsnatch.com

"perspolis" <re*****@hotmai l.comwrote in message
news:ea******* *******@TK2MSFT NGP03.phx.gbl.. .
>>Hi all
I have a webservice that I want to debug it line by line..
I enabled the Debug option in WeConfig.
but I can't debug that and when I set a break point for it,that dosen't
work
.

thanks in advance




Aug 14 '06 #5
Hi perspolis,

According to my idea, you have two different applications, One your client
application and the second is webservice.
Do one thing, just segragate the two projects.
Then from the client application, go to Tools->Attach To Process and select
a process named 'aspnet_wp.exe' .
Then put the breakpoints in your webservice wherever needed.
Once it is done and you run your client application. The application will
come in debug mode once the webservice method is called.

Hope it helps you.
Regards,
Jay Kudecha.

"perspolis" wrote:
Hi all
I have a webservice that I want to debug it line by line..
I enabled the Debug option in WeConfig.
but I can't debug that and when I set a break point for it,that dosen't work
..

thanks in advance
Aug 17 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1497
by: DKode | last post by:
Ok, Maybe there is an easier way to do what it is im trying to do. Let me explain how I have the solution setup first. Basically, I am having alot of difficulty debugging on my local machine and then deploying the projects to remote machines. Project : Portal this is the web project that is the UI for the app. it contains a reference to BusinessLayer
1
1588
by: John Nelson | last post by:
I seem to only be able to use a webservice after I compile a project and run the executable code. When I try to run the code in Visual Studio 2003 in debug mode it always hangs on the "this.Invoke" line of the webservice wrapper and gives me a timeout error. I know it's not a problem with the code since it runs fine in the EXE. I started having this problem on the same machine 2 weeks ago. To my knowledge I didn't change anything in...
9
2321
by: mekim | last post by:
Hi All, I have a solution that has a asp.net app project and webservice project in it When I debug the asp.net app...and then terminate it...the webservice is still live...and aspnet_wp.exe is still live w/ it. I have to end task aspnet_wp.exe in order for the webservice part of the solution to end Is there a "right" way to terminate a webservice project when it is called from a asp.net project in a solution?
2
11213
by: wcchan | last post by:
Hi, We set debug="false" at web.config of a WebService for performance sake. We found that after set, the web service request will sometimes got a timeout exception. Would anyone tell me how long the web service request be timeout and how to configure the timeout limit of the webservice calls? Thanks advance.
0
1914
by: rob | last post by:
I am trying to debug a webservice by steping into a web method called from a windows form project. The strange thing is that sometimes it works but often it does not. When it does not work I get the following error when trying to step into a web method: Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicaes that debugging has not been enabled on the server. See help for...
1
1993
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project referenced all the other class library projects (i.e. so that it used the dll created when those other projects were built). The debug solution was configured so that all the projects in it had debug
1
4262
by: bixbarton | last post by:
Running C# .NET 1.1 I'm experiencing a weird oddity. We have a client app which access the webservice at http://www.test.planningportal.gov.uk/soap/servlet/messagerouter If I start the client with no debugging it's fine. But if I start the client with debuggin on, when it Invokes a method on
2
2293
by: Peter K | last post by:
Hi I have a VS2005 c# solution which includes a webservice and a windows application which uses the webservice. How do I "debug" into the webservice from the application? I can for example debug/attach to aspnet_wp.exe and access the webservice from a browser - and there I can hit breakpoints in the webservice (but unfortunately not access the more complex methods in my webservice).
4
1681
by: John Sheppard | last post by:
Hello all, I have an application written in VB.Net that comsumes a webservice. We are having issues with speed. I have not ruled out a webservice problem, and this was my first guess. However when running through my application in release mode the application's (assemblyname.vhost.exe) memory usage fluctuates heavily and goes upto a max of 1.5GB and then rests on 1GB once the application is loaded. This does not occur in debug mode, it...
0
10111
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.