Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 66555 invoked from network); 20 Nov 2008 02:22:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2008 02:22:35 -0000 Received: (qmail 78139 invoked by uid 500); 20 Nov 2008 02:22:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 78128 invoked by uid 500); 20 Nov 2008 02:22: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 78116 invoked by uid 99); 20 Nov 2008 02:22:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 18:22:43 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 02:21:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7FD4C234C296 for ; Wed, 19 Nov 2008 18:21:44 -0800 (PST) Message-ID: <64116943.1227147704122.JavaMail.jira@brutus> Date: Wed, 19 Nov 2008 18:21:44 -0800 (PST) From: "Benson Margulies (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1923) Message "SOAPBinding can not on method with RPC style" ? In-Reply-To: <307844516.1227118124181.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649245#action_12649245 ] Benson Margulies commented on CXF-1923: --------------------------------------- Here's the explanation, but it's not going to be a big help. The code rejects any individual method with an @SOAPBinding with a style of RPC. It accepts RPC on the overall service, but not on methods. I've improved the message, but I'm going to see if Dan has anything to say about the reasonableness of the exception. SOAPBinding_MESSAGE_RPC= JAX-WS SOAPBinding annotation with Style of RPC found on method {0}. This is not supported. > Message "SOAPBinding can not on method with RPC style" ? > -------------------------------------------------------- > > Key: CXF-1923 > URL: https://issues.apache.org/jira/browse/CXF-1923 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.1.3 > Reporter: Ryan Heaton > Assignee: Benson Margulies > > Here's the method: > @SOAPBinding ( > style = SOAPBinding.Style.RPC > ) > String addInfoSet(String sourceId, InfoSet infoSet) throws ServiceException; > And here's what I get: > SOAPBinding can not on method with RPC style > org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.isWrapped(JaxWsServiceConfiguration.java:662) > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.isWrapped(ReflectionServiceFactoryBean.java:1670) > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createOperation(ReflectionServiceFactoryBean.java:768) > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createOperation(JaxWsServiceFactoryBean.java:478) > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createInterface(ReflectionServiceFactoryBean.java:754) > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:349) > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:519) > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:410) > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:189) > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:164) > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:100) > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:117) > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:168) > org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:336) > org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:251) > org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:201) > org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:394) > Whether the exception should be thrown or not, the message should be clarified. > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.