Configuring The Web Service Client in The SAP NetWeaver Administrator
Configuring The Web Service Client in The SAP NetWeaver Administrator
During the design time and at a later stage during the runtime you have configured the Web service to use
basic authentication. To consume the Web service, during the runtime, you have to configure a logical port
to the Web service client. Configuring the logical port of the Web service client, you provide username and
This procedure enables you to create configuration at runtime using the smart SOA configuration
application. You apply the configuration described in this procedure to only one consumer, however if you
Procedure
1. Open the SAP NetWeaver Administrator in a web browser by entering the following address.
http://localhost:<port>/nwa
You can construct <port> by the formula 5 + NN + 00, where NN is the number of the Java
instance.
Prepare a communication profile to establish a connection to the provider system on which the Converter
choose Next .
5. On the Security step, on the Authentication area, select only User Name/Password (Basic) and
d. Choose Next .
3. On the Metadata User step, enter your credentials to access the provider system and then
choose Next .
4. On the Communication Profile step, choose the following button , and then from the Choose
5. Choose Next .
7. Choose Finish .
You have to configure a user account specifying the credentials with which you want to consume the
Management .
a. Choose New .
b. In the Name field, enter ConverterAccount , and then choose Next .
c. In the Username, Password and Confirm Password fields, enter the administrator's
d. Choose Finish .
4. On the Assignment tab, proceed as follows:
a. Choose New .
b. On the User Account step, choose the following button , and then from the Choose
c. Choose Next .
d. On the Provider step, choose the following button , and then from the Choose Provider
5. Choose Finish .
To create a logical port for the consumer application and thus consume the Converter Web service, you
Configuration .
3. In the Search field, enter com.sap.tutorial/c onverter webear and
choose Go .
4. From the result table, choose the consumer application, and then choose Edit .
choose com.sap.tutorial.javaee.servicegroup.ConverterBeanPort.ConverterServiceGroup .
7. From the Assign Provider System dialog box that opens, choose LOC on localhost and then
choose OK .
8. Choose Save .
Next Step
procedure is optional and you can use it to preview system calls to the Converter Web service.
Procedure
1. Open the SAP NetWeaver Administrator in a web browser by entering the following address.
http://localhost:<port>/nwa
You can construct <port> by the formula 5 + NN + 00, where NN is the number of the Java
instance.
http://<host>:<port>/nwa/log-config
3. In the Show field, choose Tracing Locations , and then choose Go .
4. In the Tracing Locations table, choose com sap engine services webservices .
Note
Increasing the severity level may impact the performance of the system. We recommend that you
Procedure
1. Open the Web service client application in a web browser, by entering the following address.
http://localhost:<port>/
com.sap.tutorial~converterwebclient/ConverterServlet
You can construct <port> by the formula 5 + NN + 00, where NN is the number of the Java
instance.
2. In both fields of the client application, enter positive integer values which you want to convert.
3. Choose Convert .
Next Step
You use logs and traces to locate and examine a problem behavior of the Web services.
Prerequisites
You increased the severity level of the Web service. More information: Setting Severity to Web Services
Procedure
1. Open the SAP NetWeaver Administrator in a web browser, by entering the following address.
http://localhost:<port>/nwa
You can construct <port> by the formula 5 + NN + 00, where NN is the number of the Java
instance.
Administration .
The system displays all calls to the Web service invoked by the Web service client.