You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Cyril Bonté (JIRA)" <ji...@apache.org> on 2010/02/13 15:58:27 UTC
[jira] Created: (CXF-2671) Can't execute an operation with more
than 128 arguments
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é
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.
[jira] Updated: (CXF-2671) Can't execute an operation with more
than 128 arguments
Posted by "Cyril Bonté (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyril Bonté updated CXF-2671:
-----------------------------
Component/s: JAXB Databinding
> 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
> Components: JAXB Databinding
> 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.
[jira] Commented: (CXF-2671) Can't execute an operation with more
than 128 arguments
Posted by "Cyril Bonté (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833455#action_12833455 ]
Cyril Bonté commented on CXF-2671:
----------------------------------
It works if org.apache.cxf.jaxb.WrapperHelperCompiler is modified to always fallback to reflection mode.
> 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.
[jira] Issue Comment Edited: (CXF-2671) Can't execute an operation
with more than 128 arguments
Posted by "Cyril Bonté (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CXF-2671) Can't execute an operation with more
than 128 arguments
Posted by "Cyril Bonté (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyril Bonté updated CXF-2671:
-----------------------------
Attachment: bug.wsdl
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.
[jira] Resolved: (CXF-2671) Can't execute an operation with more
than 128 arguments
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2671.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.7
Assignee: Daniel Kulp
Used the "push short " instead of "push byte" to increase limit to 32K.
> 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
> Components: JAXB Databinding
> Affects Versions: 2.2.6
> Reporter: Cyril Bonté
> Assignee: Daniel Kulp
> Fix For: 2.2.7
>
> 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.