Using Netbeans 6 beta 1 Java SE edition. I also installed the plugins
for XML, WSDL and Web Services.
When I add a Web Service Client from this WSDL, using JAX-RPC (the
only choice, it is the default in the 'JAX Version' combo box, which
is disabled:
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl,
building always generates these errors:
Copying 1 file to
C:\java\projects\NetBeans\books\build\generated\wsclient\wsdl
error: the following naming conflicts occurred:
amazon.ListType_Enumeration
...
wscompile failed
BUILD FAILED (total time: 1 second)
where 'amazon' is the package name.
I Googled this and found this reply in a Sun forum:
WSDL:
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
Is not intended for current version of Java ME web services
(JSR172) due to unsupported data types.
but I'm using Java SE, not ME.
Regards,
Dennis
Regards,
Dennis