Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
How to configure HTTP communication by using a Dialog program ?
Nawneet Adarsh
post Feb 22 2009, 06:10 AM
Post #1


Visitor
*

Group: Members
Posts: 1
Joined: 22-February 09
Member No.: 342


Can you tell me how to use HTTP integration with a dialog program? I tried using the sample MBCs present in the examples folder but cant make them available for selection even after registering them in component registry. It doesnt coming out to be selected in HTTP TA or HTTP send method.

Go to the top of the page
 
+Quote Post
seeloy
post Feb 23 2009, 03:00 PM
Post #2


Visitor
*

Group: Members
Posts: 2
Joined: 6-November 08
Member No.: 90


Dialog programs must implement the IMBC_COMMON and IMBC_HTTPDIALOG modules.

You can achieve this by:

* compiling like
c4edi dialogprogram.s4 %CORE_ROOT%\4edi\lib\mbc_common.s4 %CORE_ROOT%\4edi\lib\mbc_httpdialog.s4m

or

* adding the following lines in your dialog program code to force implementation of the modules:

DECLARE MODULE INTERFACE MBC_HTTPDIALOG { }
DECLARE MODULE INTERFACE MBC_COMMON { }

After compiling and registering, the dialog program should be selectable in the HTTP TA Adapter Task.
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins