Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

logical port error in SOAMANAGER

Madjid
Participant
0 Kudos
2,182

Hello for all developers

i add new proxy for use external web server in "abap", and create a logical port in SOAMANAGER tcode , but when test it this error display .

Someone has had an experience solving this problem

thank you

7 REPLIES 7

Sandra_Rossi
Active Contributor
0 Kudos
1,791

Read SAP note 1947516 - SOAMANAGER Ping Web Service returns HTTP error (excerpt: "The below error codes may indicate correct execution (depending on the actual case): RC=400, ...")

nick_giannakis
Explorer
0 Kudos
1,791

Does the proxy work by calling the actual operations?

By testing the proxy with ping button you actually sends a HEAD request. The service on the other side might not handling that requests and that's why you see such an error while testing.

Madjid
Participant
0 Kudos
1,791

Thank you for your response

the error raise from policy of web service the "EndorsingSupportingTokens" does not supported in sap

do you know how to fix it ?

ArthurParisius
Contributor
0 Kudos
1,791

While I don't know how to solve the issue. I have to mention that I have the same issue with proxy I created.

However even with this error, if I use the proxy in my code the webservice is working as it should.

Madjid
Participant
0 Kudos
1,791

how to use it without mention Port? before call a method of proxy we must be create an object with logical port . for example

DATA: proxy   TYPE REF TO ZTRN1CO_ITRNSERVICE .
TRY.
 CREATE OBJECT proxy
    EXPORTING
      logical_port_name = 'LPORT1'.

CATCH cx_ai_system_fault .
ENDTRY.

ArthurParisius
Contributor
0 Kudos
1,791

To use it without mentioning the port make sure to set it as the default port.

Madjid
Participant
0 Kudos
1,791

the port is set to default.

through port we can send and receive message. when it is not accessible i can not send parameter to web service method