Hi Joe,
unfortunately this list is practically dead. Almost everyone seems to
have moved on to CXF. As to your question... I don't know anything for
sure but I would guess that XFire supports some/most/all of the JAX-WS
annotations - but that does not necessarily mean that all attributes of
those annotations are also supported.
Unless more helpful answers arrive here I would suggest that you either
switch to another framework which supports what you need or use a
wrapper class/interface which maps foo to foo1. This can easily be
automated with a code generator (parse your service or use reflection,
then generate the wrapper service with any of the template engines). It
is not that hard... I am even generating the service interface in the
first place in this way.
Werner
On 24.9.2009 21:01, joe robles wrote:
Hi all,
I am new to webservices.
I have successfully created a soap webservice on a business interface using
annotations, using spring and xfire 1.2.5 version.
The business interface has a requirement that foo() must be shown in wsdl as
foo1. Thus I made use of the @webmethod and used action to tell that foo1 in
turn must call foo() on the interface.
The business interface is as follows:
@WebService( serviceName = "FooService" )
public interface FooInterface
{
@WebMethod( operationName = "foo1", action = "foo")
String foo( @WebParam( name = "inputData" ) String inputData );
}
But when I run the xfire client test, I get the following error.
I am stumped here...Please let me know your valuable input. Your help is
highly appreciated.
Thanks in advance.
Error:
Caused by: org.codehaus.xfire.XFireRuntimeException: Could not find
operation foo1 in the service model.
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.visit(WSDLServiceConfigurator.java:229)
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.configure(WSDLServiceConfigurator.java:198)
at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:244)
at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:193)
at
org.codehaus.xfire.spring.remoting.XFireClientFactoryBean.makeClient(XFireClientFactoryBean.java:504)
at
org.codehaus.xfire.spring.remoting.XFireClientFactoryBean.createClient(XFireClientFactoryBean.java:412)
at
org.codehaus.xfire.spring.remoting.XFireClientFactoryBean.afterPropertiesSet(XFireClientFactoryBean.java:119)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 49 more
--
--------------------------------------------------------
MINT MEDIA INTERACTIVE Software Systems GmbH
Science Park Kiel
Fraunhoferstr. 13
D-24118 Kiel, Germany
Phone: +49 (0)431 530215-0
Fax: +49 (0)431 5302090
Mail: lehm...@media-interactive.de
Web: www.media-interactive.de
--------------------------------------------------------
--------------------------------------------------------
Sitz der Gesellschaft / Corporate HQ:
Kiel
Reg.-eintragung / Registration:
Amtsgericht Kiel HRB 4860
Geschäftsführer / Managing Director:
Jörg Latteier
--------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email