I need to call a Microsoft sharepoint(2007) .net webservice from Java Client.
Calling the webservice from SOAP UI works fine but when called from Java client it gives error -
403-Forbidden - server denied specified URL. Contact Administrator
I am using Basic Authentication and the same is enabled on IIS server
The request sent through SOAP UI is
and the request sent through Java client is (using TCPmon)
A major difference between two is 'Authorization: Basic Y3RzXDIzNTg5NjpqdW5fMTk4NQ==' which is being passed from java client and not from SOAP UI.
i am passing authentication credentials via SOAP UI as well.
also, if i check attribute 'Add authentication information to outgoing request' in SOAP UI preference, it adds 'Authorization:Basic **==' in the request. and this particular request then is giving error.
from client code, if i remove username/password settings, it does not add Authorization in request (as with SOAP UI) but still giving the same error.
what can be the possible solution for this ??
Note: Java client is created by Eclipse-Webservice-Webservice Client providing wsdl
Thanks in Advance
subject: Sharepoint Webservice call from Java Client returns 403-Forbidden