Creation of Webservice using NWDS:
This blog explains:
Software Prerequisite:
Install Netweaver Development Studio in system.
To create web service in Netweaver Development Studio (NWDS) by following steps:
Step1:
Creating Dynamic web project in NWDS
Go to New -> project -> Others -> Web Application -> Dynamic Web Applications
Step 2:
Create java class file and write methods
Step3:
Right click the java file, select web services -> create web service.
Web service type will be “Bottom up Java bean web Service, Service implementation will be the java file which you want to create web service.
Step 4:
Select Server hyperlink it open the following window, in that select “SAP Server” ->OK.
Step 5:
Select Web service Runtime hyperlink it opens following window, select “SAP server”
Step 6:
Click “Next” button.
Step 7:
Enter service name and click “Next” button.
Step 8:
Check the correct method name display in Method selection window, if yes click “Next” button.
Step9:
Build Archive file or ear file, Give user name and password for deploying ear file in server.
After published ear successfully in server will get alert message “Deployed completed successfully.
Step10:
Click “Finish” to complete the web service creation in NWDS.
Step1:
Open the http://Testxidev:50000/index.html page in web browser.
Click “Web Service Navigator”
Step2:
Enter user name and password.
Step3:
Enter the service name in Select service text box and click filter simple, if your service name available clicks the service name.
Step4:
Window open with web service method names contains WSDL URL for web service
Step 5:
Select the method name and open the “Enter input Parameters screen”, enter the values for the methods.
Press “Execute” method to execute the web service, after execution it open result window to display the web service details.
Step1:
Open: http://Testxidev:50000/nwa
Step 2:
Press Tab Availability and Performances Management.
Click Log Viewer.
Step 3:
In show dropdown list select Custom view, Select Create new View.
Step4:
For filtering log file select the “Filter by Content” option, select the path as “/Applications/WebServicesCategory”.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |