Debuging Soap Extension

A

alexey

If I set Break Point inside my class which overrides SoapExtension and use my WebService in my client application (in the same VS.NET Solution) it don't stop's in this Break Point.... 8-((( But executes SoapExtension.....



If I set my web Service as a Startup Project the web Service event don't execute SoapExtension....



So the question is:

1) How to debug SoapExtension if I use it in a Client Application ?

2) How to execute SoapExtension in a Solution which contains single Web Service project if I simple press F5 button ?



Best regards....
 
P

Paul Glavich [MVP - ASP.NET]

In VS.NET, right click on your solution and go to the 'Startup project' option. Enable the 'Multiple Startup projects' option and make sure that the 2 projects (your client and SOAP extension project) are set to 'Start'.

When you hit F5, a browser windows will now -also- pop up for your SOAp extension project, as well as your client project window and you should be able to set breakpoints and step into it.

--
- Paul Glavich
Microsoft MVP - ASP.NET


If I set Break Point inside my class which overrides SoapExtension and use my WebService in my client application (in the same VS.NET Solution) it don't stop's in this Break Point.... 8-((( But executes SoapExtension.....



If I set my web Service as a Startup Project the web Service event don't execute SoapExtension....



So the question is:

1) How to debug SoapExtension if I use it in a Client Application ?

2) How to execute SoapExtension in a Solution which contains single Web Service project if I simple press F5 button ?



Best regards....
 
A

alexey

Thanks... It's good if the Soap Extension is a part of the Web Service Project...

but what I have to do if my Soap Extension is a separate Class Library project in the same Solution as a Client and web service solution?...



It steel debugs my Soap Extension only on the client side but not in the server side.... 8-(((

In VS.NET, right click on your solution and go to the 'Startup project' option. Enable the 'Multiple Startup projects' option and make sure that the 2 projects (your client and SOAP extension project) are set to 'Start'.

When you hit F5, a browser windows will now -also- pop up for your SOAp extension project, as well as your client project window and you should be able to set breakpoints and step into it.

--
- Paul Glavich
Microsoft MVP - ASP.NET


If I set Break Point inside my class which overrides SoapExtension and use my WebService in my client application (in the same VS.NET Solution) it don't stop's in this Break Point.... 8-((( But executes SoapExtension.....



If I set my web Service as a Startup Project the web Service event don't execute SoapExtension....



So the question is:

1) How to debug SoapExtension if I use it in a Client Application ?

2) How to execute SoapExtension in a Solution which contains single Web Service project if I simple press F5 button ?



Best regards....
 
P

Paul Glavich [MVP - ASP.NET]

Using the method I described earlier, I have successfully managed to debug a SOAP extension on both sides. Make sure you have the 'Multiple Startup projects' option selected as well as each individual project set to start (using method I described below). Sometimes I have set 2 projects to start, but not activated the multiple startup projects option.

--
- Paul Glavich
Microsoft MVP - ASP.NET


Thanks... It's good if the Soap Extension is a part of the Web Service Project...

but what I have to do if my Soap Extension is a separate Class Library project in the same Solution as a Client and web service solution?...



It steel debugs my Soap Extension only on the client side but not in the server side.... 8-(((

In VS.NET, right click on your solution and go to the 'Startup project' option. Enable the 'Multiple Startup projects' option and make sure that the 2 projects (your client and SOAP extension project) are set to 'Start'.

When you hit F5, a browser windows will now -also- pop up for your SOAp extension project, as well as your client project window and you should be able to set breakpoints and step into it.

--
- Paul Glavich
Microsoft MVP - ASP.NET


If I set Break Point inside my class which overrides SoapExtension and use my WebService in my client application (in the same VS.NET Solution) it don't stop's in this Break Point.... 8-((( But executes SoapExtension.....



If I set my web Service as a Startup Project the web Service event don't execute SoapExtension....



So the question is:

1) How to debug SoapExtension if I use it in a Client Application ?

2) How to execute SoapExtension in a Solution which contains single Web Service project if I simple press F5 button ?



Best regards....
 
V

Vern DeHaven

Alexey,

When your extension is part of a class library project (in the same
solution), set a reference to the class library project in your Web
service project. Then, the only startup project needed is the Web service
project. You can set breakpoints normally in the SoapExtension class.

HTH,
Vern
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top