Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62ADD104D4 for ; Fri, 18 Oct 2013 09:46:45 +0000 (UTC) Received: (qmail 46816 invoked by uid 500); 18 Oct 2013 09:46:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 46736 invoked by uid 500); 18 Oct 2013 09:46:43 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 46709 invoked by uid 99); 18 Oct 2013 09:46:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 09:46:42 +0000 Date: Fri, 18 Oct 2013 09:46:42 +0000 (UTC) From: "Ranjeeth (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DOSGI-209) when bundles registers two WS with different SoapBinding Style Document/RPC then one of the STYLE is not as expected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DOSGI-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ranjeeth updated DOSGI-209: --------------------------- Description: After migrating from 1.3.1 to 1.5.0, i see strange behavior with the SOAPBINDING Style [DOCUMENT/RPC], Sample Interface: {code:title=Interface |borderStyle=solid} @WebService(name="iDocumentStyleBindingServiceType", portName="iDocumentStyleBindingServicePort", serviceName="IDocumentStyleBindingServiceService", targetNamespace=IDocumentStyleBindingService.TNS) @SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL) public interface IDocumentStyleBindingService { public static final String TNS = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService"; @WebResult(name = "IDocumentStyleBindingServiceResult", targetNamespace = IDocumentStyleBindingService.TNS, partName = "IDocumentStyleBindingServiceResult") @Action(input = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingService", output = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingServiceResponse") @WebMethod(operationName = "GetLetterFormURIs", action = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingService") public String IDocumentStyleBindingService(); } {code} {code:xml} {code} Generated WSDL with SOAP Binding style - RPC, should have been document. {code:xml} {code} Accessing the service results in following exception {noformat} java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:110) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:218) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:198) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:163) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722) {noformat} was: Sample Interface: {code:title=Interface |borderStyle=solid} @WebService(name="iDocumentStyleBindingServiceType", portName="iDocumentStyleBindingServicePort", serviceName="IDocumentStyleBindingServiceService", targetNamespace=IDocumentStyleBindingService.TNS) @SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL) public interface IDocumentStyleBindingService { public static final String TNS = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService"; @WebResult(name = "IDocumentStyleBindingServiceResult", targetNamespace = IDocumentStyleBindingService.TNS, partName = "IDocumentStyleBindingServiceResult") @Action(input = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingService", output = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingServiceResponse") @WebMethod(operationName = "GetLetterFormURIs", action = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingService") public String IDocumentStyleBindingService(); } {code} {code:xml} {code} Generated WSDL with SOAP Binding style - RPC, should have been document. {code:xml} {code} Accessing the service results in following exception {noformat} java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:110) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:218) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:198) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:163) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722) {noformat} > when bundles registers two WS with different SoapBinding Style Document/RPC then one of the STYLE is not as expected > -------------------------------------------------------------------------------------------------------------------- > > Key: DOSGI-209 > URL: https://issues.apache.org/jira/browse/DOSGI-209 > Project: CXF Distributed OSGi > Issue Type: Bug > Affects Versions: 1.5.0 > Environment: Java 1.7, DOSGI-1.5.0, Jetty 8.1.13, win32 > Reporter: Ranjeeth > > After migrating from 1.3.1 to 1.5.0, i see strange behavior with the SOAPBINDING Style [DOCUMENT/RPC], > Sample Interface: > {code:title=Interface |borderStyle=solid} > @WebService(name="iDocumentStyleBindingServiceType", portName="iDocumentStyleBindingServicePort", serviceName="IDocumentStyleBindingServiceService", targetNamespace=IDocumentStyleBindingService.TNS) > @SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL) > public interface IDocumentStyleBindingService { > public static final String TNS = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService"; > > @WebResult(name = "IDocumentStyleBindingServiceResult", targetNamespace = IDocumentStyleBindingService.TNS, partName = "IDocumentStyleBindingServiceResult") > @Action(input = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingService", output = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingServiceResponse") > @WebMethod(operationName = "GetLetterFormURIs", action = "http://www.temp.uri/temp/iDocumentStyleBindingServiceService/IDocumentStyleBindingService") > public String IDocumentStyleBindingService(); > } > {code} > {code:xml} > > > > > > > > > > > > > {code} > Generated WSDL with SOAP Binding style - RPC, should have been document. > {code:xml} > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > {code} > Accessing the service results in following exception > {noformat} > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.rangeCheck(ArrayList.java:604) > at java.util.ArrayList.get(ArrayList.java:382) > at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:110) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) > at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) > at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) > at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:218) > at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:198) > at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) > at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158) > at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243) > at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:163) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219) > at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) > at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) > at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > at org.eclipse.jetty.server.Server.handle(Server.java:370) > at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) > at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) > at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) > at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) > at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) > at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > at java.lang.Thread.run(Thread.java:722) > {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)