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 228305 - @Singleton Web Services nodes in projects have incorrect URL for testing
Summary: @Singleton Web Services nodes in projects have incorrect URL for testing
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: issues@webservices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 21:34 UTC by chase
Modified: 2016-07-07 09:54 UTC (History)
1 user (show)

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 chase 2013-04-05 21:34:19 UTC
WebLogic 12c but might impact other servers.

The URL for both Stateless/Singleton JAX-WS endpoints should be http://host:port/classname/classnameService. It is correct for Stateless EJB endpoints but for Singleton EJB endpoint NetBeans tries to use a URL of http://host:port/webcontext/classnameService (the syntax for POJO endpoints)

Because of this NetBeans can not be used to launch the Test interface for Singleton EJB JAX-WS endpoints.
Comment 1 Sergey Petrov 2013-04-11 11:34:23 UTC
How it webservice/singleton  was created and how to find this url? Please provide steps.
Comment 2 Sergey Petrov 2013-04-11 12:16:50 UTC
with some default wizards, tried to create a web service for a singletone and also tried to create @WebService+@Singletone and got no problem with testing, but may be I miss something. Please reopen with some steps.
Comment 3 catweasle 2014-01-12 18:28:58 UTC
Create a new web application project called CardDeckWS (new webapp wizard).
Create the ejbs.CardDeckSessionBean singleton EJB (new EJB wizard)
Annotate the bean with @WebService.
Add a test method to it.
Deploy.
Under Web Services right click the CardDeckSessionBean and select test webservice.
You get directed to the inexistent http://localhost:7001/wls_utc/begin.do?wsdlUrl=http://localhost:7001/CardDeckWS/CardDeckSessionBeanService?wsdl

Working url for WLS is http://localhost:7001/wls_utc/begin.do?wsdlUrl=http://localhost:7001/CardDeckSessionBean/CardDeckSessionBeanService?wsdl

Tested on NB 7.2 and 7.4p2, weblogic 12.1.1
Comment 4 Martin Balin 2016-07-07 09:54:06 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