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 "Daniel Beland (JIRA)" <ax...@ws.apache.org> on 2005/03/16 19:47:20 UTC

[jira] Created: (AXIS-1881) xsd:any is removed from the generated wsdl

xsd:any is removed from the generated wsdl
------------------------------------------

         Key: AXIS-1881
         URL: http://issues.apache.org/jira/browse/AXIS-1881
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC3    
    Reporter: Daniel Beland


I try to generate java code from a wsdl with the following complexType:

<complexType name="xmlData">
  <sequence>
    <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
</complexType>

wsdl2java generates the XmlData class correctly with a single field
private org.apache.axis.message.MessageElement [] _any;

But when I install this on tomcat and look at the wsdl generated by Axis,
the xmlData complexType now looks like this:

<complexType name="xmlData">
  <sequence/>
</complexType>

The any element has been removed from the wsdl, but the soap request is serialized correctly (The _any field of the XmlData class is correct).

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1881) xsd:any is removed from the generated wsdl

Posted by "Garret Pick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-1881?page=comments#action_12320026 ] 

Garret Pick commented on AXIS-1881:
-----------------------------------

Hi - does anyone have a work-around for this issue or is there an estimate as to when it might be fixed?

thanks,
Garret

> xsd:any is removed from the generated wsdl
> ------------------------------------------
>
>          Key: AXIS-1881
>          URL: http://issues.apache.org/jira/browse/AXIS-1881
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC3
>     Reporter: Daniel Beland

>
> I try to generate java code from a wsdl with the following complexType:
> <complexType name="xmlData">
>   <sequence>
>     <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
>   </sequence>
> </complexType>
> wsdl2java generates the XmlData class correctly with a single field
> private org.apache.axis.message.MessageElement [] _any;
> But when I install this on tomcat and look at the wsdl generated by Axis,
> the xmlData complexType now looks like this:
> <complexType name="xmlData">
>   <sequence/>
> </complexType>
> The any element has been removed from the wsdl, but the soap request is serialized correctly (The _any field of the XmlData class is correct).

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