cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 401 - UNAUTHORIZED. in HTTP TO RFC scenario

Former Member
0 Kudos

Hi Friends,

I am beginner of XI and trying out HTTP TO RFC scenario referring the blog:

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

but got stuck while sending a message from runtime workbench.

I am getting HTTP 401 - UNAUTHORIZED. Please dont mind if it silly doubt. I am beginner to XI and badly stuck up here.

Also to let you know -

In Runtime Workbench > Integration Server > Integration Engine XI1. To the left there is yellow triangle but all others (BPE XI1, Mapping Runtime xi01 and Adapter Engine XI01)

were green. Is Integration Engine XI1 should also be green? is that causing a problem?

Please give your valuable suggestions.

Looking forward for your response.

Thanks and Regards

Sam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This may be due to wrong user id and password ..check logon details in SM59 under "HTTP Connections to ABAP System"

Try to send messages from Integration Server>Adapter engine >Test Messages

Former Member
0 Kudos

Hi Guru,

When i entered into SM59 in XI system > under HTTP Connections to ABAP System,

User is XIISUSER. how to find out the password?

when i tried "Test Connection", got Internal server error HTTP 500

Please let me know your comments.

Regards

Sam

Former Member
0 Kudos

Hi Samuel,

HTTP 500 is the correct response.

The problem seems to be with the user you are using to send the HTTP message to XI. Make sure that the user you are using to test with to send the HTTP message has at least the same authorisations as XIAPPLUSER.

Former Member
0 Kudos

HI

can you please let me know how to find out that?

Regards

sam

Former Member
0 Kudos

How are you currently testing your interface? Which application are you using to send the HTTP message?

This username and password will either be configured in the application or you will be prompted during the test for a user and password.

Former Member
0 Kudos

Hi thanks for the quick responses.

I am trying to send HTTP message from RUNTIME WORKBENCH > INTEGRATION SERVER

Former Member
0 Kudos

I am giving all the info business service, interface, namespace,

username and password is bit confusing to me. which username should be used?

how to find out the permissions of the user? is this username and password should be different from xi username and password?

please let me know.

Thanks and Regards

Sam

Former Member
0 Kudos

No problem.

Where do you get the message Unauthorized?

Is the message getting displayed on the same page where you are testing from? If so then you do not have access to use this test tool.

Former Member
0 Kudos

Yes I am getting on the same page. How to get access to this tool?

Please let me know if i can use any other tool?

Thanks

Sam

Former Member
0 Kudos

May I ask for you email address to provide you with another HTTP testing tool?

Former Member
0 Kudos

sure it is melvinsamuel@yahoo.com

please send it to me. please briefly let me knwo how to use it?

thank you very much for yoru help

regards

sam

Former Member
0 Kudos

Thank you very much. i got the file. I filled out all the paramerters.

when i clicked send, it is prompting with

SAP WEB APPLICATION SERVER [XI1] dialog prompting for username and password.

username by defautl took: xiisuser

password: ****,

keep on prompting.

looks like password is wrong. how to reset the password or to know the password of it.

Please let me know

thanks

SAM

Former Member
0 Kudos

Try using your own user id and password.

To see if XIISUSER is locked goto transaction su01 and type XIISUSER and click the lock overview button.

Message was edited by:

Yaghya Nana

Former Member
0 Kudos

If your user does not work, use XIAPPLUSER if you have the password.

Former Member
0 Kudos

i checked xiisuser is not locked.

is there any way to reset the password of xiisuser? or to know the exact current password?

Thank you very much for your time

Sam

Former Member
0 Kudos

I would not advise changing a service user's password since this user could be used in many places and changing the password could cause several problems. Also i would suggest using XIAPPLUSER instead of XIISUSER.

My suggestion would be to instead copy the XIAPPLUSER to a new username (maybe to XIAPPLCOPY), that way you ensure you have the correct authorisations and you can also set the password of the new user.

To do this goto:

-> Transaction SU01

-> Type in XIAPPLUSER and press the copy button then enter the new user name (such as XIAPPLCOPY)

-> Now set the password by editing the newly created user (pencil button in SU01).

Former Member
0 Kudos

tried by copying to new user but still the same problem. when i click send button in the HTTP CLIENT, it keep on prompting for username and password.

Please let me know your comments.

Regards

Sam

Former Member
0 Kudos

Hi Sam,

After clicking the send button, try copying the URL in the textbox, directly into your internet browser and see if you have access.

Former Member
0 Kudos

i restarted my xi server after which after clicking send button atleast SAPAPPLCOPY is accepting. Now i am able to see the messages in sxmb_moni also but all are red incolor.

HTTP response contains status code 401 with the description unauthorized.

error id: http_resp_status_code_not_OK

error_category: internal

please let me know your commnets.

Former Member
0 Kudos

Hi

I think mistake which i have done is i have tried changing the password for "xiisuser" just before you told that it is dangerous to play with it.

I think htat si the reason everything stopeed working now. MY simple filetofile scenario also not working which worked fine eariler. Alsi not able to refresh the cache also.

Any idea of what is the problem is? Is there any way to redo that.

Thanks

Krishna

Answers (1)

Answers (1)

Former Member
0 Kudos

Do you see your message in sxmb_moni on xi?

Former Member
0 Kudos

No i cant see any messages.

Thanks Sam