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 123837

Summary: Generate stub code for Web service and client using JAX-WS Provider and Dispatch API
Product: webservices Reporter: _ gmpatil <gmpatil>
Component: ClientAssignee: bhate <bhate>
Status: NEW ---    
Severity: blocker CC: fkieviet, rcruz, venuv
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 117865    

Description _ gmpatil 2007-12-11 18:40:59 UTC
Depending on the scenarios sometimes it desirable to handle messages at the XML source level, 
either for performance or ease of development reasons. 
It is desirable to have tooling support to facilitate the generation of the code snippet using Provider and Dispatch APIs.

Use case for Client, using Dispatch API:
1.MDB gets XML message for request to get credit report from external service provider.
2.Exact same message or slightly modified message is used to invoke external service provider using Dispacth API
3.Part of or complete response message from the external Service serialized into JMS message and sent to another Queue
or Topic.

Use case for Service, using Provider API:
1. EJB Web service implemented thru Provider API gets invoked with shipment request for an item.
2. EJB WS triggers the BPEL process to start the shipment process by either send exact input XML message or slightly
modified XML source.
3. EJB may also send the message to JMS Queue for logging or auditing purposes.

In both cases additional XML to Java and Java to XML conversion is avoided.
Comment 1 Martin Grebac 2007-12-12 10:28:30 UTC
Isn't this same as 123408?
Comment 2 _ gmpatil 2007-12-12 22:16:28 UTC
Yes, this one is same as #123408.
I created this one as I did not see it under the umbrella issue #117865. 
Please feel to free mark one of them as duplicate.
Comment 3 Roderico Cruz 2007-12-15 00:20:46 UTC
*** Issue 123408 has been marked as a duplicate of this issue. ***
Comment 4 Lukas Jungmann 2008-04-14 17:14:58 UTC
moving opened issues where TM != dev to TM=TBD