File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java consuming SharePoint WCF service using object model

 
Praveen Kumar Jayaram
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm trying to consume a SharePoint web service deployed on IIS remotely and facing some authorization issues.
I have set the NTLM credentials and able to access SharePoint built-in web services like Lists, Search, Web, etc. But the problem is in accessing the custom WCF service using object model classes, as it throws FileNotFoundException. SharePoint reports FileNotFoundException even if the users doesn't have necessary permission.
The same custom WCF service can be consumed successfully locally without any issues.

Though this is not place to ask help for SharePoint related queries. Someone would've faced similar issues while integrating Java and SharePoint.
Please find the code below to configure the NTLM credentials:



Kindly throw some light if any had faced similar issues. Any help would be appreciated.
 
Praveen Kumar Jayaram
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic