Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

http 401 unauthorized error

Former Member
0 Likes
3,122

Hi

I have created FM based webservices and try to consume webservice via SOAPUI i am getting 401 unauthorized error.

Following step done, can you please confirm any step which was missed out due to the reason i am getting the above error.

configured in SOA manager.

1. Create RFC FM

2. create webservice via utility-more utillities-create webservice via FM

3. Configure the webservice definition and specify the values and activate in SOAMANAGER

4. open binded WSDL file working fine

5. SE80 via tested the service is working fine

6. Create logical port by using consumer proxy CO_SERVICE and specified the services

7. create service registry and try to publish, i am getting error message as ' Error retrieving Services Registry (SR) version information'

8. Try to consume via SOAP UI i am getting the above error

Thanks

1 REPLY 1
Read only

spalc
Participant
0 Likes
1,630


Hi Gunasekar,

Did you solve your prolem?

We had the same issue : "Web service ping failed (RC=401). Service Ping ERROR: Unauthorized". In our case (i assume there must be a lot of case for a such common error), we had a configuration error in our webservice. All is "local" (on the same abap instance), in our case. We didn't found any helpful traces in /usr/sap/<SID>/DVEB.../work directory.

here is the error :

below, our configuration error:

we changed "Make local call" to "No call in local system" :

Then ping of web service was OK

Kind regards, jean