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 179445 - Web Service from WSDL Wizard creates an Endpoint which does not implement the Web Service Port Type interface
Summary: Web Service from WSDL Wizard creates an Endpoint which does not implement the...
Status: REOPENED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 01:34 UTC by fkal
Modified: 2011-04-26 20:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
WSDL used for reproducing this bug (2.00 KB, application/wsdl+xml)
2010-01-13 01:34 UTC, fkal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkal 2010-01-13 01:34:59 UTC
Created attachment 93241 [details]
WSDL used for reproducing this bug

Steps to reproduce:

1.) Create a new EJB Module
2.) Right click on the project > New > Web Service From WSDL
3.) Use the provided sample.wsdl (or an arbitrary one)to create the Web Service
4.) Open the Web Service Enpoint Java class.
5.) This class does not implement the generated Web Service Port Type

This leads to an error in the CASA editor. Take the following steps to reproduce:

1.) Create a new Composite Application
2.) Drag and Drop the EJB Module into the Composite Application
3.) Build the Composite Application
4.) Observe that the created JBI Module has an erroneous consumer port (which is the same as the provider port for the Web Service imported from the WSDL) AND a provider port. The consumer port is erroneously wired to the WSDL port (what can not be changed in the editor!).

The error can be fixed doing the following:
1.) Implement the Web Service port interface in the Web Service Endpoint class (in the EJB Module)
2.) Re-Build the Composite Application
Comment 1 fkal 2010-01-13 01:35:36 UTC
I forgot to mention: This was still done correctly using Netbeand 6.1!
Comment 2 fkal 2010-01-21 23:49:19 UTC
Just wanted to check the current status of the issue. Were you able to reproduce this issue or do you need anything additional from me?
Comment 3 Denis Anisimov 2011-04-26 11:07:18 UTC
>This class does not implement the generated Web Service Port Type
It is not required by JAX-WS specification.
Comment 4 fkal 2011-04-26 17:16:44 UTC
I do not know the JAX-WS specification in detail. But as a NetBeans User I would at least expect that the CASA editor does work (what it does only, if it implements the Web Service Port Type interface).

Hence from my point of view this issue is not resolved. Probably the CASA editor relies (wrongly) on the class implementing the Web Service Port Type interface.


(In reply to comment #3)
> >This class does not implement the generated Web Service Port Type
> It is not required by JAX-WS specification.
Comment 5 Denis Anisimov 2011-04-26 17:21:32 UTC
(In reply to comment #4)
> I do not know the JAX-WS specification in detail. But as a NetBeans User I
> would at least expect that the CASA editor does work (what it does only, if it
> implements the Web Service Port Type interface).
So this is the problem of CASA editor.
I don't know what is CASA.
Is it SOA product ?
Please use the correct product value.
Comment 6 fkal 2011-04-26 20:42:34 UTC
Yes it's the SOA product, meaning OpenESB.
I guess CASA stands for Composite Application Service Assembly, so I think "Composite Application" is the correct component.

Thanks!

(In reply to comment #5)
> So this is the problem of CASA editor.
> I don't know what is CASA.
> Is it SOA product ?
> Please use the correct product value.