Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Consuming WebServices in ABAP WebDynPro via webservice proxy code


My requirement is to consume a webservice using WSDL(basic authentication) in WebDynPro ABAP. then based on the SOAP response I need to show a pop up message whether the response valid or not.?

I first tested the webservice by creating LPCONFIG Logical Port and generated WebService Proxy class.

It got response correctly with basic authentication enabled each time I send a request.

Secondly I generated webservice proxy code using service calls on creating webdynpro test application with some UI elements. Service call created Nodes,attributes and method correctly.

it's giving me error when it tries to invoke webservice method through generated code.

Question is that How do we code authentication to the webservice method via WebDynPro ABAP code.

I appreciate anyone who worked on this area and taken basic authentication via coding. or worked successfully through coding.





Refer this:

It might be usefull for u.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question