Thanks for that

 

I got  breakpoint hit, but in the web method that works.

Looks like the exception occurs before the it hits the source code where I
placed my break point in the method that is failing.

 

I'll have to investigate some more.

I really hate trawling through someone else's code. 

Also its more like an archaeological dig considering how old this stuff is.

 

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 (Monday, Wednesday,Friday)

Phone : +618 9346 4372 (Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : petermad...@iinet.net.au; peter.mad...@health.wa.gov.au
The contents of this e-mail transmission outside of the WAGHS network are
intended solely for the named recipient's), may be confidential, and may be
privileged or otherwise protected from disclosure in the public interest.
The use, reproduction, disclosure or distribution of the contents of this
e-mail transmission by any person other than the named recipient(s) is
prohibited. If you are not a named recipient please notify the sender
immediately.

 

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Jano Petras
Sent: Monday, 12 December 2011 4:18 PM
To: ozDotNet
Subject: Re: asmx web service

 

w3wp.exe is not available unless application pool is up (1 app pool = 1 w3wp
in IIS7). 

If you are running it under IIS, and cannot find process to attach to,
execute the first web method that works fine. This will load application
pool and from that point on (until the next build) you will see this process
in the list. 



On 12 December 2011 09:13, Peter Maddin <petermad...@iinet.net.au> wrote:

With WCF, no probs. 

 

This is an old asmx web service built with vs2005 that I have converted
within VS2010.

I don't see that as an option.

 

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 <tel:%2B618%206396%204285>  (Monday,
Wednesday,Friday)

Phone : +618 9346 4372 <tel:%2B618%209346%204372>  (Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : petermad...@iinet.net.au; peter.mad...@health.wa.gov.au
The contents of this e-mail transmission outside of the WAGHS network are
intended solely for the named recipient's), may be confidential, and may be
privileged or otherwise protected from disclosure in the public interest.
The use, reproduction, disclosure or distribution of the contents of this
e-mail transmission by any person other than the named recipient(s) is
prohibited. If you are not a named recipient please notify the sender
immediately.

 

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of djones...@gmail.com


Sent: Monday, 12 December 2011 3:40 PM
To: ozDotNet
Subject: Re: asmx web service

 

Run it through the built in web server to debug it. 

Davy

Sent from my BlackBerryR wireless device

  _____  

From: "Peter Maddin" <petermad...@iinet.net.au> 

Sender: ozdotnet-boun...@ozdotnet.com 

Date: Mon, 12 Dec 2011 15:37:06 +0800

To: 'ozDotNet'<ozdotnet@ozdotnet.com>

ReplyTo: ozDotNet <ozdotnet@ozdotnet.com> 

Subject: asmx web service

 

I have been asked to investigate an application build with vb.net that uses
asmx type web service.

 

Having come from a C#/WCF background, I am having some problems with the web
service.

 

I have built the asmx web service and created an application within IIS to
host it.

 

When I use a browser to open the web service I can see all the published
methods.

 

I can invoke the methods. 

The first method works fine (no parameters to pass).

The second gives me an exception.

 

I have pointed the IIS application to where I the project is. If I comment
out a method and rebuild the web site, when I refresh the browser, the
method disappears. Remove the comments, rebuild, refresh the browser and it
comes back, so I know that I am in the correct place and not using a copy of
the web site.

 

I have set a breakpoint in my code for the second method but it is ignored
when I invoke it via the web browser.

How do I debug the web service code in VS2010?

 

Any help appreciated (I know re-doing it using wcf would be more
appropriate, but I am just learning how it works at present).

 

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 <tel:%2B618%206396%204285>  (Monday,
Wednesday,Friday)

Phone : +618 9346 4372 <tel:%2B618%209346%204372>  (Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : petermad...@iinet.net.au; peter.mad...@health.wa.gov.au
The contents of this e-mail transmission outside of the WAGHS network are
intended solely for the named recipient's), may be confidential, and may be
privileged or otherwise protected from disclosure in the public interest.
The use, reproduction, disclosure or distribution of the contents of this
e-mail transmission by any person other than the named recipient(s) is
prohibited. If you are not a named recipient please notify the sender
immediately.

 

 

 

Reply via email to