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 99917

Summary: NEw JMS operation added is not created with default values
Product: soa Reporter: pushpa <pushpa>
Component: JMS BCAssignee: Sujit Biswas <sujitbiswas>
Status: NEW ---    
Severity: blocker CC: sweng
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 100269    
Bug Blocks:    

Description pushpa 2007-04-04 07:52:03 UTC
Desc:

The default values for JMS operation created during the WSDL genaration are 
<jms:operation destination="DefaultQueue" destinationType="Queue"/>
            <wsdl:input name="input1">
                <jms:message messageType="TextMessage" textPart="change me"/>


But when we add JMS operation later to the created WSDL,JMS operation is 
created as follows

<jms:operation destination="Provide value for this required attribute" 
destinationType="Topic"/>
            <wsdl:input name="input1">

This should be creates with destination typ Queue & text part is also missing.
Comment 1 James Tran 2007-04-06 23:16:16 UTC
Will see if wsdl editor allows custom plug in.
Comment 2 Sherry Weng 2007-10-26 18:40:19 UTC
Set target to "future" - to be fixed in component pack release for JMS BC
Comment 3 Sherry Weng 2007-10-26 18:48:26 UTC
This will be fixed in the component pack release for JMS BC
Comment 4 Sujit Biswas 2009-11-12 11:29:57 UTC
this is fixed now in the latest glassfish esb 2.2
Comment 5 rajupgl 2009-11-17 23:37:51 UTC
Verified in the latest build(GFESB:20091116-0720:2.2).
Still getting the same result:when we add JMS operation later to the created WSDL,JMS operation is created as follows

<jms:operation destination="Provide value for this required attribute" 
destinationType="Topic"/>
            <wsdl:input name="input1">

This should be creates with destination typ Queue & text part is also missing.
It could be fine if we provide the default values while adding jms:binding also
Comment 6 Sujit Biswas 2009-11-18 11:45:41 UTC
ok I see the expectation here, the current option is specifying the details using the property sheet, the issue is some of the details would require user input, like the message part can not be put automatically ( there could be more than one message part which one to put ?) possibly this can be best served by making an enhancement request, like adding an operation would take the user through a wizard where user can specify the details, 

Changing this to an enhancement.