On Sat, Apr 24, 2010 at 9:30 AM, ant elder <[email protected]> wrote:
> Testing out the 2.x webapp samples in Geronimo 2.2 and i get this
> exception. It looks like Geronimo is finding and not liking the
> Tuscany JAXWSServiceBindingProvider in the WS binding. Anyone have any
> ideas on how to prevent this?
>
>   ...ant
>
> The first file that could not be deleted was:
>  C:\Geronimo\geronimo-tomcat6-javaee5-2.2\repository\default\helloworld\1272097508140\helloworld-1272097508140.car\WEB-INF\lib\tuscany-base-nodep-2.0-SNAPSHOT.jar
> 2010-04-24 09:25:11,609 ERROR [DeploymentPortlet] The application was
> not deployed.
> WSDL must be specified for @WebServiceProvider service
> org.apache.tuscany.sca.binding.ws.jaxws.ri.JAXWSServiceBindingProvider
> org.apache.geronimo.common.DeploymentException: WSDL must be specified
> for @WebServiceProvider service
> org.apache.tuscany.sca.binding.ws.jaxws.ri.JAXWSServiceBindingProvider
>        at 
> org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:219)
>        at 
> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO(JAXWSServiceBuilder.java:178)
>        at 
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:458)
>        at 
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165)
>        at 
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>        at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>        at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851)
>        at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
>        at 
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>        at 
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>        at java.lang.Thread.run(Thread.java:619)
>

Hi Ant

The Provider doesn't have WSDL explicitly associated with it via
annotation as, from the Tuscany point of view, it's generic and so we
don't know what the WSDL will look like until runtime. We are though
setting the WSDL as properties on the provider endpoint. I don't
believe that the JAXWS spec makes it mandatory one way or the other
but I'll have to check.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to