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

WS Tester JAX WS invocation for local wsdl throws an error Provider org.apache.axis2.jaxws.spi.Provider not found

    XMLWordPrintable

Details

    • Hide
      1. Run Studio IDE
      2. Create and run new WildFly Server 22
      3. Download and unpack given project on local disc
      4. Import given project resource into IDE workspace
      5. Verify that project contains no errors (set wildfly 22 runtime for the project in project facet configuration)
      6. Open Web Service Tester View
      7. Choose JAX WS method from drop down list
      8. Into request body paste following SOAP message:
      <?xml version="1.0" encoding="utf-8" standalone="yes" ?> 
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
      <soap:Header> 
      </soap:Header>
      <soap:Body> 
      <webs:sayHello xmlns:webs="http://webservices.samples.jboss.org/">
      <arg0>User</arg0>
      </webs:sayHello>
      </soap:Body>
      </soap:Envelope>
      1. Invoke the request and browse for Integration2 wsdl file (HelloWorldService.wsdl)
      2. Confirm
      3. Assert: SOAP request is processed and there is proper response message

      Actually: There is error spi.Provider not found described in description

      Show
      Run Studio IDE Create and run new WildFly Server 22 Download and unpack given project on local disc Import given project resource into IDE workspace Verify that project contains no errors (set wildfly 22 runtime for the project in project facet configuration) Open Web Service Tester View Choose JAX WS method from drop down list Into request body paste following SOAP message: <?xml version= "1.0" encoding= "utf-8" standalone= "yes" ?> <soap:Envelope xmlns:soap= "http: //schemas.xmlsoap.org/soap/envelope/" xmlns:xsd= "http://www.w3.org/2001/XMLSchema" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" > <soap:Header> </soap:Header> <soap:Body> <webs:sayHello xmlns:webs= "http: //webservices.samples.jboss.org/" > <arg0>User</arg0> </webs:sayHello> </soap:Body> </soap:Envelope> Invoke the request and browse for Integration2 wsdl file (HelloWorldService.wsdl) Confirm Assert: SOAP request is processed and there is proper response message Actually: There is error spi.Provider not found described in description

    Description

      Invocation of WS Tester JAX WS with local Web Service project results in 

       

      
      eclipse.buildId=12.19.1.AM1-v20210510-1935-B142eclipse.buildId=12.19.1.AM1-v20210510-1935-B142java.version=11.0.11java.vendor=Red Hat, Inc.BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_USFramework arguments:  -product com.jboss.devstudio.core.productCommand-line arguments:  -data file:/home/odockal/workspace_12191AM1/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      org.eclipse.core.jobsErrorTue May 11 14:22:13 CEST 2021An internal error occurred during: "NLS missing message: JAXRSWSTestView_Invoking_WS_Status in: org.jboss.tools.ws.ui.messages.JBossWSUI".
      javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider org.apache.axis2.jaxws.spi.Provider not found at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:135) at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:264) at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:123) at javax.xml.ws.spi.FactoryFinder.access$2(FactoryFinder.java:112) at javax.xml.ws.spi.FactoryFinder$3.run(FactoryFinder.java:255) at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:264) at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:166) at javax.xml.ws.spi.Provider.provider(Provider.java:39) at javax.xml.ws.Service.<init>(Service.java:36) at javax.xml.ws.Service.create(Service.java:116) at org.jboss.tools.ws.jaxws.ui.tester.JAXWSTester2.doTest(JAXWSTester2.java:143) at org.jboss.tools.ws.jaxws.ui.view.JAXWSType.handleWSTest(JAXWSType.java:113) at org.jboss.tools.ws.ui.views.WebServicesTestView$16.run(WebServicesTestView.java:697) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      

      Attachments

        Activity

          People

            stephane.bouchet Stephane Bouchet
            odockal@redhat.com Ondrej Dockal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: