cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyril Bonté (JIRA) <j...@apache.org>
Subject [jira] Issue Comment Edited: (CXF-2671) Can't execute an operation with more than 128 arguments
Date Sat, 13 Feb 2010 15:04:28 GMT

    [ https://issues.apache.org/jira/browse/CXF-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833397#action_12833397
] 

Cyril Bonté edited comment on CXF-2671 at 2/13/10 3:03 PM:
-----------------------------------------------------------

In attachment, an WSDL file based on the hello_world example.

This file provides 129 parameters.

Step to reproduce :
1. wsdl2java -all bug.wsdl
2. ant GreeterServer
3. in another console : ant GreeterClient

Which gives :
     [java] Invoking sayHi...
     [java] 13 févr. 2010 16:03:16 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
     [java] ATTENTION: Interceptor for {http://apache.org/hello_world_soap_http}SOAPService#{http://apache.org/hello_world_soap_http}sayHi
has thrown exception, unwinding now
     [java] org.apache.cxf.interceptor.Fault: -128
     [java]     at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:119)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)
     [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
     [java]     at $Proxy39.sayHi(Unknown Source)
     [java]     at org.apache.hello_world_soap_http.Greeter_SoapPort_Client.main(Greeter_SoapPort_Client.java:184)
     [java] Caused by: java.lang.ArrayIndexOutOfBoundsException: -128
     [java]     at java.util.ArrayList.elementData(ArrayList.java:338)
     [java]     at java.util.ArrayList.get(ArrayList.java:351)
     [java]     at org.apache.hello_world_soap_http.types.SayHi_WrapperTypeHelper1.createWrapperObject(Unknown
Source)
     [java]     at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:103)
     [java]     ... 8 more
     [java] Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: -128
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
     [java]     at $Proxy39.sayHi(Unknown Source)
     [java]     at org.apache.hello_world_soap_http.Greeter_SoapPort_Client.main(Greeter_SoapPort_Client.java:184)
     [java] Caused by: java.lang.ArrayIndexOutOfBoundsException: -128
     [java]     at java.util.ArrayList.elementData(ArrayList.java:338)
     [java]     at java.util.ArrayList.get(ArrayList.java:351)
     [java]     at org.apache.hello_world_soap_http.types.SayHi_WrapperTypeHelper1.createWrapperObject(Unknown
Source)
     [java]     at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:103)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)
     [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
     [java]     ... 2 more
     [java] Java Result: 1

Removing only one parameter will work.



      was (Author: cbonte):
    In attachment, an WSDL file based on the hello_world example.

This file provides 129 parameters.

Step to reproduce :
1. wsdl2java -all bug.wsdl
2. ant GreeterServer
3. in another console : ant GreeterClient

Removing only one parameter will work.
  
> Can't execute an operation with more than 128 arguments
> -------------------------------------------------------
>
>                 Key: CXF-2671
>                 URL: https://issues.apache.org/jira/browse/CXF-2671
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Cyril Bonté
>         Attachments: bug.wsdl
>
>
> When a WSDL provides more than 128 arguments, the client request fails on a ArrayIndexOutOfBoundsException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message