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 77631 - warn user if he is creating client from wsdl which contains imports
Summary: warn user if he is creating client from wsdl which contains imports
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 14:20 UTC by Lukas Jungmann
Modified: 2006-09-28 13:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2006-06-09 14:20:53 UTC
In some cases (mainly if in wsdl there are imported schemas) there might be
situations that one datatype is defined in more namespaces. The result of this
is that wscompile/wsimport task will fail.

In 5.5 we should at least add some warning to the wizard (something like eg.
"There might be problems during client creation. You can fix this by writing
binding file and add it to the client using Edit ws attributes." in case of
JAX-WS client)

The best solution would be to detect possible conflicts directly in the wizard
and if there are some then silently create external binding file for the user
(or add new panel to the wizard where user can modify package name for types
from different namespaces).
Comment 1 Lukas Jungmann 2006-06-09 14:22:31 UTC
other option would be to improve our docs...
Comment 2 Geertjan Wielenga 2006-06-09 14:24:54 UTC
Problems in u.i. should not be fixed by docs.
Comment 3 Roderico Cruz 2006-06-17 00:05:34 UTC
If I am understanding this correctly, this should be taken care of by the XML
Retriever. Can you attach as sample wsdl/schema that illustrates this problem?
Thanks.
Comment 4 Milan Kuchtiak 2006-07-20 15:01:14 UTC
Increasing priority to P2 as other P" bu is a duplicate of this.
Comment 5 Milan Kuchtiak 2006-07-20 15:01:40 UTC
*** Issue 79813 has been marked as a duplicate of this issue. ***
Comment 6 Milan Kuchtiak 2006-08-30 16:52:44 UTC
Fixed.
The HINT is generated in the form of error message.
Tested on http://ws.interfax.net/dfs.asmx?wsdl

Diff:
Checking in
clientapi/src/org/netbeans/modules/websvc/spi/jaxws/client/Bundle.properties;
/cvs/websvc/clientapi/src/org/netbeans/modules/websvc/spi/jaxws/client/Attic/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.1.2.6; previous revision: 1.1.2.5
Comment 7 Lukas Jungmann 2006-09-28 13:47:46 UTC
v.