users@jax-rpc.java.net

Re: Problem parsing Amazon AWSE web services

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Wed, 19 Sep 2007 14:34:30 -0700

This WSDL is uses the document/literal style. You would be much better
off using JAX-WS. I am not sure why NetBeans 6 is not allowing you to
choose JAX-WS, unless you have specified Java EE 4. I have successfully
imported the WSDL with NetBeans 5.5.1.

Dennis Piccioni wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>