ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udayanga Wickramasinghe (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4838) Code-generation failure in wsdl documents for complex types with null sequence
Date Wed, 06 Oct 2010 14:02:31 GMT
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.4, 1.4.1, 1.5, 1.5.1, 1.5.2
         Environment: jdk 1.6 Ubuntu OS 10.4
            Reporter: Udayanga Wickramasinghe


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