[ 
http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315727 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

It seems to me the logic for sensing and handling the wrapped style WSDL is 
broken. Currently if we use --noWrapped flag on the amzon wsdl, WSDL2Java 
generates class for the element types defined in types secion of WSDL, 
otherwise it doesn't .  However, when the flag is not specified, the generated 
classes for PortType, Stub and BindingImpl classes assume that the wrapper 
class for the types are also generated, which is not correct, and the generated 
code doesn't compile.

After a digging for a while, i'm now at SymbolTable.setTypeReferences() which 
is not setting the flag onlyLiteralReference properly. may be due to wrapped 
not being is not set to true.

Tom, do you have comments on this? since i find this code a bit old and stable 
so far.

- venkat

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example 
> being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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

Reply via email to