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 49889 - Missing port information after add method into web service
Summary: Missing port information after add method into web service
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: Roderico Cruz
URL:
Keywords:
: 50013 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-04 15:17 UTC by Petr Blaha
Modified: 2006-05-31 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
trace (3.61 KB, text/plain)
2004-10-04 15:18 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2004-10-04 15:17:35 UTC
[Build 041004]
empty userdir,  Sun Java System Application Server
Platform Edition 8.1 (build b28-beta)
Steps:
1) File | New Project | Web Application
2) change default directory and create web app project
3) in Project tab right-click on web app's node
and invoke New | Web Service
4) Into Web Service class add operation
5) Run web project
5) go to Runtime tab, click Web Service and invoke
Add Webservice action
6) enter URl your web service
7) get web service iformation
8) test your method, get result
9) click Cancel button
10) add second operation to web service class
11) run Web Project
12) make steps  5,6,7
13) test second method
Get JAXRPCSERVLET28: Missing port information
Comment 1 Petr Blaha 2004-10-04 15:18:04 UTC
Created attachment 18022 [details]
trace
Comment 2 Roderico Cruz 2004-10-07 14:21:40 UTC
This appears to be a redeployment issue, currently discussing this
with Ludo. Can reproduce this simply by redeploying the web app, even
without any changes. 
Meanwhile, you can get around this in either of two ways:
1. Delete the contents of the build directory and redeploy or,
2. Add the web app to a J2EE app and deploy/redeploy the J2EE app.
Comment 3 _ ludo 2004-10-09 21:49:33 UTC
the fix is to force the copy (overwrite="true") of all the files under
web-inf in the build area:

         <copy todir="${build.web.dir}" overwrite="true">
            <fileset dir="${web.docbase.dir}"
excludes="WEB-INF/classes/**"/>
        </copy>
line 201

This will put the correct descriptors in the directory before doing
redeployment...
Otherwise App Server si modifying them at deplo time, and due to
timestamp check, we don;t put the ones from src area...

We will integrated the fix before EA1
Comment 4 Petr Blaha 2004-10-11 13:24:55 UTC
*** Issue 50013 has been marked as a duplicate of this issue. ***
Comment 5 Roderico Cruz 2004-10-12 06:35:17 UTC
Added entries in the build-impl.xml of the project that refreshes the
generated files that are copied there by the App Server (as a
consequence of directory-based deployment).
Comment 6 Petr Blaha 2004-10-13 09:56:04 UTC
Build 041013
Comment 7 Petr Blaha 2004-10-13 10:40:20 UTC
Remove all issues from temporary component.