http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices. is 
a 404 
you'll need to use a different schema (which is accessible)

and let us know when MS provides a wsdl for that web-service

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.






From: [email protected]
To: [email protected]
Date: Wed, 8 Apr 2009 17:34:48 +0200
Subject: RE: RE: NTLM IISS



















I have the WSDL provided by reportServer  
(http://localhost/reportserver/ReportService.asmx?WSDL)

and the namespace use by ADB generated bean is 
http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices.

 

But every time I try to call the ReportServer Ws, I get the 401.2
error sent by IIS, so there is no possible call to the server as IIS act as a
filter. I'm not the only  user of the server so changing the IIS configuration
to Anonymous may not be possible.

It's difficult to find information as NTLM as sample don't refer
to the right version.











 





De : Martin Gainty
[mailto:[email protected]] 

Envoyé : mercredi 8 avril 2009 16:46

À : [email protected]

Objet : RE:





 

I
took a brief look at 

http://msdn.microsoft.com/en-us/library/reportserviceauthentication.authenticationmode.aspx



which states I would need to

determine Namespace which will be used (this MUST BE accessible by server and
client)

e.g.





http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices

then
you'll need to determine the Authentication provider you will be using

-Forms

-None

-Passport

-Windows



has the WebService Provider provided you a WSDL?



Martin 

______________________________________________ 

Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.











> From: [email protected]

> To: [email protected]

> Date: Wed, 8 Apr 2009 16:16:07 +0200

> Subject: 

> 

> Hi,

> I'am trying to use Axis 2 to call MSSQL Report Server Web Services.
Authentication is done with IIS and NTLM.

> I found a lot of code sample but nothing work, I always have a 401 : Acces
Denied. 

> Does anyone succed using NTLM with Axis 2 ? 

> I also tried to use a proxy parameter in struts2.xml but it doesn't work.

> Here is my code: 

> 

> ReportingServiceStub stub = new 
> ReportingServiceStub("http://127.0.0.1/ReportServer/ReportService.asmx";);

>         

> 

> HttpTransportProperties.Authenticator auth = new
HttpTransportProperties.Authenticator();

>         

>        
auth.setUsername("user");

>         auth.setPassword("password");

>        
auth.setHost("server.fr.domain.com");

>        
auth.setDomain("domain");

>        
auth.setPreemptiveAuthentication(false);

>         

>         

>         

>         List authPrefs = new
ArrayList(1);

>         authPrefs.add(AuthPolicy.NTLM);

>         auth.setAuthSchemes(authPrefs);

>         

>        
stub._getServiceClient().getOptions().setProperty(HTTPConstants.AUTHENTICATE,
auth);

>         

>         

>        
com.microsoft.schemas.sqlserver.reporting.reportingservices.ReportingServiceStub.GetReportDefinition
getReportDefinition602=

>            
(com.microsoft.schemas.sqlserver.reporting.reportingservices.ReportingServiceStub.GetReportDefinition)getTestObject(com.microsoft.schemas.sqlserver.reporting.reportingservices.ReportingServiceStub.GetReportDefinition.class);

>         

>        
       
getReportDefinition602.setReport("/Galaxy/utilisateur");

>   
             

>        
       
assertNotNull(stub.GetReportDefinition(getReportDefinition602));

> 

> Thanks

> 







Rediscover
Hotmail®: Get quick friend updates right in your inbox. Check it out.


_________________________________________________________________
Rediscover Hotmail®: Get e-mail storage that grows with you. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009

Reply via email to