javax.xml.rpc.soap.SOAPFaultException: opps my fault

Oracle Community | 3004 | 1 decade ago
  1. 0

    throwing a SOAPException/SOAPFaultException

    Oracle Community | 1 decade ago | 3004
    javax.xml.rpc.soap.SOAPFaultException: opps my fault
  2. 0

    catch self-define exception in client(ignore previous wrong format new)

    Oracle Community | 1 decade ago | 3004
    javax.xml.rpc.soap.SOAPFaultException: oops my fault all: BUILD SUCCESSFUL Total time: 1 minute 17 seconds Stephen Zeng wrote: Hi Bruce: <p> Thank you for your attention. I have built the example use wls7.0, the error is the sample as my last post pointed out. The sample code is the way I am trying to make. <p> The in the example has compile error showing MyException is unreachable. The point is only throw RemoteException. I think serviceGen did not generate MyException in * <p> (SOAPFaultException)e.getCause()).getDetail() show that RemoteException wrap MyException. Even I let MyException extend RemoteException to let it reachable in can not catch MyException, since it is wrap in RemoteException. <p> You change make 3 changes in Fault.izp to see my point. <br> bug <br> should change "MySerice l=" to MyService_Impl l = new MyService_Impl <br> 2. MyException extend RemoteException <br> 3. (SOAPFaultException)e.getCause()).getDetail() <p> Catch and log for your reference:<br> } catch (FormatException e){ //extend RemoteException<br> System.out.println("catch custom exception");<br> e.printStackTrace();<br> } catch (RemoteException e) {<br> System.out.println("remote exception");<br> System.out.println(e.getCause().getMessage());<br> System.out.println(((SOAPFaultException)e.getCause()).getDetail());<p> log: <br> remote exception <br> wrong formate <br> <detail><bea_fault:stacktrace xmlns:bea_fault=" ">com.netsboss.WSBE.inf.FormatException: wrong formate <br>
  3. 0

    ClassCastException when calling a JMS implemented web service

    Oracle Community | 1 decade ago | 3004
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing: java.lang.ClassCastException (see Fault Detail for stacktrace)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.rpc.soap.SOAPFaultException

      opps my fault

      at weblogic.webservice.component.slsb.SLSBInvocationHandler.invoke()
    2. weblogic.webservice.component
      1. weblogic.webservice.component.slsb.SLSBInvocationHandler.invoke(
      1 frame
    3. weblogic.webservice.core
      1. weblogic.webservice.core.handler.InvokeHandler.handleRequest(
      2. weblogic.webservice.core.HandlerChain.handleRequest(
      3. weblogic.webservice.core.DefaultOperation.process(
      4. weblogic.webservice.core.DefaultPort.invoke(
      4 frames
    4. weblogic.webservice.server
      1. weblogic.webservice.server.servlet.ServletBase.serverSideInvoke(
      2. weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(
      3. weblogic.webservice.server.servlet.ServletBase.doPost(
      3 frames