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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2008/07/04 13:07:57 UTC

[jira] Resolved: (AXIS2-813) Automatically generated WSDL fails to generate complex type for inner classes

     [ https://issues.apache.org/jira/browse/AXIS2-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-813.
-------------------------------------

    Resolution: Fixed

Now the issue is fixed 

> Automatically generated WSDL fails to generate complex type for inner classes
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-813
>                 URL: https://issues.apache.org/jira/browse/AXIS2-813
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>            Reporter: Jochen Wiedmann
>            Assignee: Deepal Jayasinghe
>            Priority: Minor
>         Attachments: AxisInnerClassesBug.tar.gz, SchemaGenerator.diff
>
>
> I have created a class "AddressManager", which uses an inner class "Address". The inner class is used as a parameter and result type in "AddressManager". As a next step, I have created a "services.xml", in order to make the "AddressManager" available as a web service. I followed the descriptions in the section on "Use Axis2's primary interfaces (APIs) and implement the business logic." from userguide2.html.
> Deploying this web service works fine. The automatically generated WSDL looks good at first glance. However, closer inspection shows that the complexType, which is created for "Address" doesn't contain any elements, or attributes. This is caused by the fact that "Address" is an inner class: If you refactor the inner class as an outer class, then everything works fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org