2019 Jun 16 6:53 AM
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
2019 Jun 16 7:49 AM
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, ...")
2019 Jun 16 9:37 PM
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.
2019 Jun 18 12:44 PM
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 ?
2019 Jun 18 12:49 PM
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.
2019 Jun 18 12:58 PM
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.
2019 Jun 18 1:28 PM
To use it without mentioning the port make sure to set it as the default port.
2019 Jun 18 2:11 PM
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