java.lang.reflect.UndeclaredThrowableException: java.io.FileNotFoundException: http://localhost:7001/MyFirstM athEJB/MyFirstMathEJB

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    web service problem (new to WS)

    Oracle Community | 2 decades ago | 3004
    java.lang.reflect.UndeclaredThrowableException: java.io.FileNotFoundException: http://localhost:7001/MyFirstM athEJB/MyFirstMathEJB

    Root Cause Analysis

    1. java.lang.reflect.UndeclaredThrowableException

      java.io.FileNotFoundException: http://localhost:7001/MyFirstM athEJB/MyFirstMathEJB

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
    2. Java RT
      HttpURLConnection.getHeaderFieldKey
      1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
      2. sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:839)
      2 frames
    3. weblogic.soap
      SoapMethod.invoke
      1. weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:509)
      2. weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
      3. weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
      4. weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
      4 frames
    4. weblogic.soap.wsdl
      WebServiceInvocationHandler.invoke
      1. weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:27)
      1 frame
    5. Unknown
      $Proxy0.Sum
      1. $Proxy0.Sum(Unknown Source)
      1 frame
    6. examples.com.home
      WSCMyFirstMathEJB.main
      1. examples.com.home.ejb.WSCMyFirstMathEJB.main(WSCMyFirstMathEJB.java:42)
      1 frame