Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 176564

Summary: Support generation of Sample JSPs for JAX-WS 2.0
Product: [WebTools] WTP Webservices Reporter: Chris Brealey <cbrealey>
Component: jst.wsAssignee: Kathy Chan <kathy>
Status: CLOSED WONTFIX QA Contact: Kathy Chan <kathy>
Severity: enhancement    
Priority: P3 CC: david_williams, shane_clarke
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
zip of modified source files none

Description Chris Brealey CLA 2007-03-06 23:38:00 EST
We have copied and made several modifications to the JAX-RPC Web service "Sample JSP" code generators and underlying data model from WTP, specifically the org.eclipse.jst.ws.consumption plugin, in order to adapt them to generate JAX-WS Web service Sample JSPs. Most of the changes to the Sample JSP code generator source files from org.eclipse.jst.ws.consumption address differences between the JAX-RPC 1.1 and JAX-WS 2.0 / JAX-B 2.0 programming models, including the need to language elements new to Java 5, such as generics and enums. The necessary changes will be attached here shortly for the interest of the community and for the eventual purpose of reintegrating them into a future release of WTP that includes a JAX-WS compliance Web service runtime, possibly Axis2 + JAX-WS.
Comment 1 Andrew Mak CLA 2007-03-07 09:26:42 EST
Created attachment 60372 [details]
zip of modified source files
Comment 2 Chris Brealey CLA 2007-09-14 16:25:03 EDT
Assigned to you, Kathy. Thanks - CB.
Comment 3 Kathy Chan CLA 2008-02-06 20:31:09 EST
No JAX-WS compliance Web service runtime available in WTP releases in the near term.  No plan to implement this RFE at this point.
Comment 4 Chris Brealey CLA 2008-02-07 17:47:51 EST
Agreed and closed. Should an open JAX-WS solution be pursued down the road, please remember that collateral is attached to this bug for reuse.
Comment 5 Shane Clarke CLA 2009-01-12 05:08:43 EST
Hi, as we now have a JAX-WS Tools component in the WTP incubator project which currently supports CXF i'd like to re-open this enhancement request.

I've been looking at the attached source files and there seems to be a few classes missing, namely:

com.ibm.ccl.ws.internal.jaxws.gstc.apt.InOutParametersMap
com.ibm.ccl.ws.internal.jaxws.gstc.apt.InOutParametersMap.ParamInfo
com.ibm.ccl.ws.internal.jaxws.gstc.apt.IProxyInterfaceFinder
com.ibm.ccl.ws.internal.jaxws.gstc.apt.commands.ProcessAnnotationsCommand
com.ibm.ccl.ws.internal.jaxws.gstc.apt.visitors.ParameterDeclarationPostVisitor

com.ibm.ccl.ws.internal.jaxws.gstc.beanmodel.CollectionElement
com.ibm.ccl.ws.internal.jaxws.gstc.beanmodel.EnumElement
com.ibm.ccl.ws.internal.jaxws.gstc.beanmodel.ExceptionElement

com.ibm.ccl.ws.internal.jaxws.gstc.core.Activator
com.ibm.ccl.ws.internal.jaxws.gstc.core.GstcCoreMessages

com.ibm.ccl.ws.internal.jaxws.gstc.generators.ConfigGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.OutputGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ParameterTypeListGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResponseBeanHelper
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResponseBeanHelper.AccessorInfo;
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResultExceptionReturnGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResultInOutParameterDeclareGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResultInOutParameterAssignAsyncGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResultInOutParameterAssignGenerator
com.ibm.ccl.ws.internal.jaxws.gstc.generators.ResultParameterInvokeAsyncGenerator

com.ibm.ccl.ws.internal.jaxws.gstc.jem.visitors.JavaEmfExceptionVisitor

com.ibm.ccl.ws.internal.jaxws.gstc.jem.visitoractions.JavaEmfExceptionVisitorAction

com.ibm.ccl.ws.internal.jaxws.gstc.types.HolderType
com.ibm.ccl.ws.internal.jaxws.gstc.types.UnsupportedType

com.ibm.ccl.ws.internal.jaxws.gstc.types.BooleanType
com.ibm.ccl.ws.internal.jaxws.gstc.types.DataHandlerType
com.ibm.ccl.ws.internal.jaxws.gstc.types.ImageType
com.ibm.ccl.ws.internal.jaxws.gstc.types.SourceType
com.ibm.ccl.ws.internal.jaxws.gstc.types.XMLGregorianCalendarType
com.ibm.ccl.ws.internal.jaxws.gstc.types.DurationType
com.ibm.ccl.ws.internal.jaxws.gstc.types.QNameType
com.ibm.ccl.ws.internal.jaxws.gstc.types.URIType
com.ibm.ccl.ws.internal.jaxws.gstc.types.UUIDType
com.ibm.ccl.ws.internal.jaxws.gstc.types.PrimitiveByteArrayType

com.ibm.ccl.ws.internal.jaxws.gstc.ui.commands.JaxwsProxyCheckingWrapperCommand;

com.ibm.ccl.ws.internal.jaxws.gstc.visitors.ExceptionVisitor

Would it be possible to attach these missing classes?

Thanks, Shane
Comment 6 Kathy Chan CLA 2009-01-15 10:19:52 EST
Hi Shane,

I understand where you are coming from for making that fair request.  However, I'm afraid I would have to say no for contributing those missing classes.

We attached to this bug the files we copied and modified from WTP in order to be compliant with the EPL. Those missing classes you pointed out were extra classes we added for our product beyond the original files to provide JAX-WS Web services sample JSP support. We hope that the files in the attached zip can still serve as a useful example to help you or others develop your own sample JSP generators. 

Regards,
Kathy
Comment 7 Shane Clarke CLA 2009-01-16 06:00:41 EST
Hi Kathy,

That's no problem. Had to ask.

Thanks,
Shane
Comment 8 Kathy Chan CLA 2009-02-11 22:01:10 EST
This bug has been in resolved state for a while (with resolution set to Invalid, Duplicate, wontfix or workforme).  Please verify that you're OK with this resolution and close the defect.  Please re-open if you don't agree with this assessment.

If this is not verified within 2 weeks, we'll be verifying the bug on your behalf.  Thanks!
Comment 9 Shane Clarke CLA 2009-02-12 07:01:00 EST
Closing