• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

avmwebguy
#1 Posted : Wednesday, May 14, 2008 10:34:01 AM(UTC)
avmwebguy

Rank: Member

Joined: 1/24/2008(UTC)
Posts: 60

I am new to using web services, however I believe I've found a bug when using Visual Studio 2008 Professional.

Steps to Recreate this:


1. Add Web Reference http://www.goavm.com/store/WebServices3.asmx - Name: BVWebService

It finds the service correctly, and lists all the methods in the little helper window.

2. Then somewhere in code:

Dim wsTest as New BVWebService.


And here VS Freezes. . . I actually let it go for around 3-10 minutes and it'll finally stop trying to do whatever it was trying to do, and then it won't find any of the methods or properties for intellisense. If I backspace the period and try again it'll take another 3-10 minutes. . . If I start typing, it'll take another 3-10 minutes to do anything. . .

This is very frustrating to not be able to do anything quickly with this.


I've tried this exact same thing in VS 2005 and it works fine. . . I can get the reference to the service and then manipulate it in code as expected, in seconds compared to minutes.



Is this a bug with VS 2008? Or perhaps the webservices need to be updated before we can use it with 2008? Or maybe is the code different for 2008? If anyone knows any kind of work around please let me know.


Any help will be appreciated.
- Brian

Web Developer/IT Manager
Andy Miller
#2 Posted : Wednesday, May 14, 2008 3:30:33 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
I haven't seen this particular behavior, but it is clearly a bug in VS2008 which is acting as a client of the web service.

ScottGu listed "performance improvements" as one of the improvements in the VS2008 SP1 beta. You might also look at the VS2008 hotfixes (unfortunately, I don't remember the URL to the hotfixes).
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
avmwebguy
#3 Posted : Thursday, May 15, 2008 1:11:10 PM(UTC)
avmwebguy

Rank: Member

Joined: 1/24/2008(UTC)
Posts: 60

Thanks Andy. . .


Yeah its definitely a bug with 2008. I will probably just develop it in 2005 and convert it to 2008 once its finished.


More info on the SP1 Beta (SP1 will be released this summer sometime): http://weblogs.asp.net/scottgu/archive/2008/05/12/visual-studio-2008-and-net-framework-3-5-service-pack-1-beta.aspx




I'm going to try the hot fix (at https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=10826) and see if that fixes anything. . . I will report on it here once its done installing.




-- Update --

Well I tried the hotfix, and it doesn't seem to affect this problem. . . it still takes forever to get any kind of intellisense and freezes the IDE when using webservices with visual studio 2008.


I hope they fix this in the SP1, because after reading and learning out webservices I was really looking forward to using them. :P
- Brian

Web Developer/IT Manager
Kman
#4 Posted : Thursday, May 22, 2008 11:31:01 PM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Why do you say it is a bug in VS2008. Have been developing plenty of 2008 services with no issue at all. Also hooked up to Brian's services with no issue.
Perhaps the size of this service wsdl and your machines assets. Did take a few seconds to load up in VS but it did.
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
avmwebguy
#5 Posted : Tuesday, May 27, 2008 9:31:22 AM(UTC)
avmwebguy

Rank: Member

Joined: 1/24/2008(UTC)
Posts: 60

Because it takes that long (2-5 minutes) to load EVERY time you try to do anything with it, instead of just loading once and then going quickly afterwards.

This machine has 3gb ram - intel Core 2 duo. . . and it does Not happen with visual studio 2005.


After you loaded the http://www.goavm.com/store/WebServices3.asmx service, can you then reference it and proceed to program using that reference? Does it try to load it every time you use that reference, or does it go quickly after that?

Also can you explain how you went about loading the service and reference it, in case I'm doing something wrong. . .
- Brian

Web Developer/IT Manager
Marcus
#6 Posted : Tuesday, May 27, 2008 6:47:36 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

I've been running VS2008 for a couple of months now and haven't had any issues with web services. However, I do see some big slowdowns on other projects when I reference a lot of web services or large ones.

I think this is partially just the fact the .net generates proxy classes on the fly based on wsdl files and it can be really slow.
eric
#7 Posted : Wednesday, May 28, 2008 2:00:37 PM(UTC)
eric

Rank: Member

Joined: 4/25/2003(UTC)
Posts: 71

Brian,

See if the resolution to this post helps:

http://forums.bvcommerce.com/default.aspx?f=78&m=54309

I had a problem compiling when I referenced a webservice in VS2008.
avmwebguy
#8 Posted : Thursday, May 29, 2008 8:36:37 AM(UTC)
avmwebguy

Rank: Member

Joined: 1/24/2008(UTC)
Posts: 60

That worked Eric. Thank you so much!


So to anyone else having this problem, if you turn off Generate XML Documentation, it won't freeze anymore. Now things are fast and smooth just like they should be.
- Brian

Web Developer/IT Manager
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012