You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <tu...@ws.apache.org> on 2006/08/24 08:50:09 UTC
[jira] Created: (TUSCANY-662) Axis2 Binding's OperationClient needs
to be reset to support repeated invocation
Axis2 Binding's OperationClient needs to be reset to support repeated invocation
--------------------------------------------------------------------------------
Key: TUSCANY-662
URL: http://issues.apache.org/jira/browse/TUSCANY-662
Project: Tuscany
Issue Type: Bug
Components: Java SCA Axis Binding
Affects Versions: Java-M2
Environment: Revision: 433239
Reporter: Scott Kurz
When I invoke my service w/ WS binding (Axis2) a second time I get the following exception stack trace:
java.lang.reflect.InvocationTargetException
at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invokeTarget(Axis2TargetInvoker.java:138)
at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invoke(Axis2TargetInvoker.java:145)
at org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44)
at org.apache.tuscany.core.wire.jdk.AbstractJDKOutboundInvocationHandler.invoke(AbstractJDKOutboundInvocationHandler.java:75)
at org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:83)
... 32 more
Caused by: org.apache.axis2.AxisFault: Invalid message addition , operation context completed
at org.apache.axis2.description.OutInAxisOperation.addMessageContext(OutInAxisOperation.java:64)
at org.apache.axis2.context.OperationContext.addMessageContext(OperationContext.java:89)
at org.apache.axis2.description.AxisOperation.registerOperationContext(AxisOperation.java:369)
at org.apache.axis2.description.OutInAxisOperationClient.addMessageContext(OutInAxisOperation.java:158)
at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invokeTarget(Axis2TargetInvoker.java:99)
In looking at the source for method addMessageContext in class org.apache.axis2.description.OutInAxisOperation it appears that the operation context needs to be reset or cleared somehow so that both the in and out values are not set during subsequent invocations after the first.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-662) Axis2 Binding's OperationClient
needs to be reset to support repeated invocation
Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-662?page=all ]
Raymond Feng resolved TUSCANY-662.
----------------------------------
Resolution: Fixed
Assignee: Raymond Feng
Fixed by SVN revision 434263.
> Axis2 Binding's OperationClient needs to be reset to support repeated invocation
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-662
> URL: http://issues.apache.org/jira/browse/TUSCANY-662
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding
> Affects Versions: Java-M2
> Environment: Revision: 433239
> Reporter: Scott Kurz
> Assigned To: Raymond Feng
>
> When I invoke my service w/ WS binding (Axis2) a second time I get the following exception stack trace:
> java.lang.reflect.InvocationTargetException
> at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invokeTarget(Axis2TargetInvoker.java:138)
> at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invoke(Axis2TargetInvoker.java:145)
> at org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44)
> at org.apache.tuscany.core.wire.jdk.AbstractJDKOutboundInvocationHandler.invoke(AbstractJDKOutboundInvocationHandler.java:75)
> at org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:83)
> ... 32 more
> Caused by: org.apache.axis2.AxisFault: Invalid message addition , operation context completed
> at org.apache.axis2.description.OutInAxisOperation.addMessageContext(OutInAxisOperation.java:64)
> at org.apache.axis2.context.OperationContext.addMessageContext(OperationContext.java:89)
> at org.apache.axis2.description.AxisOperation.registerOperationContext(AxisOperation.java:369)
> at org.apache.axis2.description.OutInAxisOperationClient.addMessageContext(OutInAxisOperation.java:158)
> at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invokeTarget(Axis2TargetInvoker.java:99)
> In looking at the source for method addMessageContext in class org.apache.axis2.description.OutInAxisOperation it appears that the operation context needs to be reset or cleared somehow so that both the in and out values are not set during subsequent invocations after the first.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org