[ http://issues.apache.org/jira/browse/AXIS2-1642?page=all ]

Davanum Srinivas resolved AXIS2-1642.
-------------------------------------

    Resolution: Won't Fix

won't fix. kernel maven module does depend on java2wsdl. We've added TypeTable 
from java2wsdl and we need to keep it.

-- dims

> WSDL2Java generated code dependent on axis2-java2wsdl jar
> ---------------------------------------------------------
>
>                 Key: AXIS2-1642
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1642
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>    Affects Versions: 1.1
>         Environment: Win XP, Java 1.5.0_03, Axis 2 1.1 RC2
>            Reporter: Nigel Charman
>            Priority: Minor
>
> Code generated by WSDL2Java with an ADB databinding now requires 
> axis2-java2wsdl.jar in order to compile.  This wasn't the case in 1.1 RC1.
> The dependency is in the following generated code which indirectly references 
> org.apache.ws.java2wsdl.utils.TypeTable.
>         public javax.xml.stream.XMLStreamReader 
> getPullParser(javax.xml.namespace.QName qName){
>                 //We can safely assume an element has only one type 
> associated with it
>                  return new 
> org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME,
>                             new java.lang.Object[]{
>                             
> org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT,
>                             
> org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localEchoIntParam)
>                             },
>                             null);
>         }
> Can be reproduced using the sample wsdl with the command:
>              %AXIS2_HOME%\bin\wsdl2java -uri 
> %AXIS2_HOME%/src/modules/samples/wsdl/Axis2SampleDocLit.wsdl -o 
> %AXIS2_HOME%/src/modules/samples -ss -sd

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to