cancel
Showing results for 
Search instead for 
Did you mean: 

RFC -> Xi -> Webservice,

Former Member
0 Kudos

Hi all,

I am configuring a RFC -> XI -> Webservice scenario. Our webservice doesn't expect any input. I created an RFC interface without any import parameter and then in the XI too, i created an interface with massage type of string (I am not sure if this is correct or not.) I kept the target message cardinality as 0..1 in the request message mapping. Still i am getting an error in the Interface mapping.

Can any body please suggest me the possible reason and how to resolve it.

Any help will be appriciated.

Thanks and best regards,

Kulwant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Check the links...

Weblog to send Response from RFC to File in Asyn Mode Using Proxy:

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5539] [original link is broken] [original link is broken] [original link is broken];

RFC -> XI -> WebService - A Complete Walkthrough :

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3408] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3387] [original link is broken] [original link is broken] [original link is broken];

Send RFC to SAP XI – Asynchronous:

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5398] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1926] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1438] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0]

[]

Regards,

Prakasu

Answers (2)

Answers (2)

Former Member
0 Kudos

I kept the target message cardinality as 0..1 in the request message mapping

Suggestion:

Use 1..1 only in message mapping.It creates a empty message after mapping which can call your webservice....

Former Member
0 Kudos

Hi Kulwant,

1. U dont need to create any DataType or Msg Type in XI . As Urs is RFC --> Webservice Scenario. U can import the RFC structure directly and Use it as a Message Interface in ur Interaface Mapping.

Similarly, directly use Interface created out of your imported WSDL.

2. For Mapping , proceed as Sekhar has suggested....

Regards,

Ashwin M

[Dont forget to mark helpful answers]

nikhil_bose
Active Contributor
0 Kudos

you can ignore the web service response or give a dummy to catch(interface mapping response will raise error; still can complete the scenario

- nikhiL

Former Member
0 Kudos

Hi Nikhil,

Thanks for the quick reply,

But my question is related about how to create the mappings for an interface which doesn't have any input. I am getting an error in the request message mapping because webservice doesn't require any imput. So while creating a message type here, what should be the type specified?

Thanks and best regards,

Kulwant