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 101972 - Build failed by attempt to add Web Service
Summary: Build failed by attempt to add Web Service
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords:
Depends on:
Blocks: 102284
  Show dependency tree
 
Reported: 2007-04-20 14:46 UTC by Roman Mostyka
Modified: 2007-04-26 08:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE's log (35.70 KB, text/plain)
2007-04-23 16:29 UTC, Roman Mostyka
Details
Screenshot of Output window's message (40.14 KB, image/jpeg)
2007-04-23 17:46 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2007-04-20 14:46:25 UTC
1. Open 'Runtime' tab.
2. Rightclick 'Web Services' node and select 'Add Web Service'.
3. Enter http://www.webservicex.net/usweather.asmx?WSDL in 'WSDL URL' field.
4. Click Add button.

Result: Build failed, but web service is added.
Text from output window:

"client-dt-wscompile:
Building jar: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\USWeather-src.jar
Compiling 2 source files to C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\build
Note: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\src\websvc\USWeatherSoapGetWeatherReport.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Building jar: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\USWeather.jar
Deleting directory C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\build
Deleting directory C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\src
Created dir: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\dt\build
Designtime Classpath - C:\Sun\LongFin\visualweb1\modules\ext\designtime.jar.
Compiling 3 source files to C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\dt\build
Note: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\dt\src\websvc\USWeatherSoapGetWeatherReportDesignInfo.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Building jar: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\USWeather-dt.jar
Building jar: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\USWeather-dt-src.jar
Deleting directory C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxrpc\dt
client-dt-wsimport:
Copying 1 file to C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\src\websvc
Copying 1 file to C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\build\websvc
Building jar: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\USWeather-src.jar
Building jar: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\USWeather.jar
Deleting directory C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\build
Deleting directory C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\src
Created dir: C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\dt\build
C:\Sun\LongFin\visualweb1\ws_import_compile.xml:152: srcdir "C:\Documents and
Settings\rm153204.GRIF\.netbeans\dev\websvc\USWeather\jaxws\dt\src" does not exist!
BUILD FAILED (total time: 3 seconds)".
Comment 1 Roman Mostyka 2007-04-23 16:29:47 UTC
Created attachment 41476 [details]
IDE's log
Comment 2 Roman Mostyka 2007-04-23 17:44:33 UTC
When 'Add' button is clicked, there is some messages in Output window. I don't
have time to read it or copy it, because it disappears very quickly and there is
no similar messages in log.
I can only observer that it is wscompile message, that wscompile failed.
Screenshot in attach.
Comment 3 Roman Mostyka 2007-04-23 17:46:06 UTC
Created attachment 41484 [details]
Screenshot of Output window's message
Comment 4 Roman Mostyka 2007-04-24 09:44:14 UTC
It prevents to add Web Service to Visual Web Application.
It happens also for build 070424.
Comment 5 Quy Nguyen 2007-04-25 04:51:39 UTC
The import of web services with multiple ports was not working.  This has been
corrected.  Also the error handling during the WS compilation has been improved
to abort after the first failure instead of attempting the subsequent steps.