Java consuming SharePoint WCF service using object model
Praveen Kumar Jayaram
Joined: Jul 14, 2008
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.