关于WebService的一些问题

Monster_617 发布于 2017/06/09 11:13
阅读 144
收藏 0

Connected to the target VM, address: '127.0.0.1:5710', transport: 'socket'
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.

Disconnected from the target VM, address: '127.0.0.1:5710', transport: 'socket'

javax.xml.rpc.ServiceException: Error processing WSDL document:  
javax.xml.rpc.ServiceException: Error processing WSDL document:  
javax.xml.rpc.ServiceException: Cannot find service:  {SushiService}SushiService

    at org.apache.axis.client.Service.initService(Service.java:250)
    at org.apache.axis.client.Service.<init>(Service.java:165)
    at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
    at Wsdl_Test3.SushiServiceTestCase.testSushiServicePortWSDL(SushiServiceTestCase.java:59)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at junit.framework.TestCase.runTest(TestCase.java:176)
    at junit.framework.TestCase.runBare(TestCase.java:141)
    at junit.framework.TestResult$1.protect(TestResult.java:122)
    at junit.framework.TestResult.runProtected(TestResult.java:142)
    at junit.framework.TestResult.run(TestResult.java:125)
    at junit.framework.TestCase.run(TestCase.java:129)
    at junit.framework.TestSuite.runTest(TestSuite.java:255)
    at junit.framework.TestSuite.run(TestSuite.java:250)
    at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
    at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)


Process finished with exit code -1

 

昨天跑起来还是没有问题的,今天怎么就变成这样了,是网络访问的问题还是其他的问题呢,求大神指导。

急!!!

加载中
0
尚浩宇
尚浩宇

看下服务方是否启动或者异常

0
l
liun

这明显是没找到服务,检查下你的serveice是不是没发布好

返回顶部
顶部