cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:XI adapter

Former Member
0 Kudos

Hi...

I am doing Soap to Server Proxy sceanrio in PI 7.1 server.

In Receiver XI Communication channel i have given the below details.

Transport Protocol : HTTP 1.0

Message Protocol : XI 3.0

Adapter Engine : Integration Server

Addressing Type: URL Address

Target Host :Server name

Service Number: port number

Path Prefix: /MessagingSystem/receiver/JPR/XI

Authentication Type: Use Logon Data for SAP System

User Name: user

Password : pwsd.

While executing the scenario, i am getting the below error in SXMB_MONI.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>

<SAP:P1>401</SAP:P1>

<SAP:P2>Unauthorized</SAP:P2>

<SAP:P3>(See attachment HTMLError for details)</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Could u please why this error is cuming.

The User id is having all admin rights.

In authetication Type , i have selected "Use Logon Data for SAP System" . Do i need to select "Use Logon Data for NON-SAP System" there.

Thanks & Regards,

Leela

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Leela,

Please correct me if i am wrong but what i understood from your scenario description is you have an ABAP server proxy. In case you use an ABAP server proxy, please follow the steps as mentioned in the following blog:

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

Also, in the CC, please provide the connection details to the backend R/3 system. Its better if you have a HTTP destination created already and use it in your CC configuration.

The link you had provided earlier is a link to configuration for JAVA server proxy.

Thanks!!!

Sidhartha

Former Member
0 Kudos

Hi Sidhartha,

My scenario is "Soap to JavaSever proxy. "

Regards,

Leela

Former Member
0 Kudos

Hi,

yes, you need to select Use logon data for non-SAP system and your path prefix should be

/MessagingSystem/receive/JPR/XI

and user should be XIAPPLUSER

Refer the following link for XI receiver adapter configuration for java proxy

http://help.sap.com/saphelp_nw04s/helpdata/en/5b/12b7e6a466456aa71ef852af033b34/frameset.htm

Regards,

Sreenivas.

Former Member
0 Kudos

Hi...

I have changed to Use logon data for non-SAP system .

In MONI, i am getting the below error.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(com.sap.engine.interfaces.messaging.api.Message) throws com.sap.engine.interfaces.messaging.api.exception.MessagingException method on bean instance com.sap.aii.proxy.xiruntime.sbeans.JPRBeanb85e54c for bean sap.com/com.sap.aii.proxy.appxml|com.sap.aii.proxy.ejb.jarxml|JPR; nested exception is: java.lang.ClassCastException: class $Proxy2701_10000:sap.com/Serverproxy_EARcom.sap.engine.boot.loader.ResourceMultiParentClassLoader617b8e84@alive incompatible with interface com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4:service:com.sap.aii.proxy.svccom.sap.engine.boot.loader.ResourceMultiParentClassLoader@5bebacc8@alive</SAP:AdditionalText>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Can you tell me why this error is cuming?

Regards,

Leela

Former Member
0 Kudos

Hello,

Hopefully Proxy is created on WAS 6.40

MessagingSystem/receiver/JPR/XI Why are you routing it to this address instead of Integration Engine pipeline (correct me if i am wrong) sap/xi/Engine?type=Entry instead of this

Rajesh

Former Member
0 Kudos

Hello,

The one i specified is for ABAP Proxy ,in your case it seems like java proxy and you need to specify nonsap logon details

Rajesh

Former Member
0 Kudos

Hi..

in order to use java proxy u need to route it to JPR(java proxy runtime). from there u have to regester it to... XI engine.

Regards,

Leela

Former Member
0 Kudos

Hi,

Have you looked into the xi receiver adapter config for java proxy, for which link is provided earlier.

Use the same values as provided in help.sap.com..

http://help.sap.com/saphelp_nw04s/helpdata/en/5b/12b7e6a466456aa71ef852af033b34/frameset.htm

Regards,

Sreenivas.

Former Member
0 Kudos

Hi...

I have configured in the same way. Even though i am getting the above specified error.

Regards,

Leela

Former Member
0 Kudos

Hello,

Can you redeploy in J2EE server. (Have you get any errors for your first deployment)

and try the following

The mapping between the interface name and the class name of the server Java proxy is

done by the proxy server. You have to register the server Java proxies to the proxy server.

You do this by typing a string directly in the address bar of your Internet browser as

follows:

http://<Host>:<Port>/ProxyServer/register?ns=<Namespace>&interfac

e=<MessageInterface>&bean=<JNDI_Name>&method=<MethodName>

Regards,

Sreenivas.

Former Member
0 Kudos

Hi....

I have already registered the JNDI name by using the below URL.

http://<Host>:<Port>/ProxyServer/register?ns=<Namespace>&interfac

e=<MessageInterface>&bean=<JNDI_Name>&method=<MethodName>