[ 
http://issues.apache.org/jira/browse/AXIS2-409?page=comments#action_12363654 ] 

Ajith Harshana Ranabahu commented on AXIS2-409:
-----------------------------------------------

The WSDL does not seem right to me (talking about the version 371424 - before 
being fixed)
The binding says doc/lit but there are some messages that need wrapping. 
Specifically the last 12 messages use the type attribute instead of the element 
attribute. IMHO these messages should also refer to elements rather than types.


> ADB generated code fails for arrays of complextypes
> ---------------------------------------------------
>
>          Key: AXIS2-409
>          URL: http://issues.apache.org/jira/browse/AXIS2-409
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>     Reporter: Davanum Srinivas
>     Assignee: Ajith Harshana Ranabahu

>
> Please run WSDL2Java against the 
> modules\integration\test\samples\wsdl\bench\Benchmark.wsdl and try to compile 
> the generated code.
> Compiling 55 source files to C:\BENCH\build\classes
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\EchoMeshInterfaceObjectsRequest.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfMeshInterfaceObject(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setInput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfMeshInterfaceObject(
>                                                                               
>           ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\EchoMeshInterfaceObjectsResponse.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfMeshInterfaceObject(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setOutput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfMeshInterfaceObject(
>                                                                               
>            ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\EchoSimpleEventsRequest.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfSimpleEvents(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setInput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfSimpleEvents(
>                                                                               
>           ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\EchoSimpleEventsResponse.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfSimpleEvents(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setOutput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfSimpleEvents(
>                                                                               
>            ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\ReceiveMeshInterfaceObjectsRequest.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfMeshInterfaceObject(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setInput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfMeshInterfaceObject(
>                                                                               
>           ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\ReceiveSimpleEventsRequest.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfSimpleEvents(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setInput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfSimpleEvents(
>                                                                               
>           ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\SendMeshInterfaceObjectsResponse.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfMeshInterfaceObject(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setOutput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfMeshInterfaceObject(
>                                                                               
>            ^
> C:\BENCH\src\edu\indiana\extreme\www\wsdl\benchmark1\SendSimpleEventsResponse.java:74:
>  cannot find symbol
> symbol  : method convertToArrayOfSimpleEvents(java.lang.String)
> location: class org.apache.axis2.databinding.utils.ConverterUtil
>                         
> object.setOutput(org.apache.axis2.databinding.utils.ConverterUtil.convertToArrayOfSimpleEvents(
>                                                                               
>            ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 8 errors
> thanks,
> dims

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