Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating correct wsdl from Java method having List as the argument.  RSS feed

 
S Bhaskar
Greenhorn
Posts: 6
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are trying to deploy our Java operations as web service operations using the bottom-up approach. Below is the snippet which shows the method for which the wsdl is not generated properly:


The above snippet was resulting in "JAXB cannot <handle> interface java.util.List". Hence changed it to:


But in this case, the WSDL that is generated contains unnecessary wrappers around the argument.

Please advice.

Thanks in advance.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I tried your code and it worked fine here. Got no JAXB error. Please post full code and steps that are leading to JAXB error.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!