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 100511 - Can't invoke WS from EJB
Summary: Can't invoke WS from EJB
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks: 99085
  Show dependency tree
 
Reported: 2007-04-10 19:56 UTC by Andrey Yamkovoy
Modified: 2007-06-22 23:09 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 Andrey Yamkovoy 2007-04-10 19:56:27 UTC
Steps to reproduce:
- Create EJB module project.
- Create web service client.
- Create Session bean.
- Add some business method to bean (there is no context menu 'EJBMethods' on
editor (it's another issue) so create method by type it in editor).
- Invoke context menu 'Web Service Client Resources > Call Web Service
Operation...'. In opened wizard select operation of WS and press OK button.
- Notice that code for WS invokation was not added.

Looks like the problem is after creating web service client some files not
created or referenced because I can't invoke even not using this wizard.
Comment 1 Lukas Jungmann 2007-04-10 20:13:29 UTC
Is it JAX-WS (Java EE 5) or JAX-RPC (J2EE 1.4) client? Can you also tell us
which WSDL do you use?
Comment 2 Srividhya Narayanan 2007-04-11 02:05:46 UTC
This is for jaxws. There are two issues

- EJBmethod not showing up should be filed and tracked separately.
- The web service client issue has a workaround. You can actually drag and drop
the client node from the logical view.

Downgrading the priority to P2 since there is a workaround.
Comment 3 Andrey Yamkovoy 2007-04-11 19:03:05 UTC
This issue blocks Identity functionality for EJB based web services.
By the way the workaround don't resolve the identity problem.
Comment 4 Andrey Yamkovoy 2007-04-11 19:54:38 UTC
Raise issue back up to P1 because using this workaround the serviceref
annotation is not created.
Comment 5 Srividhya Narayanan 2007-04-11 20:04:48 UTC
This issue has to be resolved for M9 to unblock identity. So, changing the
target milestone.
Comment 6 Milan Kuchtiak 2007-04-12 10:57:38 UTC
Fixed. Call WS Operation works now.
However, the @WebServiceRef is not created due to issue 99214.
Comment 7 Lukas Jungmann 2007-06-11 20:31:06 UTC
Kaktus, can you verify this, please? Thanks.
Comment 8 Lukas Jungmann 2007-06-22 23:09:35 UTC
@WebServiceRef is now being created as well => v.