cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice1 TO RFC TO Webservice2 ----all Synchronous

Former Member
0 Kudos

Hi,

I have a scenario something like this Webservice1 (EP) ---RFC—Web service2 (Client).

Webservice1 (EP) has PRrequest and PRresponse message names

RFC has BAPI_Requisition_GetDetails and BAPI_Requisition_GetDetails.Response.

Webservice2 (Client) has submitPRrequest and submitPRResponse.

Now let me explain you the flow of the scenario.

1. Webservice1 (EP) sends Purchase Requisition request to RFC.request (Here RFC fetches data).

2. RFC.response sends fetched Purchase Requisition details to Web service2 (Client) request.

3. Web service2 .response gives confirmed/Error acknowledge back to Web service1 (EP) through XI.

I hope I am clear with the scenario. Now what I am afraid here how many Message Type do I have to create and how many Interface Mapping do I have to create?.

Can some explain me in details or if any web logs are existing please refer me…

Please help me…

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

You would need a synch - Asynch bridge as the response of Client Webservice you would need to send back to EP.

The Message Interfaces,

Synch Abs > 3> One each for the 2 webservices and one for RFC.

Synch Outbound --> 1 for the EP webservice

Synch Inbound --> 1 for the Client WS

Asynch Abs--> 6 --> For each of the request and response Message Types

Mappings -->

1.Between EP and RFC Request

2. Between RFC response and Client WS Request

3. Between Client WS response and EP response.

Regards,

Bhavesh

Former Member
0 Kudos

hi Bhavesh,

i am have created 11 Message Interfaces and 3 Message Mapping as per your said. now i have a problem in Interface Mapping.

1)how many Interface Mapping do i have to create here.

2) which message Interface do i have take in source and target interfaces.

please help me ......

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Interfaces Mappins

1. Betweeb Webservce 1 Request and RFC request message --> Between the ABS asynch interfaces of the same Webservice1 request and RFC request message

2. Between RFC response and Webservice 2 Request --> Between ABS asynch interface of the RFC response 1 and Webservice 2 request.

3. Between Webservice 2 response and Webservice 1 response --> between ABS asynch interface of the Webservice 2 response and Webservice 1 response.

Regards,

Bhavesh

Former Member
0 Kudos

I have done with the Interface Mapping as you said..

i am desiging IP for the above scenario. i am using Syn/Asyn bridge by taking all syn Receive icons....

suggest me if i am doing wrong....

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

>

> i am desiging IP for the above scenario. i am using

> Syn/Asyn bridge by taking all syn Receive icons....

Not very clear . Can you give more details?

meanhwile this is how the BPM would be,

1. Receive -->

Mode --Open S/ A bridge

Message --> Webservice 1 request message

2. Transform--> Interface Mapping 1 described above

Source Message --> Webservice 1 request message used in step 1

Target message --> RFC request message

3. Send-->

Mode -- Send Synchronous

Synch Message Interface --> abs Synch MI created for RFC as explained earlier

Request Message --> Target message of step 2

Response Message --> RFC response message

4. Transform -->

Interface Mapping 2 Described above

Source Message --> RFC response message used in step 3 's target

Target message --> Webservice 2 request Message

5. Send -->

Mode Synchronous

Synch Message Interface --> Abs Synch MI create for Webservice 2

Request message --> Webservice 2 request message.

Response Message --> Webservice 2 response message.

6. Transform -->

Interface Mapping 3 described above.

Source Message --> Webservice 2 response message.

Target Message --> Webserivde 2 response message

7. Send -->

Mode : Closes Synch Asynch Brige

Message : Target message of step 6

Regards

Bhavesh

Former Member
0 Kudos

>

> i am desiging IP for the above scenario. i am using

> Syn/Asyn bridge by taking all syn Receive icons....

Not very clear . Can you give more details?

i mean i will start BPM....

anyways you were explaining was superub..

i am bit confused with the step:6 and Step:7. in Target Message you mentioned "Webserivde 2 response message", i think it should be "Webservice1 response message".

In Step 7 Message it should be once again Webservice1 reponse message.

6. Transform -->

Interface Mapping 3 described above.

Source Message --> Webservice 2 response message.

Target Message --> Webserivde 2 response message

7. Send -->

Mode : Closes Synch Asynch Brige

Message : Target message of step 6

i think i should have four Receiver Determination in configuration Part.

Webservice1 to IP

IP to RFC

RFC to IP

IP to Webservice2

correct me if i am not wrong...

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

><i>i am bit confused with the step:6 and Step:7. in Target Message you mentioned "Webserivde 2 response message", i think it should be "Webservice1 response message".</i>

My mistake. You are correct!

You need 3 receiver determinations,

1. Webservice 1 to IP

2. Ip to RFC

3. IP to Webservice 2

Regards

Bhavesh

Former Member
0 Kudos

i am trying from a long time , but i am struck in RD.

i have 2 Business System and one 1 IP,

1.WebService_BS(Webservice1 and Webservice2)

2.RFC_XI_BS(R/3 system) and EP_RFC_PX_IP (Intergration Process).

1. Webservice 1 to IP

2. Ip to RFC

3. IP to Webservice 2

I am unable to get the Interface Mapping in Interface Determination...

bit confused here....

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

No need to select Interface Mapping in Interface Determination as you are doing the mapping inside the BPM. !!

Regards,

Bhavesh

Former Member
0 Kudos

hi

i am getting this error when i send a request to the server

<?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">PL_TIMEOUT</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Pipeline timeout condition satisfied</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

what could be the probelm..

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

PL TIMEOUT error occurs when the BPM is taking a long time to get processed.

Please refer this blog and increase the timeout levels,

/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts

Regards

Bhavesh

Former Member
0 Kudos

i have followed the blog and set the timeout but i am getting the same problem.

<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">PL_TIMEOUT</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Pipeline timeout condition satisfied</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

any ways to get rid off these problem.. please..

bhavesh_kantilal
Active Contributor
0 Kudos

Try increasing the time out interval! This is purely becuase the webservice is taking time to send the response back!

Regards

Bhavesh

PS : Consider posting the problem in a new thread as this would give more visibility and people will grab the problem immediately instead of navigating all along the way!

Former Member
0 Kudos

i gave time as 10000 sec ,,infact we are supposed to give...

from the point of the scenario the request from ws1 to rfc and rfc is fetching the data and posting the data to ws2 and ws2 is responding but not to the EP.

sxmb_moni is showing me all the message execution...

Infact whole scenario is working....

i am trying this from XMLSPy not from EP is that any cause for it..

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Check for the any error in the adapter monitoring.!

Can you give mroe details? Also, can you please open a thread for this as believe me you are not going to get visibility to your problem on this thread!

Regards

Bhavesh

Former Member
0 Kudos

hi Bhavesh,

I really appreciate your approach of answering the queries posted in ISDN.

your help while doing my scenario helped a lot..I have solved the PL_TIMEOUT error in my scenario.

once again thanks .. i am awarding the points to you...

Former Member
0 Kudos

hi Shaik,

I too have the same scenario throwing the same error as below, Please help what helped you fix this problem.

- <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">PL_TIMEOUT</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Thanks

Chandra

sam_venkat
Explorer
0 Kudos

What parameter did you change? Is it the HTTP_TIMEOUT?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can go thro the following blogs for Sync/Asyn bridge.

This blog is very relevant to your scenario: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

/people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi

Regards,

P.Venkat

Former Member
0 Kudos

Dear All,

Thnaks for your response... i will start desiging as u suggested , if i am struck i will get back to you.

please wait for sometimes...

thanks...