Two Laptop Bag*
The moose likes Web Services and the fly likes Java consuming SharePoint WCF service using object model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java consuming SharePoint WCF service using object model" Watch "Java consuming SharePoint WCF service using object model" New topic
Author

Java consuming SharePoint WCF service using object model

Praveen Kumar Jayaram
Ranch Hand

Joined: Jul 14, 2008
Posts: 56
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
Praveen Kumar Jayaram
Ranch Hand

Joined: Jul 14, 2008
Posts: 56
Any help?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java consuming SharePoint WCF service using object model