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 "Senaka Fernando (JIRA)" <ji...@apache.org> on 2010/12/05 20:23:11 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12967006#action_12967006 ]
Senaka Fernando commented on AXIS2-4838:
----------------------------------------
Hi Andreas,
Was a bit busy last few weeks. I'll have a look into this and get this sorted and checked-in.
Thanks,
Senaka.
> 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