You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Ryan Heaton <ry...@webcohesion.com> on 2008/11/19 18:47:16 UTC
SOAPBinding can not on method with RPC style
Hi all.
What's this?
java.lang.RuntimeException: Method [addInfoSet] processing error:
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)
Here's what my method looks like:
@SOAPBinding (
style = SOAPBinding.Style.RPC
)
String addInfoSet(String sourceId, InfoSet infoSet) throws ServiceException;
-Ryan
Re: SOAPBinding can not on method with RPC style
Posted by Daniel Kulp <dk...@apache.org>.
Ick..... Not a good message....
What's the full interface? I THINK this might be detecting that there are
doc/lit and rpc/lit methods on the same service which may be causing issues.
Not really sure. That error message sucks so we'll need to dig into the
code to figure out what it means.
Dan
On Wednesday 19 November 2008 12:47:16 pm Ryan Heaton wrote:
> Hi all.
>
> What's this?
>
> java.lang.RuntimeException: Method [addInfoSet] processing error:
> SOAPBinding can not on method with RPC style
> org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.isWrapped(JaxWsServ
>iceConfiguration.java:662)
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.isWrapped(Refle
>ctionServiceFactoryBean.java:1670)
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createOperation
>(ReflectionServiceFactoryBean.java:768)
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createOperation(JaxWsS
>erviceFactoryBean.java:478)
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createInterface
>(ReflectionServiceFactoryBean.java:754)
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFro
>mClass(ReflectionServiceFactoryBean.java:349)
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(
>JaxWsServiceFactoryBean.java:519)
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServi
>ceModel(ReflectionServiceFactoryBean.java:410)
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Reflecti
>onServiceFactoryBean.java:189)
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFac
>toryBean.java:164)
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(Abs
>tractWSDLBasedEndpointFactory.java:100)
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:117
>)
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.j
>ava: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)
>
> Here's what my method looks like:
>
> @SOAPBinding (
> style = SOAPBinding.Style.RPC
> )
> String addInfoSet(String sourceId, InfoSet infoSet) throws
> ServiceException;
>
> -Ryan
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Re: SOAPBinding can not on method with RPC style
Posted by Ryan Heaton <ry...@webcohesion.com>.
https://issues.apache.org/jira/browse/CXF-1923
Can you confirm that this means that CXF doesn't support RPC-style
methods, even if they're RPC/literal?
-Ryan
On Wed, Nov 19, 2008 at 10:59 AM, Benson Margulies
<bi...@gmail.com> wrote:
> It's embarassing. Please drop a JIRA. Whatever is going on, a
> RuntimeException with that message won't do.
>
> On Wed, Nov 19, 2008 at 12:47 PM, Ryan Heaton <ry...@webcohesion.com> wrote:
>> Hi all.
>>
>> What's this?
>>
>> java.lang.RuntimeException: Method [addInfoSet] processing error:
>> 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)
>>
>> Here's what my method looks like:
>>
>> @SOAPBinding (
>> style = SOAPBinding.Style.RPC
>> )
>> String addInfoSet(String sourceId, InfoSet infoSet) throws ServiceException;
>>
>> -Ryan
>>
>
Re: SOAPBinding can not on method with RPC style
Posted by Benson Margulies <bi...@gmail.com>.
It's embarassing. Please drop a JIRA. Whatever is going on, a
RuntimeException with that message won't do.
On Wed, Nov 19, 2008 at 12:47 PM, Ryan Heaton <ry...@webcohesion.com> wrote:
> Hi all.
>
> What's this?
>
> java.lang.RuntimeException: Method [addInfoSet] processing error:
> 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)
>
> Here's what my method looks like:
>
> @SOAPBinding (
> style = SOAPBinding.Style.RPC
> )
> String addInfoSet(String sourceId, InfoSet infoSet) throws ServiceException;
>
> -Ryan
>