cancel
Showing results for 
Search instead for 
Did you mean: 

Two HTTP Calls

Former Member
0 Kudos

I have the Message types as the XSD's and they are external Definition. They are all downloaded into the External Definition.

External definitions

-


1. HTTPRequest1 2. HTTPResponse1

3. HTTPRequest2 4. HTTPResponse2

Created the necessary Message Interfaces, Message Mappings and Interface mappings.

Objective: Two HTTP Sync Calls

1) Send a HTTP Sync call with HTTPRequest1 loaded, expect the HTTPResponse1 (Will contain the Password)

2) Do the Transformation from HTTPREsponse1 to HTTPRequest2

3) Send the Second HTTPSync call with HTTPRequest2 loaded and get the HTTPREsponse2 (Contains the Employee Details)

Have any one tried the above scenario and whether it is working? Please guide me. Legends(Krishna, Bhavesh, Michal,Prakash Arunachlam,...........) if you could give a detailed step by step solution I would really appreicate that. r u can send your screen shots to mohinimrm@yahoo.com

Thanks friends.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member206604
Active Contributor
0 Kudos

Hi Mohini,

Try the following steps and let me know,

<b>Message Types</b>

MT_Source

MT_Target

MT_HTTP1Req

MT_HTTP1Res

MT_HTTP2Req

MT_HTTP2Res

<b>Message Interface</b>

Source_Async_OB

Target_Async_IB

Source_Async_ABS

Target_Async_ABS

HTTP2Req_Async_ABS

HTTP1_Sync_IB

Output Msg : MT_HTTP1Req

Imput Msg : MT_HTTP1Res

HTTP2_Sync_IB

Output Msg : MT_HTTP2Req

Imput Msg : MT_HTTP2Res

HTTP1_Sync_ABS

Output Msg : MT_Source

Input Msg : MT_HTTP2Req

HTTP2_Sync_ABS

Output Msg : MT_HTTP2Req

Input Msg : MT_Target

<b>Message Mapping</b>

MT_Source To MT_HTTP1Req

MT_HTTP1Res To MT_HTTP2Req

MT_HTTP2Req To MT_HTTP2Req

MT_HTTP2Res To MT_Target

<b>Interface Mapping</b>

HTTP1_Sync_ABS To HTTP1_Sync_IB

Req mapping : MT_Source To MT_HTTP1Req

Res mapping : MT_HTTP1Res To MT_HTTP2Req

HTTP2_Sync_ABS To HTTP2_Sync_IB

Req mapping : MT_HTTP2Req To MT_HTTP2Req

Res mapping : MT_HTTP2Res To MT_Target

<b>BPM Steps</b>

Receive : Source_Async_ABS

Send1(Sync) : HTTP1_Sync_ABS (Source_Async_ABS, HTTP2Req_Async_ABS)

Send2(Sync) : HTTP2_Sync_ABS (HTTP2Req_Async_ABS, Target_Async_ABS)

Send3 : Target_Async_ABS

Use those Interface Mappings while doing the Interface Determination.

Now you will not have any transformation step inside your BPM.

Thanks,

Prakash

Former Member
0 Kudos

Prakash and sekar I will try it and will get back to you.

Have a glorious weekend.

Former Member
0 Kudos

Hi ,

Try this way...

1)Recieve step---recieves HTTPRequest1

2)Send Synch --- make a call to HTTP synch call

3)Transformation -- (try with the different container element which is refering same abstract interface)

4)Send Synch --- make a second HTTP call.

Sekhar