cancel
Showing results for 
Search instead for 
Did you mean: 

Logical Port for Client Proxy

10-11-2013 8:22 AM
markbernabe Active Participant
1854 views 7 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi,

We have a client proxy scenario. When the ABAP guys are creating the instance of the method for the logical port, their question is what value is going to be assigned to that port? Is that the PI destination?

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

markus_schalk
Participant
0 Likes

Dear Mark,

i guess you want to do point-to-point communication, and therefore you need to use a HTTP-destination which points to your web-service and this has to be used within the logical port (Tx LPCONFIG).

Best regards,

Markus

markbernabe
Active Participant
0 Likes

Hi Markus,

It's actually ABAP Proxy-File scenario.

markangelo_dihiansan
Active Contributor
0 Likes

Hello Mark,

In our client proxy code, we only specify an exporting parameter if there is a need to send your request to another Integration Server e.g

CREATE OBJECT prxy

       EXPORTING

         logical_port_name = 'LP_XXXX'.

Otherwise, CREATE OBJECT prxy. is okay and will send the request to the Integration Server that is configured in SXMB_ADM.

Regards,

Mark

markus_schalk
Participant
0 Likes

Hi Mark,

AFAIK you do not need a logical port then. Just call the proxy method that's it.

Regards,

Markus

markbernabe
Active Participant
0 Likes

Hi Mark,

I see.

So in this is the sample code:

TRY.

          CREATE OBJECT lr_class

           EXPORTING

            logical_port_name = lv_port

           .

CATCH

ENDTRY.

The EXPORTING part is not necessary any more as it will automatically send the request to the configured integration server in SXMB_ADM?

markangelo_dihiansan
Active Contributor
0 Likes

Yes, that is correct unless you have more than one integration server and you want the message to be sent to the one not in sxmb_adm.

Answers (1)

Answers (1)

Former Member
0 Likes

Goto SOAMANAGER transaction and perform the required settings for client proxies.

Best Regards

Harald