cancel
Showing results for 
Search instead for 
Did you mean: 

abapProxy to external Webservice

Former Member
0 Kudos

I want to call an external webservice via abapProxy.

and I create two message interfaces from wsdl file of this external webservice (MsgOutput, MsgInput).

My scenario is like following

SapSystem A (abapProxy)--> XI --> an external webservice(Soap)

I defined only one business system (for sap systemA).Do I need to define another business system in Integration Builder for this external webservice?If it is yes, how i can do?,what should i choose as technical system?

Communication Channel(Receiver) message Protocol is SOAP

Receiver Determination : SAPSYS | MsgOutput

InterfaceDetermination : SAPSYS | MsgOutput | SAPSYS

ReceiverAggrement : SAPSYS | SAPSYS | MsgInput

but in XI side , i get following error "Failed to determine a receiver aggrement for the given message..".

What may the problem be?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ;

Yes it is synchronous scenario but i dont understand what you mean

"there is mapping to capture u r response from WebService" maybe it may be my mistake.

Must i define another receiver agreement ,receiver determination for response message from webservice?

Thanks

Former Member
0 Kudos

Hi

MI_Proxy has

MT_proxy_out

MT_proxy_in

MI_WebService

MT_Request

MT_Response

Message Mapping

MM1 ===> MT_proxy_out -


> MT_Request

MM2 ===> MT_Response -


> MT_Proxy_in

Interface Mapping (IM)

Here we use MI_Proxy -


> MI_WebService

Now you have to select the two mapping in request (MM1) and response tab as (MM2)

Have u done that

rgds

srini

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Venkateswarlu ;

As your suggestion, I created business system and technical system, it doest work too.

Do you have any document about how to make sld settings or Receiver settings to call an external webserver?

I dont understand why it gives error "Failed to determine a receiver agreement for the given message"

Thanks

Former Member
0 Kudos

Hi

Hope u have configured Synchronous scenario, and there is mapping to capture u r response from WebService

rgds

srini

Former Member
0 Kudos

Hi Venkateswarlu ;

your solution doesnt work. I created a new Business Service for the external webservice (MOHBusinessService) . Now it looks like;

Communication Channel(Receiver) message Protocol is SOAP

Receiver Determination: SAPSYS | MsgOutput

InterfaceDetermination : SAPSYS | MsgOutput | MOHBusinessService

ReceiverAggrement : SAPSYS | MOHBusinessService | MsgInput

but i get the same error

com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=OLT200;TS=MOHBusinessService;AN=MoHInputInt;;

and SXMB_MONI logs :

System Error - Restart Not Possible@	11.04.2009	09:48:03	MoHInputInt	MoHOutputInt	CENTRAL	AENGINE	IENGINE
System Error - Restart Not Possible@	11.04.2009	09:48:03	MoHInputInt	MoHOutputInt	SENDER	IENGINE	PROXY
System Error - Restart Not Possible@	11.04.2009	09:48:03	MoHOutputInt	MoHInputInt	CENTRAL	IENGINE	AENGINE
System Error - Restart Not Possible@	11.04.2009	09:48:03	MoHOutputInt		        SENDER	PROXY	IENGINE	

Former Member
0 Kudos

Hi

Have u imported BS from SLD.do sld refresh from id.

If this not working try to create a BS by declaring a virtual TS in SLD.

It will work

srini

Former Member
0 Kudos

Hi

You can create a Business Service if your not having any technical details for your webservice system

If you have details of u r webserver , create technical system as your webservice ip Address and create a Business name with your Service name , this creation is of third party type

Use this BS in u r ID, wat is SAPSYS?? is it SAP System BS then u r congiguration is wrong

Receiver Agreement should have the new BS created in SLD.

lemme know if any more

rgds

srini