tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samwun9988 <leiwun2...@gmail.com>
Subject Re: Can't invoke web service
Date Sun, 11 Sep 2011 10:04:40 GMT
Hi, I still cant' get the beanshell dependency resolved.

Now I changed openejb-cxf to 3.1.4, and I get the error:


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.1.4    build: 20101112-03:32
http://openejb.apache.org/
INFO - openejb.home = C:\work\simple-webservice
INFO - openejb.base = C:\work\simple-webservice
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Found EjbModule in classpath:
C:\work\simple-webservice\target\classes
INFO - Beginning load: C:\work\simple-webservice\target\classes
INFO - Configuring enterprise application: classpath.ear
INFO - Configuring Service(id=Default Stateless Container, type=Container,
provider-id=Default Stateless Container)
INFO - Auto-creating a container for bean CalculatorImpl:
Container(type=STATELESS, id=Default Stateless Container)
INFO - Enterprise application "classpath.ear" loaded.
INFO - Assembling app: classpath.ear
INFO - Jndi(name=CalculatorImplLocal) --> Ejb(deployment-id=CalculatorImpl)
INFO - Created Ejb(deployment-id=CalculatorImpl, ejb-name=CalculatorImpl,
container=Default Stateless Container)
INFO - Deployed Application(path=classpath.ear)
INFO - Initializing network services
INFO - Creating ServerService(id=httpejbd)
INFO - Creating ServerService(id=cxf)
INFO - Creating ServerService(id=admin)
INFO - Creating ServerService(id=ejbd)
INFO - Creating ServerService(id=ejbds)
INFO - Initializing network services
  ** Starting Services **
  NAME                 IP              PORT  
  httpejbd             127.0.0.1       4204  
2011-9-11 20:02:33
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
�Ϣ: Creating Service {http://superbiz.org/wsdl}CalculatorWsService from
class org.superbiz.calculator.CalculatorWs
2011-9-11 20:02:33 org.apache.cxf.endpoint.ServerImpl initDestination
�Ϣ: Setting the server's publish address to be http://nopath:80
  admin thread         127.0.0.1       4200  
  ejbd                 127.0.0.1       4201  
  ejbd                 127.0.0.1       4203  
-------
Ready!
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.811 sec
<<< FAILURE!

Results :

Tests in error: 
  testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest):
Could not find service named null in wsdl
http://127.0.0.1:4204/CalculatorImpl?wsdl

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0


--
View this message in context: http://openejb.979440.n4.nabble.com/Can-t-invoke-web-service-tp3804670p3804956.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message