on 04-22-2008 9:35 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.