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.
Summary: | wizard for creating webservice client from existing EJB3 component | ||
---|---|---|---|
Product: | webservices | Reporter: | florent_garin <florent_garin> |
Component: | JAX-WS | Assignee: | Roderico Cruz <rcruz> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
florent_garin
2007-07-16 16:07:57 UTC
The contract between web service provider and its consumer is defined by WSDL file, not by anything else and it is also not guaranteed that classes generated from java (by wsgen) will be the same as classes generated from WSDL (by wsimport)... @jungi: I would rather say: it's almost guaranteed that classes generated from java (by wsgen) will be different than classes generated from WSDL ! The problem is : J2EE 1.5 promise us POJO paradigm and more and more I dive into J2EE 1.5 and more and more I see that's not true ! I have POJO domain model objects (if I can still call POJO objects classes full of JPA and xml binding annotations...that's another story) wrapped into a jar file which is common to java swing client, ejb part and war part. I just want to exchange these objects through webservice like I did when my session ejbs were using IIOP. The solution I submitted work correctly, I'm just surprised to see neither netbeans nor any Sun tutorial talk about that. And according to the number of people search the web for such solution I think that could be an improvement to have netbeans propose this. I agree that this could be a good improvement (=> enhancement). What you can try now is to create some java library project, create a ws client there, go to project properties -> sources -> includes/excludes, set there what you don't want to be packaged in the final jar of this library and on places from where you want to call the ws use the client from the library instead of creating the client in the ie. web project. moving opened issues where TM != dev to TM=TBD |