Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all articles
Browse latest Browse all 1056

Consumer Web service not getting the response back from provider

$
0
0

Hello Gurus,

 

I am new to ABAP Webservices. I have created a web service consumer in SAP and I am trying to access the webservice of a 3rd party interface.

 

I loaded the WSDLfile provided by them and created a consumer proxy using wizard and logical port using transaction LPCONFIG.

 

I created a HTTP connection to External server in SM59 and the connectivity to the external system works fine.

 

When I tried to test the webservice using the proxy I don't get a response from the External service provider.

 

Code Attached Below

 

* proxy stuff

 

TRY.

* CREATE proxy using the SM59 HTTP entry

 

CREATE OBJECT proxy

EXPORTING

     logical_port_name = 'ZICL_PORT'.

CATCH cx_ai_system_fault INTO ex_ref.

ai_system_fault = ex_ref->get_text( ).

ENDTRY.

 

IF ai_system_fault IS INITIAL.

TRY.

 

 

CALL METHOD proxy->xx_update_xxxx

EXPORTING

     input = input

IMPORTING

     output = output.

CATCH cx_ai_system_fault INTO ex_ref.

          ai_system_fault = ex_ref->get_text( ).

CATCH cx_ai_application_fault INTO ex_ref.

          ai_application_fault = ex_ref->get_text( ).

ENDTRY.

 

When I test the webservice directly from the class or from my program I do not get any response on the output structure. However my message reaches the destination and they are responding my message.

 

I debugged the standard SAP code and found the message appearing in XML format on the method GET_HTTP_HEADERS of class CL_SOAP_HTTP_TPBND_ROOT. However the message from the service provider does not appear on the output structure.

Could I request you experts to let me know what the issue could be and how to get this fixed.

 

Your help Highly appriciated,

 

Many thanks in Advance,

 

Regards,

 

Shiva.


Viewing all articles
Browse latest Browse all 1056


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>