Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 709E9200B80 for ; Wed, 14 Sep 2016 15:40:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F421160ABA; Wed, 14 Sep 2016 13:40:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E701160AB4 for ; Wed, 14 Sep 2016 15:40:22 +0200 (CEST) Received: (qmail 24450 invoked by uid 500); 14 Sep 2016 13:40:21 -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 24424 invoked by uid 99); 14 Sep 2016 13:40:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2016 13:40:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 869072C0D57 for ; Wed, 14 Sep 2016 13:40:21 +0000 (UTC) Date: Wed, 14 Sep 2016 13:40:21 +0000 (UTC) From: "Christian Schneider (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 archived-at: Wed, 14 Sep 2016 13:40:23 -0000 [ https://issues.apache.org/jira/browse/DOSGI-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15490466#comment-15490466 ] Christian Schneider commented on DOSGI-209: ------------------------------------------- Fixed in https://github.com/apache/cxf-dosgi/commit/a109b28facacc3f61ec37a84fd1b3a449e20deb6 > 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 > Components: DSW > Affects Versions: 1.4.0, 1.5.0 > Environment: Java 1.7, DOSGI-1.5.0, Jetty 8.1.13, win32 > Reporter: Ranjeeth > Assignee: Christian Schneider > Fix For: 2.0.0 > > Attachments: IntentManagerImpl.java.patch > > > 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.3.4#6332)