cancel
Showing results for 
Search instead for 
Did you mean: 

Http Scenario. Pls advice very urgent

Former Member
0 Kudos

Hi All,

My Scenario is

a. HTTP sends data to XI Synchronously.

b. XI opens Socket Connection in User Defined Function (UDF)

of Message Mapping and gets response back from Socket

in UDF. For Socket Connection request and response I will

write java code in UDF

c. XI needs to send back Socket response to HTTP as XI has

received data from HTTP Synchronously.

d. XI also needs to send back Socket response to File.

How to make this approach in XI using BPM.

Pls expain urgent

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181985
Active Contributor
0 Kudos

Hi RAC,

You have to use BPM.

One Rec step with Open S/A mode.

One Transformation Step (Interfacemapping), with in this mapping you will use Soket program in the UDF.

One Send Step for File, Asynchronous mode

One Send Step with Close S/A mode for HTTPResponse back.

You can use the same message for HTTPRespons which you are sending to File System.

Thanks,

Gujjeti

Edited by: Praveen Gujjeti on Apr 22, 2008 10:50 AM

Former Member
0 Kudos

Hi Praveen,

Steps in BPM I have done :

1. One Rec step with Open S/A mode.

Abstract Sync Message Interface for HTTP Request and

HTTP Response.

2. Transformation Step (Mapping in BPM)

HTTP Request and Socket Response

3. Fork Step -- Necessary Branch 2

4. Branch 1st --

a. Transformation Step(Mapping in BPM)

Socket Response and HTTP Response

b.One Send Step with Close S/A mode for HTTPResponse

back

5. Branch 2nd --

a. Transformation Step (Mapping in BPM)

Socket Response and File Response

b. One Send Step for File Response back.

Pls advice is it ok ?

Regards

Former Member
0 Kudos

Hi Praveen,

Basically that is Webservice Request and not File.

So HTTP resposne Interface and webservice resposne Interface are different.

That is why I require 3 Transformation steps.

HTTP Request --- Socket Response

Socket Response -- HTTP Request

Socket Response -- WebService Resposne

Regards

former_member181985
Active Contributor
0 Kudos

Hi RAC,

Fork is not required.

ReceiveStep(Open S/A Bridge)<->TransformationStep(HTTPRequest to FileStructure, with in this you are calling SOCKET program(UDF) to an application once you get that response assign that to file structure)>Send step(for file System, Synchronous)<-> Send Step(Close S/A Bridge; for HTTP Response, use same message which you are sending it to FileSystem as it holds SocketResponse)

Thats all

Thanks

Gujjeti

former_member181985
Active Contributor
0 Kudos

Hi

RAC give me a line diagram of your requirement

below that brief each System How you want to send and receive.

Thanks

Gujjeti