title: Sql Server Reporting Service 2010 WITH JAVA ee application
body: <p>I am trying to integrate Sql Server Reporting Service with Java EE application. 
  I can see 2 reports on the reporting server. I am trying to use the RS web service to access the server. Steps taken by me are </p>
  
  <ol>
  <li>Created Dynamic project in Eclipse  </li>
  <li>Got to New - Web Service client and entered the Web service defination as
        ://serverName:port/ReportServer/reportservice2010.asmx?wsdl</li>
  <li>I see in my project the below packages
  com.microsoft.schemas.sqlserver.reporting._2010._03._01.ReportServer
  com.microsoft.schemas.sqlserver.reporting._2010._03._01.ReportServer.holders</li>
  </ol>
  
  <p>My code:</p>
  
  <pre><code>com.microsoft.schemas.sqlserver.reporting._2010._03._01.ReportServer.Reporting‌Service2010SoapProxy service = new com.microsoft.schemas.sqlserver.reporting._2010._03._01.ReportServer.ReportingSe‌​rvice2010SoapProxy();
  String endPo="://serverName:port/ReportServer/reportservice2010.asmx?wsdl";
  service.setEndpoint(endPo);
  service.logonUser("serverName\\username", "password",null );
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>AxisFault faultCode: {xml.apache.org/axis}HTTP faultSubcode: faultString: (401)Unauthorized
  </code></pre>
  
  <p>After this I am not sure what I need to do. Please help me.
  I also tried to consume this web service using a proxy but I am getting an error.
  Kindly help me on what should be exactly done in order to consume SSRS 2010 webservice in Java.</p>
  
  <p>Regards,
  Neel</p>