Skip to Content
0
Former Member
Dec 30, 2005 at 09:29 AM

Problem in server response: [Unauthorized] when calling .Net WS

33 Views

Hi all,

<u>Scenario</u>:

I need to call Sharepoint's search Web Service from an SAP EP component.

Currently, I only need one operation out of it - the Query operation.

<u>What I did</u>:

I used the NWDS wizard to create a Portal Service from wsdl (client side).

Since the wizard had trouble with this specific wsdl, I used the wizard on the Google web service as an example, and tried to do the wizard work myself on the Sharepoint WS (implementation, serializers, soapconfig.xml).

I also created an HTTP System with the same system alias and created user mapping for my user.

In the test component I get a secured connection, and verified that my mapped username and password to the systemAlias are correct.

<u>The result</u>:

The SOAP message seems to be created and sent OK, but I get the error <b>com.sap.engine. services.webservices.jaxm.soap.accessor. NestedSOAPException:

Problem in server response: [Unauthorized].</b>

I tried all possible options in the Sharepoint's IIS security settings,

and all possible options in the HTTP System properties,

but nothing seems to work.

Any help will be appreciated.

Thanks,

Yoav.