axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4838) Code-generation failure in wsdl documents for complex types with null sequence
Date Sat, 27 Nov 2010 13:35:25 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964359#action_12964359
] 

Andreas Veithen commented on AXIS2-4838:
----------------------------------------

Senaka, any progress on this issue?

> Code-generation failure in wsdl documents for complex types with null sequence  
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-4838
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4838
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.2, 1.5.1, 1.5, 1.4.1, 1.4
>         Environment: jdk 1.6 Ubuntu OS 10.4
>            Reporter: Udayanga Wickramasinghe
>            Assignee: Senaka Fernando
>         Attachments: SampleService.wsdl, WSDL2javacodegen.patch
>
>
> WSDL2java Code-generation is faulty for WSDL documents with Null sequence Complex Types

> ie:- <xsd:element name="echoString">
>                 <xsd:complexType>
>                     <xsd:sequence/>
>                 </xsd:complexType>
>             </xsd:element>
> This happens when binding Operation contains soap Headers as inputs...a sample generated
code is shown below...
> /**
>  * SampleService.java
>  *
>  * This file was auto-generated from WSDL
>  * by the Apache Axis2 version: SNAPSHOT  Built on : Aug 07, 2010 (07:59:55 IST)
>  */
>     package org.apache.axis2.sample.wsdl.client;
>     /*
>      *  SampleService java interface
>      */
>     public interface SampleService {
>           
>         /**
>           * Auto generated method signature
>           * 
>                     * @param echoString2
>                 
>                     * @param string3
>                 
>          */
>           //faulty code generation
>                      public java.lang.String echoString(
>                         ,java.lang.String string3)
>                         throws java.rmi.RemoteException
>              ;
>         
>          /**
>             * Auto generated method signature for Asynchronous Invocations
>             * 
>                 * @param echoString2
>             
>                 * @param string3
>             
>           */
>         public void startechoString(
>             java.lang.String string3,
>                 
>             final org.apache.axis2.sample.wsdl.client.SampleServiceCallbackHandler callback)
>             throws java.rmi.RemoteException;
>      
>         /**
>           * Auto generated method signature
>           * 
>                     * @param echoProject6
>                 
>          */
>          
>                      public org.apache.axis2.sample.wsdl.types.Project echoProject(
>                         org.apache.axis2.sample.wsdl.types.Project param7)
>                         throws java.rmi.RemoteException
>              ;
>         
>          /**
>             * Auto generated method signature for Asynchronous Invocations
>             * 
>                 * @param echoProject6
>             
>           */
>         public void startechoProject(
>             org.apache.axis2.sample.wsdl.types.Project param7,
>             final org.apache.axis2.sample.wsdl.client.SampleServiceCallbackHandler callback)
>             throws java.rmi.RemoteException;
>      
>         
>        //
>        }
>     

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message