Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Debugging SOAP Extensions

Reply
Thread Tools

Debugging SOAP Extensions

 
 
Ron
Guest
Posts: n/a
 
      12-18-2003
Hi

Trying to debug a soap extension. I have been unable to get the debugger to stop in the soap extension code

I have tried this using a soap extension in a seperate class library as well as an extension coded within the same web site as the test page that uses a web services method call, which contains the proper soap extension attribute

Any ideas on how to step into soap extension code would be appreciated

Ron
 
Reply With Quote
 
 
 
 
MSFT
Guest
Posts: n/a
 
      12-18-2003
Hi Ron,

To debug a such a SOAP Extension class ( I suggest you put the class in a
class library project), you can attach this project to the process w3wp.exe:

Click menu "Debug/Processes, set "Show System Process" and attch to the
w3wp.exe. ANd then, open IE to browse the asmx file to invoke the web
method.

Hope this help,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

 
Reply With Quote
 
 
 
 
Mahesh ChandraMouli[MVP]
Guest
Posts: n/a
 
      12-18-2003
Hi,

Usually the below approach seems
to work alright for me:

Place the break points in the class that implements your
SOAP extension
(In my case, the SOAP extension class was in the same
project
as the web service project. I am assuming it would work
if the SOAP extension was
a separate class library).
Set the project's Debug settings to Wait to attach to an
external process. Hit F5.
Then start up the client application that consumes the
webservice and invoke a
method in the web service. This usually hits the
breakpoints in the
SOAP extension.

Regards
Mahesh ChandraMouli
Microsoft .NET MVP|MCAD(Charter Member)
>-----Original Message-----
>Hi,
>
>Trying to debug a soap extension. I have been unable to

get the debugger to stop in the soap extension code.
>
>I have tried this using a soap extension in a seperate

class library as well as an extension coded within the
same web site as the test page that uses a web services
method call, which contains the proper soap extension
attribute.
>
>Any ideas on how to step into soap extension code would

be appreciated.
>
>Ron
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access extensions menu or add extensions (I've tried past suggestions) nospam@spam.com Firefox 8 12-01-2005 01:33 AM
Soap Extensions Klaus Löffelmann ASP .Net Web Services 3 06-25-2004 06:51 PM
Soap Extensions Christopher Padgett ASP .Net Web Services 4 01-23-2004 05:45 AM
Huge memory footprint using SOAP extensions! R. Sterrenburg ASP .Net Web Services 0 12-02-2003 03:31 PM
Problem with SOAP Extensions in .Net WebService Mani ASP .Net Web Services 1 10-04-2003 06:12 AM



Advertisments