473,394 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Debugging OneWay Web methods

Folks,

I have a Web service with the two possible types of methods - OneWay and
Request/Response. The problem is while debugging I cannot step into the
OneWay methods, while trying to do the same with Request/Response methods is
working just fine! Have any ideas why this happens? I have Microsoft .NET
framework 2.0 and Visual Studio 2005 as the development platform.

Regards,
George Jordanov Ivanov
May 5 '06 #1
1 2442
The problem is solved! In the first place, it is normal not be able to step
into the server side code for a OneWay Web method - this is so because
ASP.NET treats OneWay Web methods like the async web methods - that is it
just sends the HTTP request without waiting for the Web method to be
executed. However, I had to be able to debug my OneWay Web method attaching
to the ASP.NET worker process server-side, but unfortunately I still
couldn't hit the break point into my OneWay Web method. The problem now
turned out to be (you won't believe it but it is true) that the debug
information symbols are not loaded. I have couple of plane Class libraries,
which hold the business logic called by the Web service. However, for
Web-based projects, the configuration platform is ".NET" (on default), while
for Class libraries - "Any CPU" (on default). So in order to build the whole
solution, VS2005 builds it as "Mixed Platforms" platform, which obviously
cases the trouble. When I bring back the active platform to be ".NET", then
I am able to hit my breakpoints into the OneWay Web method.

Hope that if someone else experience the same problem, this will help
him/her as well :-)

Regards,
George Jordanov Ivanov
www.givanov.net

"George Jordanov Ivanov" <ge***********@newsgroups.nospam> wrote in message
news:eV**************@TK2MSFTNGP05.phx.gbl...
Folks,

I have a Web service with the two possible types of methods - OneWay and
Request/Response. The problem is while debugging I cannot step into the
OneWay methods, while trying to do the same with Request/Response methods
is working just fine! Have any ideas why this happens? I have Microsoft
.NET framework 2.0 and Visual Studio 2005 as the development platform.

Regards,
George Jordanov Ivanov

May 5 '06 #2

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

Similar topics

0
by: TT (Tom Tempelaere) | last post by:
Hi, In my project I have a seperate logging application. I use remoting to log to it. The remoted object exposes a certain (log-)interface, and the methods therein are all OneWay methods...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
0
by: Christopher D. Wiederspan | last post by:
I have a web service and I'm using a connection string to SQL Server that specifies "Integrated Security=SSPI" to impersonate the calling user. My setup works fine until I add the attribute to...
0
by: Bruce L | last post by:
I've developed a web service with the SoapDocumentMethod(OneWay=true) attribute. The service performs a number of functions including accessing/updating SQL databases, and creating and reading a...
4
by: yinglcs | last post by:
I am trying to debug a C++ program in GDB on linux. I want to dump out the content of the "this" object, Here is what I get: (gdb) print *this $2 = {path = <incomplete type>} My question is...
0
by: DMT012 | last post by:
I have a WebMethod with the attribute OneWay set to True. When the acknowledgement gets sent back to the calling computer the content-type HTTP header is not present, and my firewall drops the...
2
by: archana | last post by:
Hi all, I am having one confusion regarding webmethod's fire and forget behaviour. Say suppose i have method like public void StartStatsCrunch() {
0
by: Jesse Houwing | last post by:
Hello all, I was wondering... If you look in the documentation and on the web to find any info on long running webservice calls, they all come down to: Add the SoapDocumentMethod Attribute to...
0
by: sirmoreno | last post by:
Hi, In my web site I have some long tasks that I want to call without delaying the page rendering - without making the thread that handels the page request wait for the long task to end. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...

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.