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 111457 - it's not possible to open a webservice file
Summary: it's not possible to open a webservice file
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Designer (show other bugs)
Version: 6.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 11:57 UTC by Jindrich Sedek
Modified: 2007-08-15 08:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (88.91 KB, text/plain)
2007-07-31 11:57 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-07-31 11:57:24 UTC
Create new WebApplication
Create new WebService called IOParametrs in "hints" package
replace whole content of the file with this code:
------------------------------------------------
package hints;

import javax.ejb.Stateless;
import javax.jws.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebParam.Mode;
import javax.jws.WebService;

@Stateless()
@WebService()
public class IOParametrs {
    @WebMethod(operationName="setName")
    public void setName(@WebParam(name="name", mode=Mode.INOUT) String name) {
        String personName = name;
    }

    @Oneway()
    @WebMethod(operationName="setAge")
    public void setAge(@WebParam(name="age", mode=Mode.OUT) int age) {
        int personAge = age;
    }

    @Oneway()
    @WebMethod(operationName="setSurname")
    public void setSurname(@WebParam(name="surname", mode=Mode.IN) String surname) {
        String personSurname = surname;
    }
}
-----------------------------------------------
close file, try to reopen it - it's not possible from WebServices node, Source files node neither from files view
StackOverflowError is thrown and file is not opened (better reproducible reopening whole project)
Comment 1 Jindrich Sedek 2007-07-31 11:57:58 UTC
Created attachment 45925 [details]
stacktrace
Comment 2 bhate 2007-08-01 01:40:09 UTC
We will depend upon fileobject attributes instead of jaxwsmodel or servicemodel.
Comment 3 Jindrich Sedek 2007-08-15 08:33:00 UTC
verified.
NetBeans IDE Dev (Build 200708150000)