java.lang.Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I am unable to invoke SOAP web service in WS Tester from http://www.webservicex.net/BibleWebservice.asmx?WSDL. In Response Body of WS Tester I got the message: {code} javax.xml.ws.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) {code} In error log I got the error: {code} java.lang.Exception: javax.xml.ws.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:205) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1803) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$34(JAXRSWSTestView2.java:1789) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$21.run(JAXRSWSTestView2.java:1706) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: javax.xml.ws.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111) at com.sun.xml.internal.ws.client.dispatch.DispatchImpl$DispatchAsyncInvoker$1.onCompletion(DispatchImpl.java:450) at com.sun.xml.internal.ws.client.Stub$1.onCompletion(Stub.java:381) at com.sun.xml.internal.ws.api.pipe.Fiber.completionCheck(Fiber.java:502) at com.sun.xml.internal.ws.api.pipe.Fiber.run(Fiber.java:420) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {code}
    via by Jaroslav Jankovič,
  • STEP: create dynamic web project and register web.xml (to be able to create simple soap web service) STEP: create simple web service (File -> New -> Other -> JBoss Tools -> Simple Web Service with default settings STEP: run a server, deploy a project STEP: open Web Service Tester, enter url of web service and try to invoke its default method (sayHello) STEP: open the generated web service class (HelloWorld.java) STEP: add a new web method like this: {code} @WebMethod() public String echo() { return "Hello World"; } {code} redeploy the project STEP: open web service tester again, url should be still set on text box, so click on the "Get from WSDL" STEP: in opened dialog, choose the new method "echo", and press OK ASSERT: generated request message has valid format {code} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header/> <soap:Body> <ns2:echo xmlns:ns2="http://webservices.samples.jboss.org/"/> </soap:Body> </soap:Envelope> {code} ASSERT: invoking the generated message tends to valid response FAIL: generated request message has invalid format {code} <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <soap:Header> </soap:Header> <soap:Body> </soap:Body> </soap:Envelope> {code} FAIL: invoking the message throws a SOAPFaultException: {code} java.lang.Exception: javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing. at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:205) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1823) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$34(JAXRSWSTestView2.java:1809) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$21.run(JAXRSWSTestView2.java:1726) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing. at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111) at com.sun.xml.internal.ws.client.dispatch.DispatchImpl$DispatchAsyncInvoker$1.onCompletion(DispatchImpl.java:450) at com.sun.xml.internal.ws.client.Stub$1.onCompletion(Stub.java:381) at com.sun.xml.internal.ws.api.pipe.Fiber.completionCheck(Fiber.java:502) at com.sun.xml.internal.ws.api.pipe.Fiber.run(Fiber.java:420) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {code} This issue occurs only the first time. After the first try, other tries are successful in words of SOAP message generation.
    via by Jaroslav Jankovič,
  • STEP: create dynamic web project and register web.xml (to be able to create simple soap web service) STEP: create simple web service (File -> New -> Other -> JBoss Tools -> Simple Web Service with default settings STEP: run a server, deploy a project STEP: open Web Service Tester, enter url of web service and try to invoke its default method (sayHello) STEP: open the generated web service class (HelloWorld.java) STEP: add a new web method like this: {code} @WebMethod() public String echo() { return "Hello World"; } {code} redeploy the project STEP: open web service tester again, url should be still set on text box, so click on the "Get from WSDL" STEP: in opened dialog, choose the new method "echo", and press OK ASSERT: generated request message has valid format {code} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header/> <soap:Body> <ns2:echo xmlns:ns2="http://webservices.samples.jboss.org/"/> </soap:Body> </soap:Envelope> {code} ASSERT: invoking the generated message tends to valid response FAIL: generated request message has invalid format {code} <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <soap:Header> </soap:Header> <soap:Body> </soap:Body> </soap:Envelope> {code} FAIL: invoking the message throws a SOAPFaultException: {code} java.lang.Exception: javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing. at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:205) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1823) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$34(JAXRSWSTestView2.java:1809) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$21.run(JAXRSWSTestView2.java:1726) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing. at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111) at com.sun.xml.internal.ws.client.dispatch.DispatchImpl$DispatchAsyncInvoker$1.onCompletion(DispatchImpl.java:450) at com.sun.xml.internal.ws.client.Stub$1.onCompletion(Stub.java:381) at com.sun.xml.internal.ws.api.pipe.Fiber.completionCheck(Fiber.java:502) at com.sun.xml.internal.ws.api.pipe.Fiber.run(Fiber.java:420) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {code} This issue occurs only the first time. After the first try, other tries are successful in words of SOAP message generation.
    via by Jaroslav Jankovič,
    • java.lang.Exception: javax.xml.ws.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:205) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1803) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$34(JAXRSWSTestView2.java:1789) at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$21.run(JAXRSWSTestView2.java:1706) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: javax.xml.ws.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111) at com.sun.xml.internal.ws.client.dispatch.DispatchImpl$DispatchAsyncInvoker$1.onCompletion(DispatchImpl.java:450) at com.sun.xml.internal.ws.client.Stub$1.onCompletion(Stub.java:381) at com.sun.xml.internal.ws.api.pipe.Fiber.completionCheck(Fiber.java:502) at com.sun.xml.internal.ws.api.pipe.Fiber.run(Fiber.java:420) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    32 more bugmates