[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1873) WSDL to Java - Incorrect case of generated type for anonymous type.

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Mon Oct 29 13:10:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1873?page=all ]

Darran Lofthouse updated JBWS-1873:
-----------------------------------

    Description: 
For the following WSDL element and type: -

   <complexType name='Person'>
    <sequence>
      <element name="request" minOccurs="0">
        <complexType>
          <all>
            <element minOccurs="0" maxOccurs="1" name="surname" nillable="true" type="string"/>
          </all>
        </complexType>
      </element>     
    </sequence>
   </complexType>  

  <element name='lookup' type='tns:Person'/>

If this element is referenced from the message and wstools is configured with a parameter-style of wrapped then two classes are generated: -

'LookupRequest.java' and 'Lookuprequest.java', this second class should not be generated.

In addition to this the generated JAX-RPC mapping needs to handle the case of the type correctly.


> WSDL to Java - Incorrect case of generated type for anonymous type.
> -------------------------------------------------------------------
>
>                 Key: JBWS-1873
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1873
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: tools-jaxrpc
>    Affects Versions: jbossws-2.0.1
>            Reporter: Darran Lofthouse
>         Assigned To: Darran Lofthouse
>             Fix For:  jbossws-2.0.3
>
>
> For the following WSDL element and type: -
>    <complexType name='Person'>
>     <sequence>
>       <element name="request" minOccurs="0">
>         <complexType>
>           <all>
>             <element minOccurs="0" maxOccurs="1" name="surname" nillable="true" type="string"/>
>           </all>
>         </complexType>
>       </element>     
>     </sequence>
>    </complexType>  
>   <element name='lookup' type='tns:Person'/>
> If this element is referenced from the message and wstools is configured with a parameter-style of wrapped then two classes are generated: -
> 'LookupRequest.java' and 'Lookuprequest.java', this second class should not be generated.
> In addition to this the generated JAX-RPC mapping needs to handle the case of the type correctly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list