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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/28 06:44:46 UTC
[jira] Resolved: (AXIS2-4838) Code-generation failure in wsdl
documents for complex types with null sequence
[ https://issues.apache.org/jira/browse/AXIS2-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-4838.
-------------------------------------------------
Resolution: Fixed
fixed this with the fix AXIS2-4866
> 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