Test your first ODATA Service

1
11409

After modeling, implementing and registering the service in SAP Netweaver gateway. Now the service is ready for use we can test the service.

1. To test the service, open /IWFND/GW_CLIENT – SAP Netweaver Gateway Client transaction.

test12. Enter the service name and add $metadata at the end and Execute.

test23. Metadata of the service will be retrieved and the “HTTP Response will be 200”.

test34. Now enter the service name and add Entity Set name. List of sales order will be retrieved in the form of XML format.

5. If you want to retrieve data of one Sales Order #, append the Sales Order# to the service and execute.

test5

To retrieve the data of a single Sales Order# we need to implement the method GetEntity (Read) of the service. Click here

Please stay tuned to us for more SAP Netweaver Gateway/OData tutorials.Please feel free to comment and let us know your feedback. You feedback will keep us alive.

like-128