cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1019) "Collocated Invocation should have been detected." error in the coloc-binding
Date Thu, 29 Oct 2009 01:08:59 GMT

     [ https://issues.apache.org/jira/browse/CXF-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-1019.
------------------------------

       Resolution: Won't Fix
    Fix Version/s: Invalid


This is working as designed.   If the service models don't line up, they cannot be colocated
so the detection worked properly.

> "Collocated Invocation should have been detected." error in the coloc-binding
> -----------------------------------------------------------------------------
>
>                 Key: CXF-1019
>                 URL: https://issues.apache.org/jira/browse/CXF-1019
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.1
>         Environment: windows
>            Reporter: Jeff Yu
>             Fix For: Invalid
>
>
> How to reproduce:
> 1. Update the "/wsdl/header_doc_lit.wsdl" in cxf-testutils.module as following.
> Change the "
>     <message name="inoutHeaderResponse">
>         <part element="x1:inoutHeaderResponse" name="inout"/>
>         <part element="x1:header" name="header"/>
>     </message>
> "
> TO 
>  "
>     <message name="inoutHeaderResponse">
>         <part element="x1:header" name="header"/>
>         <part element="x1:inoutHeaderResponse" name="inout"/>
>     </message>
>  "
> 2. run the "ColocHeaderDocLitTest" in the cxf-systest module. and then you will get the
error stack as follow:
> ------------------------------------------
> javax.xml.ws.ProtocolException: Collocated Invocation should have been detected.
> 	at org.apache.cxf.systest.coloc.ThrowFaultInterceptor.handleMessage(ThrowFaultInterceptor.java:36)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205)
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
> 	at $Proxy49.inoutHeader(Unknown Source)
> 	at org.apache.cxf.systest.coloc.AbstractHeaderServiceDocLitTest.verifyInOutHeaderParts(AbstractHeaderServiceDocLitTest.java:124)
> 	at org.apache.cxf.systest.coloc.AbstractHeaderServiceDocLitTest.testAll(AbstractHeaderServiceDocLitTest.java:95)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
> 	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
> 	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> 	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> 	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> 	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
> 	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
> 	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
> 	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> 	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> 	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

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