Looks like I have to create a dummy client proxy (probably in a console app)
to debug it.

Shame as the web browser would have been so convenient.

But I don't know what to attach to. 

 

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 : [email protected]; [email protected]
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: [email protected] [mailto:[email protected]]
On Behalf Of [email protected]
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" <[email protected]> 

Sender: [email protected] 

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

To: 'ozDotNet'<[email protected]>

ReplyTo: ozDotNet <[email protected]> 

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 (Monday, Wednesday,Friday)

Phone : +618 9346 4372 (Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : [email protected]; [email protected]
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