You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rodrigo Ruiz (JIRA)" <ax...@ws.apache.org> on 2005/07/01 12:06:58 UTC
[jira] Commented: (AXIS-2097) WSDL2Java does not generate "bean array" responses when using wrapped/literal
[ http://issues.apache.org/jira/browse/AXIS-2097?page=comments#action_12314884 ]
Rodrigo Ruiz commented on AXIS-2097:
------------------------------------
I have seen similar bug reports, but none of them seem to be exactly the same problem.
I guess it is a bug in the WSDL2Java tool, am I right?
> WSDL2Java does not generate "bean array" responses when using wrapped/literal
> -----------------------------------------------------------------------------
>
> Key: AXIS-2097
> URL: http://issues.apache.org/jira/browse/AXIS-2097
> Project: Apache Axis
> Type: Bug
> Components: WSDL processing
> Environment: Windows XP SP2, Sun JDK 1.4.2_08, Axis 1.2 Release
> Reporter: Rodrigo Ruiz
> Attachments: Test.java, TestBean.java, test.wsdl
>
> I use Java2WSDL (with --style WRAPPED --use LITERAL arguments) to generate a WSDL file for the following test class:
> public class Test {
> public TestBean getBean() { return null; }
> public TestBean[] getBeans() { return null; }
> }
> And, after generating the wsdl, I use WSDL2Java (with -W argument) to generate the client stubs.
> The generated classes do not compile, because the class GetBeansResponse has not been generated. This happens with any response of "bean array" type.
> I will add some attachments with the actual code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira