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 11:55:59 UTC

[jira] Updated: (AXIS-2097) WSDL2Java does not generate "bean array" responses when using wrapped/literal

     [ http://issues.apache.org/jira/browse/AXIS-2097?page=all ]

Rodrigo Ruiz updated AXIS-2097:
-------------------------------

    Attachment: TestBean.java

The bean source code

> 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
>
> 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