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-1923) Message "SOAPBinding can not on method with RPC style" ?
Date Thu, 20 Nov 2008 20:30:44 GMT

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

Daniel Kulp resolved CXF-1923.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4


The error message is now better, but I've also fixed code run previous to where that error
occurs that should prevent it even getting there.   When mapping the service to the service
model, it now properly gets the operation as RPC (not doc/lit).  However, when actually setting
up the endpoint, since we cannot have both RPC and DOC interceptors on the chain right now,
it will throw an exception at that point explaining that the WSI-BP prohibits such services.

> 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: Daniel Kulp
>             Fix For: 2.1.4
>
>
> 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.


Mime
View raw message