|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Creation of Client Proxy (Consumer Proxy) for a Web Service
following screen appears.
on the complete button.
clicking on the complete button the following pop-up appears asking for filling
the user id and password.
user id and password is of that system in which web service exists. (Permission
to use the web service of another system).
the user name and the password and Click on the OK button.
following screen appears and the proxy is created.
and activate the proxy. This Proxy is nothing but a class which exists in SE24.
name of the proxy is always like this: Consumer Proxy Prefix + CO + Name of the
we open the class in SE24 it looks like this.
ZWS_FM is our RFC FM for which we have created a client proxy.
to T-Code ‘SOAMANAGER’ and give the name of the Client Proxy which you have
created. (In the search by drop down select Consumer proxy).
Selection and go to configuration tab to create the Logical Port.
the logical port name and its description.
for WSDL Access: WSDL of the web service
the user name and the Password of the system in which web service exists and
click on apply settings.
Following Screen Appears.
on save button. The binding for the web service activated.
Create an Executable program and write the following code to call the RFC FM.
an object of the proxy class and provide the name of the Logical Port.
call the RFC function module with the help of that object.
DATA: lo_object TYPE REF TO ZPROXY_CO_ZWS_SUM
input = ls_input
This client Proxy object calls the RFC FM (The RFC
Function Module which is made in SYSTEM-1) .The Output of the Method can be used
for further processing.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards