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 145197 - Schema Import in WSDL Wizzard for FileBC in the latest built is missing
Summary: Schema Import in WSDL Wizzard for FileBC in the latest built is missing
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-26 18:26 UTC by Tientien Li
Modified: 2008-10-20 20:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
type selection (16.79 KB, text/plain)
2008-08-26 21:05 UTC, Tientien Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tientien Li 2008-08-26 18:26:11 UTC
realBase wrote:
> Hi,
>
> I installed the latest built (Build 20080819) of OpenESB with NetBeans
> inside.
>
> My Problem is that there is a new WSDL-Wizzard. It is not possible anymore
> to import an XSD-Schema when I want to use the FileBC. During the old
> Wizzward I have to decide in the end whether I want to use SOAP, FTP, JMS,
> File for communication and in the beginning I was able to import the schema
> and define an element from the schema for the message. This is not possible
> anymore (importing schema, sertting schema element for the message) with the
> new wizzard when I "choose concrete" wsdl and "file".
>
> Is this a bug or on purpose?
>   

PS, this is for new code from the SOA-DEV branch
Comment 1 Shivanand Kini 2008-08-26 19:08:00 UTC
Element or type chooser can be used to select elements/types without importing a schema. The schema should be present in
the project, before the wizard is started (as before).

In the file bc wizard, on request configuration/response configuration, there is select xsd type button, which will show
up the element or type chooser.

So this is on purpose.
Comment 2 Tientien Li 2008-08-26 21:04:05 UTC
kini,

Please try the following and tell us is this a bug or not:

- create a Sync SOA sample project
- right click SynchronousSampleApplication/Process Files to select new/WSDL Document...
- in the wizard, select Concrete WSDL Document, SOAP binding, and Next
- the user will be able to select element or type as before (see attached image)

Now... back up to the first wizard panel again
- select FILE binding and next
- get a "Request Configuration" wizard panel
- select xml in Payoad Processing

What should a user do now to select element or type? Nothing happens when clicking on the "..." button..

--
Tientien Li
Comment 3 Tientien Li 2008-08-26 21:05:31 UTC
Created attachment 68381 [details]
type selection
Comment 4 Shivanand Kini 2008-08-30 02:08:04 UTC
Misinterpreted the comment before. The issue seems to be that, even when a element or type is selected, the schema
import is not generated in the created wsdl. Reopening the issue
Comment 5 Shivanand Kini 2008-08-30 02:08:56 UTC
Fix comitted. When an element or type is selected, appropriate import is generated.
Comment 6 ggenipudi 2008-10-20 20:37:20 UTC
Tested and verified using NetBeans IDE 6.1 (Build 200810140114) and was able to create syncrhronous sample and concrete
WSDL  file bc and select poll and select payload processing XML and select the Element from synchronous.xsd