Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Tue, 15 Apr 2008 21:46:00 -0700,    group: microsoft.public.exchange.applications        back       


Authetntication Problem   
I am using Java stub to communicate with Exchange server using web service.
i have solved lot of problem in creating java Stub by the guidines of Mr 
.Hervé

Finally i am standing in the Authentication section. Please advice me to 
solve the problem. Here is my error

i am trying to communicated with sample code. please check the error and 
give some idea to solve my perobelm( uisng Ms exchange server 2007)

the web service of exchange server is enabled in IIS server.

org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
	at 
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
	at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
	at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
	at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
	at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
	at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
	at 
com.microsoft.schemas.exchange.services._2006.messages.ExchangeWebServiceStub.GetFolder(ExchangeWebServiceStub.java:1202)
	at exchangeClient.impl.testing.getInboxId(testing.java:56)
	at exchangeClient.impl.testing.main(testing.java:132)
date: Tue, 15 Apr 2008 21:46:00 -0700   author:   sri

Re: Authetntication Problem   
Hello,

the unauthorized can have different sources:
1. You have no access to the folder in question. e
2. You are using the wrong authentication method.

Exchange will have enabled NTLM/Kerberos by default, this will probably be 
difficult from Java. Try to set the authentication to basic on the Exchange 
box and try to send your username and password with your request as http 
header. Your java classes should expose method for setting this.

Kind regards,
Henning Krause

"sri"  wrote in message 
news:3261D87D-C73F-4F47-9D11-5EC62D35C12A@microsoft.com...
>I am using Java stub to communicate with Exchange server using web service.
> i have solved lot of problem in creating java Stub by the guidines of Mr
> .Hervé
>
> Finally i am standing in the Authentication section. Please advice me to
> solve the problem. Here is my error
>
> i am trying to communicated with sample code. please check the error and
> give some idea to solve my perobelm( uisng Ms exchange server 2007)
>
> the web service of exchange server is enabled in IIS server.
>
> org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at
> com.microsoft.schemas.exchange.services._2006.messages.ExchangeWebServiceStub.GetFolder(ExchangeWebServiceStub.java:1202)
> at exchangeClient.impl.testing.getInboxId(testing.java:56)
> at exchangeClient.impl.testing.main(testing.java:132)
>
>
>
date: Tue, 15 Apr 2008 22:12:44 -0700   author:   Henning Krause [MVP - Exchange]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us