You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by to...@web.de on 2022/08/17 10:46:45 UTC

Missing WSDL with TomEE 7.1.4

Hi guys,
 
I set up the Simple Webservice as explained here: https://github.com/apache/tomee/tree/tomee-7.1.x/examples/simple-webservice
 
Now I found out that the CalculatorTest works as expected:
 
Aug 17, 2022 10:58:20 AM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
INFO: Creating Service {http://superbiz.org/wsdl[http://superbiz.org/wsdl]}CalculatorService from WSDL: http://localhost:46405/main/Calculator?wsdl
Aug 17, 2022 10:58:20 AM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
INFO: Creating Service {http://superbiz.org/wsdl[http://superbiz.org/wsdl]}CalculatorService from WSDL: http://localhost:46405/main/Calculator?wsdl
 
The war is deployed to an TomEE 7.1.4 but I can't see that a WSDL is created?
 

17-Aug-2022 11:01:13.128 INFO [localhost-startStop-1] jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke Deploying web application archive [/opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch.war]
17-Aug-2022 11:01:13.136 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /tomeeresearch
17-Aug-2022 11:01:13.249 INFO [localhost-startStop-1] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise application: /opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch
17-Aug-2022 11:01:13.330 INFO [localhost-startStop-1] org.apache.openejb.config.AutoConfig.createContainer Auto-creating a container for bean tomeeresearch.Comp1699221111: Container(type=MANAGED, id=Default Managed Container)
17-Aug-2022 11:01:13.358 INFO [localhost-startStop-1] org.apache.openejb.config.AppInfoBuilder.build Enterprise application "/opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch" loaded.
17-Aug-2022 11:01:13.361 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.createApplication Assembling app: /opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch
17-Aug-2022 11:01:13.399 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.JndiBuilder.bind Jndi(name=global/tomeeresearch/Calculator!org.superbiz.calculator.ws.CalculatorWs) --> Ejb(deployment-id=Calculator)
17-Aug-2022 11:01:13.399 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.JndiBuilder.bind Jndi(name=global/tomeeresearch/Calculator) --> Ejb(deployment-id=Calculator)
17-Aug-2022 11:01:13.487 INFO [localhost-startStop-1] org.apache.openejb.cdi.CdiScanner.handleBda Using annotated mode for file:/opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch/WEB-INF/classes/ looking all classes to find CDI beans, maybe think to add a beans.xml if not there or add the jar to exclusions.list
17-Aug-2022 11:01:13.720 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.createApplication Deployed Application(path=/opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch)
17-Aug-2022 11:01:13.891 INFO [localhost-startStop-1] jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke Deployment of web application archive [/opt/tomee/apache-tomee-webprofile-7.1.4/webapps/tomeeresearch.war] has finished in [763] ms
 
To my surprise with the @Stateless annoation it looks for me that an JNDI entry is generated.
 
What did I wrong?
 
Thanks,
Markus