cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to RFC

Former Member
0 Kudos

When I was trying to create a senario SOAP to RFC, I am getting an error says

<s:SystemError lns:s="http://sap.com/xi/WebService/xi2.0">

<context/>

<code>MESSAGE.GENERAL</code>

<text/>

</s:SystemError>

When I monitor, I am getting the error user id or pwd is incorrect. in my communication channel for receiver I gave mu R3 systems name, number, user id and pwd.

Any idea, what is the problem. Do I have to do anything inthe R3side? please advice me

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi,

Did you check where exactly you are getting error ?

Is it in Sender SOAP adapter error ? Or Reciever Error?

Anyway check Adapter monitoring for SOAP and RFC communication channel. If there is any error in the logon parameters in the RFC channel, it will give error in the Adapter monitoring.

Hope you have configured RFC destination etc for RFC connection in SM59 in XI.

Check did you get sender message in XI i.e go to SXMB_MONI and check it..

BTW how are you sending message to XI , thru SOAP client ? If so check SOAP sender adapter configuration in the Integrtaion Directory

Regards,

Moorthy

Former Member
0 Kudos

When I check the Adapter monitoring, this is what I am getting for the RFC receiver

Receiver channel 'SOAP_RFC_RECEIVER' for party '', service 'GSIENTPR'

Error can not instantiate RfcPool caused by:

com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect. Please re-enter

I creatd RFC destinaion in XI using SM59

connection type is 3 - connection to R3

and host target host is R3 system and

the logon tab, gave it as client is R3 system and R3 sytem user id and pwd.

When I check it in SXMB_MONI

i am getting ' receiver channel has static error, here it is. I am not sure what I am missing

<SAP:MessageClass>SystemError</SAP:MessageClass>

<SAP:ProcessingMode>synchronous</SAP:ProcessingMode>

<SAP:MessageId>1FF582F2-675B-11DB-9B3C-00C09F349781</SAP:MessageId>

<SAP:RefToMessageId>B96C53B2-5391-894A-B111-470D5C0D17A1</SAP:RefToMessageId>

<SAP:TimeSent>2006-10-29T14:38:21Z</SAP:TimeSent>

- <SAP:Sender>

<SAP:Service>GSIENTPR</SAP:Service>

<SAP:Interface namespace="urn:sap-com:document:sap:rfc:functions">BAPI_MATERIAL_DISPLAY</SAP:Interface>

</SAP:Sender>

- <SAP:Receiver>

<SAP:Party agency="http://sap.com/xi/XI" scheme="XIParty" />

<SAP:Service>PSG_BUS_SYS1</SAP:Service>

<SAP:Interface namespace="http://gs.com/psg/rfc_soap_new">MI_MATERIAL</SAP:Interface>

<SAP:Mapping />

</SAP:Receiver>

<SAP:Interface namespace="urn:sap-com:document:sap:rfc:functions">BAPI_MATERIAL_DISPLAY</SAP:Interface>

</SAP:Main>

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

<SAP:QualityOfService>BestEffort</SAP:QualityOfService>

</SAP:ReliableMessaging>

- <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.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect. Please re-enter</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

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

</SAP:Error>

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

- <SAP:Hop timeStamp="2006-10-29T14:38:19Z" wasRead="false">

<SAP:Engine type="IS">is.88.sapxi</SAP:Engine>

<SAP:Adapter namespace="http://sap.com/xi/XI/System">XI</SAP:Adapter>

<SAP:MessageId>B96C53B2-5391-894A-B111-470D5C0D17A1</SAP:MessageId>

<SAP:Info>3.0</SAP:Info>

</SAP:Hop>

</SAP:HopList>

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

<SAP:Status>Error</SAP:Status>

<SAP:Category>permanent</SAP:Category

former_member206604
Active Contributor
0 Kudos

Hi,

Are you sure you have given the Right UserID and password. Try creating a RFC destination and doa remote login. If that works fine they you should not have this problem.

If you still face the problem let us know.

Regards,

Prakash

Former Member
0 Kudos

I created RFC destination(in R/3 connections) from XI and try to remote login. and it loged in to the R3 system. but still I am getting the error. Do I have to mention this connection name anyware in the comunication channel? please help me to solve my issue

former_member206604
Active Contributor
0 Kudos

Hi,

First make sure that the login details that provied in the receiver communication channel id perfect. If you still face the problem, goto the Visual Admin Stop and Start the RFC Adapter service.

Also try creating a new communication channel and check with it.

Regards,

Prakash

moorthy
Active Contributor
0 Kudos

Hi

What is the user id /password you have given in the RFC communication channel ?

Is it Dialogue user ? If so, try to logon into SAP R/3 with given user id and password in the RFC adapter configuration..

As the error clearly tells that, it is because of invalid user id/password. So before running the scenario, you can if the RFC adapter is active or not. Check this with correct user id and password.

Also just refresh the adapter cache, may be changing the receiver agreement and activate it again. Also refresh the Adapter metadata (IntegrtaionBuilder->Admin->Cache overview ).

Regards,

Moorthy

Former Member
0 Kudos

In the sender communication channel, message protocol is SOAP, in that I gave my message interface and name space.

And in the RFC receiver, I gave message protocol is RFC

and

RFC server type is SAP system

Application server is my R3 system name

System number is R3 system number

Authentication mode is Use logon data for SAP system

User id and pwd is R3 system user id and pwd

Languge is En

client is R3 client and max connection is 1

I refresh the cache, no change.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

1) Check the BAPI is avilable in R3 system

2) Sender communicaztion channel make it INACTIVE save it activate the object..AGAIN change Sender communicaztion channel status to ACTIVE ..save it and activate the object.

3) Go for SLD cache.

To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.

Regards

Agasthuri Doss

Former Member
0 Kudos

Belive it or not, When I try to give the PWD in CAPS inthe RFC receiver, that error gone. I am using small letters every where else, even log on.

now I am getting another error when I try to send from SOAP

here it is Mapping program not found. Can you tell me where is the problem.

<faultcode>SOAP:Server</faultcode>

<faultstring>System Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context/>

<code>MAPPING.NO_MAPPINGPROGRAM_FOUND</code>

<text>Unable to determine name of mapping program</text>

</s:SystemError>

former_member206604
Active Contributor
0 Kudos

Hi,

I was about to suggest you that password problem with CAPS but you said i workd fine from RFC destination. Anyways good to know it worked well.

Regarding the mapping problem

1. Try activating your mapping and make sure you have created the Interface mapping and that is refered in Interface determination.

2.Is your interface Sync... then did you do a response mapping? If not please do it. If you do not need a response from the RFC make the QoS as EO.

Regards,

Prakash

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

As the error implies it is because you have not selected any Interface Mapping in the Interface Determintion or, you have not create any reponse mapping?

As it is a synch scenario, you need to have 2 mappings, one for request and other for response? Have you done this and used them in the interface mapping?

Regards,

Bhavesh