This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 165009 - Web Service wsimport makes the build excesively long time if server with wsdl is not availlable
Summary: Web Service wsimport makes the build excesively long time if server with wsdl...
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 01:16 UTC by sandi_ro
Modified: 2016-07-07 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandi_ro 2009-05-13 01:16:41 UTC
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_12; Java HotSpot(TM) 64-Bit Server VM 11.2-b01
System: Linux version 2.6.27.21-170.2.56.fc10.x86_64 running on amd64; UTF-8; en_US (nb)

Please classify.

Steps:

1) make a web project with a web service 
2) deploy in tomcat on second machine ( i.e other PC )
3) make a client project and import service from tomcat url
4) compile client all ok
5) stop tomcat and stop PC with tomcat 
6) clean and build client - it takes very long time to figure out there is no way to get the wsdl from url. There is no
way intuitive way to skip the process but to stop the build.


An idea will be to always build from project's filesystem local wsdl and re-get the wsdl only when invoking "Refresh
Client" from Web service reference context menu. 
Or at least provide some handy way to skip the timeout .

Hope this helps.
Thanks.
Comment 1 sandi_ro 2009-05-13 22:17:13 UTC
Under same condition if there is no PC ( I think that a socket.connect() somwhere is bloking )  the task of refreshing
client cannot be canceled and we have to wait long time until a "

Error: An I/O error occured. Connection timed out"  message appears in output console .
( there is a cancel operation in status bar but it does not work - it looks like nothing occurs )

Comment 2 Andrei Chistiakov 2009-05-17 21:25:59 UTC
Reassigning to websvc
Comment 3 Martin Balin 2016-07-07 09:54:13 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss