2008-11-07 3 views
2

Reporting Services SOAP API를 호출하여 모든 ReportManager 기능을 대체하려는 웹 응용 프로그램을 작성 중입니다.Reporting Services WS from Java - Getting (401) Unauthorized

우리는 SSRS 2008 작업을 시작했으며 Java 코드가 올바르게 작동하도록했습니다. 우리는 이후 SSRS 2005로 다운 그레이드해야했고 이제는 서버에 연결하여 사용 가능한 보고서 목록을 가져 오는 데 문제가 있습니다.

우리는 다음 호출합니다

카탈로그 = _reportingService.listChildren (_reportCredentials.getFolder(), 거짓); 예외를 반환

- (401)

무단

_reportCredentials 단지 특성 (사용하는 폴더, 사용자 이름 및 암호 등 같은) 파일에서 정보를 보유하고 있습니다. _reportService는 다음과 같이 정의됩니다.

private ReportingService2005Soap _reportingService;

_reportingServiceLocator = 새로운 ReportingService2005Locator

(); _reportingServiceLocator.setReportingService2005SoapEndpointAddress (soapURL);

시도 {

_reportingService = _reportingServiceLocator.getReportingService2005Soap();

} catch (Exception e) { throw new ReportServicesException ("SOAP보고 서비스를 검색 할 수 없습니다."); }

코드에서 연결중인 사용자/비밀번호로 ReportManager에 연결할 수도 있습니다.

Java 코드에 적용되지 않는 .NET 코드 만 찾을 수 있습니다. 아무도 이런 문제가 발생 했습니까? 아니면이 서비스를 사용하는 Java 개발자에게 유용한 리소스를 알고 있습니까?

답변