Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33607

getServerLicenseData: no corresponding wsdl operation

    XMLWordPrintable

Details

    Description

      The following commit seems to have broken functionality. This can be seen when clicking "Test Connection" from the Configuration screen---You'll receive an "Invalid System URL" error.

      Culprit: https://github.com/jenkinsci/checkmarx-plugin/commit/18190a625542371be12d5c8bb61f83c8daae9fc6

      Exception follows:

      javax.xml.ws.WebServiceException: Method getServerLicenseData is exposed as WebMethod, but there is no corresponding wsdl operation with name {http://Checkmarx.com/v7}GetServerLicenseData in the wsdl:portType{http://Checkmarx.com/v7}CxJenkinsWebServiceSoap
      	at com.sun.xml.internal.ws.model.JavaMethodImpl.freeze(JavaMethodImpl.java:367)
      	at com.sun.xml.internal.ws.model.AbstractSEIModelImpl.freeze(AbstractSEIModelImpl.java:105)
      	at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:320)
      	at com.sun.xml.internal.ws.db.DatabindingImpl.<init>(DatabindingImpl.java:85)
      	at com.sun.xml.internal.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:59)
      	at com.sun.xml.internal.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:43)
      	at com.sun.xml.internal.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:105)
      	at com.sun.xml.internal.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:875)
      	at com.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:892)
      	at com.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:855)
      	at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:435)
      	at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:404)
      	at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:386)
      	at javax.xml.ws.Service.getPort(Service.java:119)
      	at com.checkmarx.ws.CxJenkinsWebService.CxJenkinsWebService.getCxJenkinsWebServiceSoap(CxJenkinsWebService.java:86)
      	at com.checkmarx.jenkins.CxWebService.<init>(CxWebService.java:113)
      	at com.checkmarx.jenkins.CxWebService.<init>(CxWebService.java:69)
      	at com.checkmarx.jenkins.CxScanBuilder$DescriptorImpl.doTestConnection(CxScanBuilder.java:942)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      	at org.eclipse.jetty.server.Server.handle(Server.java:370)
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
      	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Note: This is not in a released version.

      Attachments

        Activity

          gorilliams Zach Williams added a comment -

          This doesn't just break the Test Connection button. You can't configure a scan since it can't connect to populate the dropdowns for Team and Preset.

          gorilliams Zach Williams added a comment - This doesn't just break the Test Connection button. You can't configure a scan since it can't connect to populate the dropdowns for Team and Preset.
          marcesher Marc Esher added a comment -

          This prevents us (I imagine anyone) from updating to this version of the plugin, since it makes the Checkmarx plugin unusable. We're stuck on 7.x till it's fixed, unless anyone knows of a workaround

          marcesher Marc Esher added a comment - This prevents us (I imagine anyone) from updating to this version of the plugin, since it makes the Checkmarx plugin unusable. We're stuck on 7.x till it's fixed, unless anyone knows of a workaround
          legalalien Igor Matlin added a comment -

          Downgrade to Checkmarx plugin v8.0.1 (previous version). It is available from Checkmarx download site: https://www.checkmarx.com/plugins/.

          legalalien Igor Matlin added a comment - Downgrade to Checkmarx plugin v8.0.1 (previous version). It is available from Checkmarx download site: https://www.checkmarx.com/plugins/ .
          jmassey Justin Massey added a comment -

          Is there any plan to fix this?

          I am trying to modify the maximum upload size https://github.com/jenkinsci/checkmarx-plugin/blob/master/src/main/java/com/checkmarx/jenkins/CxConfig.java#L27. However, with the bug which breaks the ability to authenticate to Jenkins, I am unable to change this on the most up to date commit. I will revert to the commit before this was broken and modify the upload size.

          jmassey Justin Massey added a comment - Is there any plan to fix this? I am trying to modify the maximum upload size https://github.com/jenkinsci/checkmarx-plugin/blob/master/src/main/java/com/checkmarx/jenkins/CxConfig.java#L27 . However, with the bug which breaks the ability to authenticate to Jenkins, I am unable to change this on the most up to date commit. I will revert to the commit before this was broken and modify the upload size.
          legalalien Igor Matlin added a comment -

          The latest commit is for yet-to-be released version of CxSAST. Please revert back to a previous tag.

          legalalien Igor Matlin added a comment - The latest commit is for yet-to-be released version of CxSAST. Please revert back to a previous tag.
          jmassey Justin Massey added a comment -

          ok good to know. thanks!

          jmassey Justin Massey added a comment - ok good to know. thanks!
          varkalra varun kalra added a comment -

          Hello,

          I have been facing the similar issue, since I have upgraded to checkmarx 8.0. I have tried all the versions of checkmarx plugin but still am facing the same issue.

          Can some one please help me out with this?
          Any help would be appreciated.

          Thanks

          varkalra varun kalra added a comment - Hello, I have been facing the similar issue, since I have upgraded to checkmarx 8.0. I have tried all the versions of checkmarx plugin but still am facing the same issue. Can some one please help me out with this? Any help would be appreciated. Thanks

          Team,

          We have faced similar issue and I have fixed it by reverting the version to 7.5. I have upgraded the checkmarx plugin to 8 which started causing this issue. You have to manually download the 7.5 version from the archive and overwrite the same and restart the Jenkins server will fix the problem.

          You can drop a note here if issue still persists.

          anandmedhekar Anand Medhekar added a comment - Team, We have faced similar issue and I have fixed it by reverting the version to 7.5. I have upgraded the checkmarx plugin to 8 which started causing this issue. You have to manually download the 7.5 version from the archive and overwrite the same and restart the Jenkins server will fix the problem. You can drop a note here if issue still persists.

          Appears to still be broken in our Jenkins environment.
          It seems odd that they have released multiple updates to this plugin, but have not fixed this issue.

          Are these new versions working for anyone?

          cbchenoweth Caleb Chenoweth added a comment - Appears to still be broken in our Jenkins environment. It seems odd that they have released multiple updates to this plugin, but have not fixed this issue. Are these new versions working for anyone?
          elordahl Eric Lordahl added a comment -

          cbchenoweth, which commit are you attempting to build?  Their release path is not linear, which makes for some messy upgrades if you're running custom builds.

          elordahl Eric Lordahl added a comment - cbchenoweth , which commit are you attempting to build?  Their release path is not linear, which makes for some messy upgrades if you're running custom builds.
          cbchenoweth Caleb Chenoweth added a comment - - edited

          eric25332, I am just using the versions provided from the Jenkins plugin manager

          example => http://jenkinsServer:8080/pluginManager/
          checkmarx plugin from => https://plugins.jenkins.io/checkmarx

          I am on version 8.1.0-2, and it is working correctly.
          If I upgrade to newer version (right now is shows 8.41.0 as newest) I get the error as described in this issue.

           

          cbchenoweth Caleb Chenoweth added a comment - - edited eric25332 , I am just using the versions provided from the Jenkins plugin manager example => http://jenkinsServer:8080/pluginManager/ checkmarx plugin from => https://plugins.jenkins.io/checkmarx I am on version 8.1.0-2, and it is working correctly. If I upgrade to newer version (right now is shows 8.41.0 as newest) I get the error as described in this issue.  
          elordahl Eric Lordahl added a comment -

          cbchenoweth What version of Checkmarx/CxSAST are you running?

          elordahl Eric Lordahl added a comment - cbchenoweth What version of Checkmarx/CxSAST are you running?
          cbchenoweth Caleb Chenoweth added a comment - - edited

          elordahl - we are running chechmarx v8.1.0 I believe.

          (our team is not in charge of the server that runs the scans.
          The web login splash page shows that version number.)

          cbchenoweth Caleb Chenoweth added a comment - - edited elordahl - we are running chechmarx v8.1.0 I believe. (our team is not in charge of the server that runs the scans. The web login splash page shows that version number.)
          elordahl Eric Lordahl added a comment -

          I played around and it seems the newer versions of the plugin are not backward-compatible with older versions of CxSAST.

          In my experience, running CxSAST v8.4.1 with plugin v8.41.0 appears to be without error.  This was not the case when CxSAST v8.0.1 was installed.

          That said — They could possibly add that backward compatibility in future versions by disabling the newer functionality, but i bet they'll encourage users to upgrade

          elordahl Eric Lordahl added a comment - I played around and it seems the newer versions of the plugin are not backward-compatible with older versions of CxSAST. In my experience, running CxSAST v8.4.1 with plugin v8.41.0 appears to be without error.  This was not the case when CxSAST v8.0.1 was installed. That said — They could possibly add that backward compatibility in future versions by disabling the newer functionality, but i bet they'll encourage users to upgrade

          Thanks for the insight!

          The Checkmarx server we are connected to is controlled by another team in our company.
          So we are not able to control upgrades to that server.
          We should be fine just staying on the older version of the plugin.
          (Just wanted to know why it wasn't working.  Didn't realize our checkmarx version was out of date.)

          cbchenoweth Caleb Chenoweth added a comment - Thanks for the insight! The Checkmarx server we are connected to is controlled by another team in our company. So we are not able to control upgrades to that server. We should be fine just staying on the older version of the plugin. (Just wanted to know why it wasn't working.  Didn't realize our checkmarx version was out of date.)

          People

            tsahi_bar tsahi bar
            elordahl Eric Lordahl
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: