on 02-07-2008 2:24 PM
Hi All
I have a scenario where I have to make synchron connection to a http receiver and get the answer
the scenario is that , a file scenario sends a question to the web adresse and waits for the answer , ok or not ok.
in this case do I have to create 2 synchron interfaces one outbound and one indbound , right.
Outbounf synchron interface for the file system
Reqout
Respout
Indbound synchron interface for the http system
Reqin
Respin
The mapping should be
Rqqout -
> Reqin
Respin -
 Respout
Plz tell med if I am doing it right.
How many communication channels and receiver determinations do I need
Best regards.
Hi All
Thanks for the good answers, but it seems that the suggestion of Raj is worth trying
But I will refer to point 4 int the blog
4. We need to add a few modules in the Sender File Adapter.
Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
Number - ModuleName - Type - ModuleKey
code1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3[/code]
Parameters
ModuleKey - ParameterName - ParameterValue
code1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System[/code]
How can I get those modules to put in the File adapter under module tab , do I just have to add it as it mentioned in the blog.
Thank you once again.
Camilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Camilla,
Yes , just enter the modules as mentioned by Bhavesh.
Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System
raj.
Hi Raj
I have designed the scenario according to the suggested weblog .
I have added the following under the module tab
communication channel cc_send_to_xtl
sender service Fileadapter
1 AF_Modules/RequestResponseBean Local Enterprise Bean 1
2 CallSapAdapter Local Enterprise Bean 2
3 AF_Modules/ResponseOnewayBean 3
1 passThrough true
3 receiverChannel cc_receive_from_xtl
3 receiverService FileAdapter
The strange thing is that the file is not being picked up by the channel , but when I remove the lines parameters from the module tab , the the file gets picked up and off course it shows error i sxi_monitor.
Am I doing any thing wrong in the module tab.
my best regards.
camilla
Hi Raj
It is really well written, with detailes and screen prints.
but I still do not know why the file does not be picekd up from the folder by the file adpater when I am using the suggested modules .
any way thanks for the good blog and keep on the good work.
you will get maximum point from me.
regards camilla.
Hi cimalla,
file adapter is incapable of working in synchronous mode.
so in your case u have to go to BPM.
u have to create two asynchronous interfaces for file and one syn interface for Http.
regrads,
pradeep A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please look at this blog: /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
Best regards,
VoyTech
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Camilla, I don't understand you requirement.
So you have file, want to send it to HTTP and wait for the response? What do you want to do with the response message?
Well, if it is just File->HTTP, 1 synchronous interface is enough (but I don't understand the response... there is no way how file sender could process it)
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.