Skip to Content

Consuming external web service - Via SE80 vs in application using create object

Hello experts,

I am facing a strange situation. I want to consume an external web service. I created the consumer proxy using the underlying WSDL file and, then, I use SOAMANAGER to create the logical port. In logical port definition I specify username and password because the invoked service requires it.

When I test the proxy via se80 using the appropriate logical port I am able to call a service's method without problem. In SRT_UTIL log I get a green light.

But when it comes to create the proxy class in an application it raises an exception when executing the statement create object <type ref to proxy class>.

data: lv_logport_2 type prx_logical_port_name VALUE 'ZUNICO_ITTPMESWS_2'.

create object lv_proxy
logical_port_name = lv_logport_2.

I attach the corresponding srt_util logs for both successful and un-successful cases. The un-successful case raises an exception at the point

CL_WS_SECURITY_PROTOCOL raises exception CX_SOAP_TX_HANDLER "Registration not allowed in end handling of LUW"

Kind regards,


successful.png (178.0 kB)
unsuccessful.png (179.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers