Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12347

Unable to invoke SOAP web service when using Java 7

XMLWordPrintable

    • Hide

      EXEC: Open WS Tester view
      EXEC: Set url: http://www.webservicex.net/BibleWebservice.asmx?WSDL
      EXEC: Open "Select WSDL" dialog, choose Service: BibleWebservice, port: BibleWebServiceSoap, operation: GetBookTitles
      EXEC: Try to invoke the service
      ASSERT: service is invoked successfully and book titles are listed in Response Body
      FAIL: error is thrown in Error log

      Show
      EXEC: Open WS Tester view EXEC: Set url: http://www.webservicex.net/BibleWebservice.asmx?WSDL EXEC: Open "Select WSDL" dialog, choose Service: BibleWebservice, port: BibleWebServiceSoap, operation: GetBookTitles EXEC: Try to invoke the service ASSERT: service is invoked successfully and book titles are listed in Response Body FAIL: error is thrown in Error log
    • -

      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:

      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)
      

      In error log I got the error:

      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)
      
      

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              jjankovi Jaroslav Jankovič (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: