title: Calling SSRS 2008 web service from Java
body: <p>I am trying to implement a Java Spring application that will display SSRS reports. I have been following this tutorial: <a href="http://blogs.msdn.com/b/christophputz/archive/2010/05/07/accessing-ms-reporting-services-with-java.aspx" rel="nofollow">http://blogs.msdn.com/b/christophputz/archive/2010/05/07/accessing-ms-reporting-services-with-java.aspx</a>. But at a certain point I ran onto a problem.</p>
  
  <p>I downloaded the latest version of Metro wsimport (wsimport version "2.2.8").</p>
  
  <p>I generate the webservices with the following commands:</p>
  
  <pre><code>wsimport -s -extension src http://devwin/reports/ReportExecution2005.asmx?wsdl
  parsing WSDL...
  [WARNING] SOAP port "ReportExecutionServiceSoap12": uses a non-standard SOAP 1.2 binding line 1885 of http://devwin/reports/ReportExecution2005.asmx?wsdl
  Generating code...
  Compiling code...
  
  wsimport -s src -extension http://devwin/reports/ReportService2005.asmx?wsdl
  parsing WSDL...
  [WARNING] SOAP port "ReportingService2005Soap12": uses a non-standard SOAP 1.2 binding. line 5841 of http://devwin/reports/ReportService2005.asmx?wsdl
  Generating code...
  Compiling code...
  </code></pre>
  
  <p>I imported the generated source code (/src only because of the bug mentioned in the topic).</p>
  
  <p>I used the following maven dependency</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.sun.xml.ws&lt;/groupId&gt;
      &lt;artifactId&gt;jaxws-rt&lt;/artifactId&gt;
      &lt;version&gt;2.2.8&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Here is my class that calls the report:</p>
  
  <pre><code>import java.util.List;
  
  import javax.xml.ws.BindingProvider;
  import javax.xml.ws.Holder;
  
  import com.iphos.rankingcheck.entity.Report;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ArrayOfParameterValue;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ArrayOfString;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ArrayOfWarning;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ExecutionHeader;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ExecutionInfo;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ParameterValue;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ReportExecutionService;
  import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ReportExecutionServiceSoap;
  import com.sun.xml.ws.developer.WSBindingProvider;
  
  public class ReportServiceCaller {
      public static void callReportWS(Report report) {
          String reportPath = "/Path/Report";
          String format = "HTML4.0";
          String historyID = null;
          String devInfo = "&lt;DeviceInfo&gt;&lt;Toolbar&gt;False&lt;/Toolbar&gt;&lt;HTMLFragment&gt;True&lt;/HTMLFragment&gt;&lt;/DeviceInfo&gt;";
          String executionID = null;
  
          Holder&lt;String&gt; extension = null;
          Holder&lt;String&gt; mimeType = null;
          Holder&lt;String&gt; encoding = null;
          Holder&lt;ArrayOfWarning&gt; warnings = null;
          Holder&lt;ArrayOfString&gt; streamIDs = null;
          Holder&lt;byte[]&gt; result = new Holder&lt;byte[]&gt;();
  
          ReportExecutionService res = new ReportExecutionService();
          ReportExecutionServiceSoap ress = res.getReportExecutionServiceSoap();
  
          BindingProvider bp = (BindingProvider)ress;
          WSBindingProvider wsbp = (WSBindingProvider)ress;
  
          // Sessions erlauben
          bp.getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
  
          ExecutionInfo execInfo = new ExecutionInfo();
  
          // Parameterliste erzeugen
          ArrayOfParameterValue apv = new ArrayOfParameterValue();
          List&lt;ParameterValue&gt; apvList = apv.getParameterValue();     
  
          ParameterValue param0 = new ParameterValue();
          param0.setName("Project");
          param0.setValue(report.getProject().getProjectName());
          apvList.add(param0);
  
          // Report vorbereiten
          execInfo = ress.loadReport(reportPath, historyID);
          // ExecutionID für den nächsten Aufruf merken
          executionID = execInfo.getExecutionID();       
          bp.getRequestContext().put("sessionID", executionID);
  
          // ExecutionHeader Element erzeugen und es für den nächsten Aufruf
          // and den WSBindingProvider übergeben
          ExecutionHeader eh = new ExecutionHeader();
          eh.setExecutionID(executionID);
          wsbp.setOutboundHeaders(eh);
  
          // Parameter an den Report übergeben
          ress.setExecutionParameters(apv, "en-us");
  
          // Report anfordern
          ress.render(format, devInfo, result, extension, mimeType, encoding, warnings, streamIDs);
          // Ergebnis des Aufrufs ausgeben
          String resultString = new String(result.value);  
      }
  }
  </code></pre>
  
  <p>When I try to run the report I get the following exception:</p>
  
  <pre><code>org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(Ljava/lang/Object;Ljava/io/OutputStream;Ljavax/xml/namespace/NamespaceContext;)V
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  root cause
  
  java.lang.NoSuchMethodError: com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(Ljava/lang/Object;Ljava/io/OutputStream;Ljavax/xml/namespace/NamespaceContext;)V
      com.sun.xml.ws.db.glassfish.MarshallerBridge.marshal(MarshallerBridge.java:86)
      com.sun.xml.bind.api.Bridge.marshal(Bridge.java:105)
      com.sun.xml.ws.message.jaxb.JAXBHeader.writeTo(JAXBHeader.java:201)
      com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:148)
      com.sun.xml.ws.api.message.MessageWrapper.writeTo(MessageWrapper.java:230)
      com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:134)
      com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:242)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
      com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
      com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
      com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
      com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
      com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
      com.sun.xml.ws.client.Stub.process(Stub.java:464)
      com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91)
      com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
      com.sun.proxy.$Proxy93.setExecutionParameters(Unknown Source)
      com.iphos.rankingcheck.util.ReportServiceCaller.callReportWS(ReportServiceCaller.java:79)
      com.iphos.rankingcheck.controller.ReportController.display(ReportController.java:209)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:601)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  </code></pre>
  
  <p>I figured out that probably the implementation of that method is missing so I tried to search for a dependency to provide it. I found a few, but I was able to move from that exception only with that one:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.sun.xml.bind&lt;/groupId&gt;
      &lt;artifactId&gt;jaxb-impl&lt;/artifactId&gt;
      &lt;version&gt;2.2.7&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>When I added it I got the following exception:</p>
  
  <pre><code>org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.xml.ws.WebServiceException: com.sun.istack.XMLStreamException2: javax.xml.bind.JAXBException: class com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ExecutionHeader nor any of its super class is known to this context.
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:681)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  root cause
  
  javax.xml.ws.WebServiceException: com.sun.istack.XMLStreamException2: javax.xml.bind.JAXBException: class com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ExecutionHeader nor any of its super class is known to this context.
      com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:137)
      com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:242)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
      com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
      com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
      com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
      com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
      com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
      com.sun.xml.ws.client.Stub.process(Stub.java:464)
      com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91)
      com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
      com.sun.proxy.$Proxy93.setExecutionParameters(Unknown Source)
      com.iphos.rankingcheck.util.ReportServiceCaller.callReportWS(ReportServiceCaller.java:79)
      com.iphos.rankingcheck.controller.ReportController.display(ReportController.java:209)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:601)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  root cause
  
  com.sun.istack.XMLStreamException2: javax.xml.bind.JAXBException: class com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ExecutionHeader nor any of its super class is known to this context.
      com.sun.xml.ws.message.jaxb.JAXBHeader.writeTo(JAXBHeader.java:206)
      com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:148)
      com.sun.xml.ws.api.message.MessageWrapper.writeTo(MessageWrapper.java:230)
      com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:134)
      com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:242)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
      com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
      com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
      com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
      com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
      com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
      com.sun.xml.ws.client.Stub.process(Stub.java:464)
      com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91)
      com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
      com.sun.proxy.$Proxy93.setExecutionParameters(Unknown Source)
      com.iphos.rankingcheck.util.ReportServiceCaller.callReportWS(ReportServiceCaller.java:79)
      com.iphos.rankingcheck.controller.ReportController.display(ReportController.java:209)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:601)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  root cause
  
  javax.xml.bind.JAXBException: class com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.ExecutionHeader nor any of its super class is known to this context.
      com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:593)
      com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:482)
      com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
      com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:173)
      com.sun.xml.ws.db.glassfish.MarshallerBridge.marshal(MarshallerBridge.java:86)
      com.sun.xml.bind.api.Bridge.marshal(Bridge.java:145)
      com.sun.xml.ws.message.jaxb.JAXBHeader.writeTo(JAXBHeader.java:201)
      com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:148)
      com.sun.xml.ws.api.message.MessageWrapper.writeTo(MessageWrapper.java:230)
      com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:134)
      com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:242)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
      com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
      com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
      com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
      com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
      com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
      com.sun.xml.ws.client.Stub.process(Stub.java:464)
      com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91)
      com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
      com.sun.proxy.$Proxy93.setExecutionParameters(Unknown Source)
      com.iphos.rankingcheck.util.ReportServiceCaller.callReportWS(ReportServiceCaller.java:79)
      com.iphos.rankingcheck.controller.ReportController.display(ReportController.java:209)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:601)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  </code></pre>
  
  <p>I tried adding other dependencies like: webservices-rt, webservices-osgi and others, but I was unable to resolve the issue.</p>
  
  <p>Any suggestions would be apprecieated.</p>