cancel
Showing results for 
Search instead for 
Did you mean: 

401- Unauthorized error in Outbound proxy Interface

Former Member
0 Kudos

Hi Gurus,

Need your urgent help.

Right now i am developing two asynchronous interfaces with inbound and outbound proxy.

1) Web -> XI -> R/3

2) R/3 -> XI -> Oracle Database

I am calling my Outbound proxy in my inbound proxy. Here while testing Inbound proxy works fine and it shows message successful.

But when inbound proxy is calling outbound proxy, at that time it is giving error as 401- Unauthorization in R/3 system SXMB_MONI for 2nd interface

Can anyone tell me what probably is missing or problem with this.

Thanx in advance.

Regards,

Hetal

Accepted Solutions (0)

Answers (2)

Answers (2)

turmoll
Active Contributor
0 Kudos

Hi,

check if RFC destination on R/3 pointing XI pipline works fine ... by SXMB_ADM -> Integration Engine Configuration -> Corresponding Integ. Server

Regards,

Jakub

Former Member
0 Kudos

Hi Jakub,

I have tried that, and it is asking me user id and password.

When i enter login credantials, it is giving me following msg.

SOAP:ClientEmpty HTTP request receivedhttp://sap.com/xi/XI/Message/30XIProtocolEMPTY_HTTP_REQUEST_RECEIVEDEmpty HTTP query received; message processing not possible

So i guess that is working fine.

Any other suggestions?

Regards,

Hetal

turmoll
Active Contributor
0 Kudos

Hi,

It shouldn't ask you for user and password.

It should be specified in RFC destination in tab "Logon and Security".

Regards,

Jakub

Former Member
0 Kudos

Hi Jakub,

I just want to clearify my doubt.

In R/3 system -> SXMB_ADM -> Integration Engine -> i have specified address of XI server (http://<XIserverhost>:<http port>/sap/xi/engine?type=entry)

In XI system -> SXMB_ADM -> Integration Engine -> i have specified address of XI server (http://<XIserverhost>:<http port>/sap/xi/engine?type=entry)

and when i am trying to use this URL in window then it is asking me for userid and password.

I am not sure how the communication is happening. If i am checking RFC destination in R/3 created for XI, it is working fine.

So can you tell me how to do that?

Regards,

Hetal

turmoll
Active Contributor
0 Kudos

Hi,

I was talking about SXMB_ADM in R/3 system. Take a look at this doc: [Displaying/Changing Configuration Data|http://help.sap.com/saphelp_nw04/helpdata/en/89/b5553bf3a76258e10000000a114084/content.htm]. Both RFC destination and URL is possible. Make sure that you have specified user for HTTP service (/sap/xi/engine).

Regards,

Jakub

Former Member
0 Kudos

HI,

I think your 1st interface is Synchronous communication

Web ---> XI ---> R/3. thus the XI port is waiting for the response from Proxy to back to Web. Unless you have not completed this cycle you can not start another cycle as sub-part of it.

It will give you the authorization error for 2nd interface.

Either you coplete the call of inbound proxy or used it in asynchronous way.

You have called the Outbound proxy in your Inbound prxy it means the ABAP coding you have written for Inbound proxy is used to call the Outbound proxy also. If this is the case then make sure that the Execute_Synchronous method is completed before calling the outbound proxy.

Thanks

Swarup

Former Member
0 Kudos

Hi Swarup,

As i have told you, that Web -> XI -> R/3 is also an asynchronous interface.

Web sends data -> XI passes it to R/3 and in R/3 inbound proxy i have called RFC which enters data into tables.

Then after RFC call i am calling method of outbound proxy to send data to Database which is returnd by RFC.

This is my scenario. So i dont think there should be any issue of acknowledgement.

If i am wrong then tell me or let me know the other suggestions please.

Thank you.

Hetal