manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: 302 when trying to connect to Sharepoint
Date Tue, 11 May 2010 15:24:22 GMT
Well, now it's clear that the SharePoint instance you are connecting to is configured in an
unusual way.

The axis fault = Server.userException says that the error is coming back from the server.
The detail is strange in that it is giving what looks like a Java exception - from the SharePoint
server, which is a .NET application.

I suggest turning on wire level debugging, so we can see exactly what's going to and from
the server.  Perhaps the credentials you are giving it are incorrect in some way, and it is
trying to redirect you to a logon screen or something - and we'll see all that if we log the
back-and-forth of the communication.

To turn on wire debugging, edit your logging.ini file (or whatever you called it), and add
this line at the end:


then, restart tomcat, and view the connection again.  You should see output in your log file
that is related to the SOAP requests going back and forth.  If you send those to me, I can
interpret them for you.


From: [] On Behalf Of ext Simon Habtemikael
Sent: Tuesday, May 11, 2010 11:11 AM
Subject: Re: 302 when trying to connect to Sharepoint

Tried the new commit and now i get:
 Got an unknown remote exception accessing site - axis fault = Server.userException, detail
= java.lang.IllegalArgumentException: Entity enclosing requests cannot be redirected without
user intervention



On Tue, May 11, 2010 at 4:45 PM, <<>>
It might.  Then again, it might not.  Normally, accessing SharePoint via web services does
not cause any redirections to occur.  But it's possible your SharePoint instance is configured

So I suggest that you try it, and if it works for you, then great.  It has been committed


From:<> [<>]
On Behalf Of ext Simon Habtemikael [<>]
Sent: Tuesday, May 11, 2010 10:40 AM
Subject: Re: 302 when trying to connect to Sharepoint

Oh! Will that fix my problem?


On Tue, May 11, 2010 at 4:33 PM, <<><<>>>
I have noticed that redirections don't appear to be enabled in CommonsHttpSender, which is
unintentional and is a bit of a surprise.  I'll be updating the code accordingly.


From: Wright Karl (Nokia-S/Cambridge)
Sent: Tuesday, May 11, 2010 10:21 AM
Subject: RE: 302 when trying to connect to Sharepoint

Hi Simon,

I guess there are two ways to pursue this.  First is to figure out why you are getting a redirection
in the first place.  Second would be to figure out why you aren't seeing proper redirection
handling from httpclient.

First, I'd ask you to verify that you have set up the appropriate wsdd reference in the LCF
properties.ini file.  Without that reference being correct, axis uses its own transport, not
httpclient, and I don't know what exactly it does with redirections.

The second thing I'd ask you to do is to log into your root SharePoint site with your browser
first, and look at the url after you log in.  Are the URL components the same as what you
entered for the SharePoint connection?  They should be.


From: ext Simon Habtemikael [<><<>>]
Sent: Tuesday, May 11, 2010 10:11 AM
Subject: Fwd: 302 when trying to connect to Sharepoint


I set up LCF and created a Authority Connection (AD) and a Repository Connection (Sharepoint)
however when I enter all the necessary information, i get the following Connection Status:Unexpected
http error code 302 accessing SharePoint at http://win2k8sharepoin/Docs: (302)Found

I don't really understand why I keep getting a redirect ?
Any idea on how to fix this?


Best regards,

View raw message