关于解析wsdl的问题

Monster_617 发布于 2017/06/23 17:29
阅读 182
收藏 0

解析wsdl地址出现了问题

javax.xml.rpc.ServiceException: 建模器错误: 解析 "http://www.tandfonline.com/api/soap/analytics/SushiService" 处的文档失败:java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.tandfonline.com/api/soap/analytics/SushiService

    at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:81)
    at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:65)
    at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:58)
    at T_and_F.SushiServiceTestCase.test1BasicHttpBinding_ISushiServiceGetReport(SushiServiceTestCase.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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)

错误代码,求大神指导

加载中
返回顶部
顶部